There are many errors on our debug.log

#950087
  • Resolved Ken Billington
    Rank Math free

    PHP Warning: Attempt to read property “labels” on bool in /var/www/mydomain/wp-content/plugins/seo-by-rank-math/includes/settings/titles/taxonomies.php on line 15
    PHP Warning: Attempt to read property “singular_name” on null in /var/www/mydomain/wp-content/plugins/seo-by-rank-math/includes/settings/titles/taxonomies.php on line 15

    How can this issue be resolved?

    See attached Titles & Meta Screenshot:

    https://imgur.com/Bj9jEu0

    Please send me your email address & I will give you admin access to the back end.

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

    We apologize for the issue you are facing with the PHP warnings in your debug.log. The warnings you are seeing typically indicate that there is an attempt to access properties of a variable that is either null or false. This can happen if the taxonomy being referenced does not exist or is not properly registered.

    To resolve this issue, you can try the following steps:

    1. Check Taxonomy Registration: Ensure that all custom taxonomies are correctly registered in your theme or plugins. If a taxonomy is missing, it could lead to these warnings.

    2. Update Rank Math: Make sure you are using the latest version of the Rank Math plugin. Sometimes, updates include fixes for such issues.

    3. Disable Conflicting Plugins: Temporarily disable other plugins to see if there is a conflict causing this issue. If the warnings disappear, re-enable the plugins one by one to identify the culprit.

    4. Error Reporting: If you have access to your server’s error reporting settings, consider adjusting them to suppress warnings in production environments. This won’t fix the underlying issue but will prevent warnings from appearing in your logs.

    5. Review Code: If you are comfortable with coding, you can review the code in taxonomies.php around line 15 to add checks that ensure the variable is not null or false before trying to access its properties.

    If these steps do not resolve the issue, we recommend replying to this ticket with more details about your setup, and a human agent from the Rank Math Support team will assist you further.

    Thank you for raising this concern!

    Sources:
    This Plugin Does Not Work with Your Version of PHP » Rank Math

    Hello,

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

    You can use this email address to create temporary login access and then share the login URL in the sensitive data section so that we can check the issue further for you: s******@r***********

    Please do take a complete backup of your website before sharing the information with us.

    Sensitive Data Section

    It is completely secure and only our support staff has access to that section.

    You can also use the following plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

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

The ticket ‘There are many errors on our debug.log’ is closed to new replies.