Error thrown

Call to undefined method RankMath\Post::get_simple_page_id()