Warnings

#947740
  • Resolved Bucketlist
    Rank Math free

    Hi I’ve recently installed RankMath. I am getting these warnings on my site. I’ve checked what I can to resolve this but it’s not resolving the issue.

    Warning: Attempt to read property “singular_name” on null in /home/bucketl1/public_html/wp-content/plugins/seo-by-rank-math/includes/settings/titles/taxonomies.php on line 15

    Warning: Attempt to read property “labels” on bool in /home/bucketl1/public_html/wp-content/plugins/seo-by-rank-math/includes/settings/titles/taxonomies.php on line 15

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    We apologize for the issue you are facing with the warnings on your site after installing Rank Math. The warnings you mentioned typically indicate a problem with how the plugin is trying to access taxonomy properties that may not be set correctly.

    To resolve this issue, we recommend the following steps:

    1. Update Rank Math: Ensure that you are using the latest version of Rank Math. You can check for updates in your WordPress dashboard under Plugins.

    2. Check for Plugin Conflicts: Sometimes, other plugins can conflict with Rank Math. You can try deactivating all other plugins and see if the warnings persist. If they disappear, reactivate the plugins one by one to identify the conflicting plugin.

    3. Theme Compatibility: Ensure that your theme is compatible with Rank Math. You might want to switch to a default WordPress theme (like Twenty Twenty-One) temporarily to see if the issue resolves.

    4. Debugging: If you’re comfortable with debugging, you can enable WordPress debugging to get more detailed error messages. Add the following lines to your wp-config.php file:

      define( 'WP_DEBUG', true );
      define( 'WP_DEBUG_LOG', true );
      define( 'WP_DEBUG_DISPLAY', false );

      This will log errors to a debug.log file in your wp-content directory, which may provide more insight into the issue.

    If these steps do not resolve the warnings, please reply to this ticket, and a human agent from the Rank Math Support team will take over and assist you further. Thank you for bringing this to our attention!

    Sources:
    How to Fix Undefined Offset: 0 Warning » Rank Math

    Bucketlist
    Rank Math free

    I tried; I have now deactivated RANKMATH. If you’re able to assist please let me know so I can reactivate. Thank you.

    Hello,

    These warnings indicate that there’s a taxonomy on your website that is not properly returning an object when passed through the function get_taxonomy(): https://developer.wordpress.org/reference/functions/get_taxonomy/

    Please head over to WordPress Dashboard > Rank Math SEO > Titles & Meta and take a screenshot of the left tab that lists all post types and taxonomies so we can try to see which one could be failing.

    You can use any image-sharing tool like https://imgur.com/upload to share the screenshot with us.

    Looking forward to helping you.

    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 3 replies - 1 through 3 (of 3 total)

The ticket ‘Warnings’ is closed to new replies.