Taxonomy Removed, How to fix errors?

#463120
  • Resolved Guillermo Figueredo
    Rank Math free
    Content AI Starter

    I have the exact same problem is this old ticket:
    https://support.rankmath.com/ticket/attempt-to-read-property/

    I removed a taxonomy created with CPT, and after it has been removed… not I am getting the following errors:

    Warning: Attempt to read property “labels” on bool in /home/customer/www/canadamedlaser.awesomewebdesigns.ca/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/metabox/class-post-screen.php on line 418

    Warning: Attempt to read property “singular_name” on null in /home/customer/www/canadamedlaser.awesomewebdesigns.ca/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/metabox/class-post-screen.php on line 418

    Warning: Attempt to read property “name” on bool in /home/customer/www/canadamedlaser.awesomewebdesigns.ca/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/metabox/class-post-screen.php on line 419

    Warning: Attempt to read property “labels” on bool in /home/customer/www/canadamedlaser.awesomewebdesigns.ca/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/metabox/class-post-screen.php on line 420

    Warning: Attempt to read property “singular_name” on null in /home/customer/www/canadamedlaser.awesomewebdesigns.ca/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/metabox/class-post-screen.php on line 420

    Warning: Attempt to read property “rest_base” on bool in /home/customer/www/canadamedlaser.awesomewebdesigns.ca/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/metabox/class-post-screen.php on line 421

    Warning: Attempt to read property “name” on bool in /home/customer/www/canadamedlaser.awesomewebdesigns.ca/public_html/wp-content/plugins/seo-by-rank-math/includes/admin/metabox/class-post-screen.php on line 421

Viewing 8 replies - 16 through 23 (of 23 total)
  • Guillermo Figueredo
    Rank Math free
    Content AI Starter

    Hi,

    I just updated the credentials again for you. Thanks

    Guillermo Figueredo
    Rank Math free
    Content AI Starter

    Hi,

    Do you have any news about this? Thank you

    Hello,

    Thank you for sharing the login details. I logged into your site and added the following code on line 416 in seo-by-rank-math/includes/admin/metabox/class-post-screen.php file:

    
    if ( empty( $taxonomy ) ) {
    	return false;
    }
    

    This seems to have fixed the issue. Can you please confirm?

    I have also logged it as a bug and we’ll release an update soon with this fix.

    I hope that helps.

    Guillermo Figueredo
    Rank Math free
    Content AI Starter

    Thank you. Issue resolved.

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

    Hello,

    We just wanted to let you know that these warnings are also completely fixed in our main code repository.

    Thank you.

    Guillermo Figueredo
    Rank Math free
    Content AI Starter

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Thank you for your patience.

    Just a quick update that we have fixed this issue on one of our recent releases.

    Please update Rank Math & all other plugins, themes and WordPress to the latest version.

    The issue should be fixed.

    If not, please feel free to open a support topic or reply to this message and we will be more than happy to assist.

Viewing 8 replies - 16 through 23 (of 23 total)

The ticket ‘Taxonomy Removed, How to fix errors?’ is closed to new replies.