Support » Plugin: Rank Math SEO » “We detected new post type(s)” reappearing

  • Resolved Anax


    Hello and thanks for this wonderful plugin.

    I have the same problem reported elsewhere, the admin notice “We detected new post type(s) (member, portfolio, event), and you would want to check the settings of Titles & Meta page.” appearing constantly.

    I have tried the solutions you provided in other posts (reinstall plugin, clear transient data, clear wp/server caches) and the ajax calls are working normally. What else can I try?

Viewing 1 replies (of 1 total)
  • Plugin Author Rank Math



    Normally, dismssing the notice with the X, or going to the Titles & Meta settings page and saving it once should make the notice go away.

    Please access your database with a DB manager such as PhpMyAdmin, look for the rank_math_known_post_types option in the wp_options table, and check if its value contains the referenced post types (member, portfolio, event). If not, then please try adding them, either manually (make sure to insert the new value in a serialized form) or with a small piece of code:

    $types = get_post_types( [ 'public' => true ] );
    update_option( 'rank_math_known_post_types', $types );

    You can insert this code in the functions.php file of your theme or child theme. Then visit any page on your site, and finally, delete the code because it is only supposed to run once.

    Please let us know if the issue persists even after following the steps above. Thank you.

Viewing 1 replies (of 1 total)
  • The topic ‘“We detected new post type(s)” reappearing’ is closed to new replies.