PHP Warning – RankMath

#34390
  • Resolved Lucas
    Rank Math free

    Receiving PHP Warning from RankMath when performing searches using Geodirectory plugin. I had them look into this and received the following:

    “tracked PHP Warning and found that it is coming from Rank Math plugin file. PHP Warning is coming from WordPress function get_taxonomy_labels() which is called from file \xyz\wp-content\plugins\seo-by-rank-math\includes\admin\class-admin-bar-menu.php line no. 226

    Here is backtrace for the PHP Warning.

    – RankMath\Admin_Bar_Menu->add_menu() \xyz\wp-includes\class-wp-hook.php:288
    – RankMath\Admin_Bar_Menu->add_page_menu() \xyz\wp-content\plugins\seo-by-rank-math\includes\admin\class-admin-bar-menu.php:106
    – RankMath\Admin_Bar_Menu->add_taxonomy_menu() \xyz\wp-content\plugins\seo-by-rank-math\includes\admin\class-admin-bar-menu.php:181
    – get_taxonomy_labels() \xyz\wp-content\plugins\seo-by-rank-math\includes\admin\class-admin-bar-menu.php:226

    In file class-admin-bar-menu.php it does not validate the term object before calling get_taxonomy_labels() function and it results in PHP Warning.”

Viewing 6 replies - 1 through 6 (of 6 total)
  • Same issues I’m faced

    I’m waiting for your response

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I have alerted our dev team about this and we will be getting back to you in a short while.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Please. Fix issues quickly
    Thank you

    Lucas
    Rank Math free

    Tamilan Dot – FYI, you can hide the Warning message temporarily on the front end by adding the following to your wp-config file.

    /* Temp for RankMath and Geodirectory Issues */
    ini_set( ‘display_errors’, 0 );

    • This reply was modified 4 years, 1 month ago by Lucas.

    Hello,

    Please update the plugin to the latest version i.e v1.0.39.1.

    That should fix the issue.

    Hope that helps.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)

The ticket ‘PHP Warning – RankMath’ is closed to new replies.