• Resolved kristinubute

    (@kristinubute)


    Hi

    Have there been recent issues with WordPress SEO plugin ?

    I have had 3 clients now where the Yoast SEO plugin has caused issues with not being able to login to the website backend and errors.

    Fatal error: Uncaught Error: Call to undefined method stdClass::get_role_caps() in /home/public_html/domain.com.au/wp-content/plugins/wordpress-seo/admin/class-yoast-notification.php:285 Stack trace: #0 [internal function]: Yoast_Notification->has_capability(‘install_plugins’) #1 /home/public_html/domain.com.au/wp-content/plugins/wordpress-seo/admin/class-yoast-notification.php(262): array_filter(Array, Array) #2 /home/public_html/domain.com.au/wp-content/plugins/wordpress-seo/admin/class-yoast-notification.php(213): Yoast_Notification->match_capabilities() #3 /home/public_html/domain.com.au/wp-content/plugins/wordpress-seo/admin/class-yoast-notification-center.php(805): Yoast_Notification->display_for_current_user() #4 [internal function]: Yoast_Notification_Center->filter_notification_current_user(Object(Yoast_Notification)) #5 /home/public_html/domain.com.au/wp-content/plugins/wordpress-seo/admin/class-yoast-notification-center.php(689): array_f in /home/public_html/domain.com.au/wp-content/plugins/wordpress-seo/admin/class-yoast-notification.php on line 285

    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    I have NOT updated the plugin recently, so that is not what has caused it.

    What is causing this ?

    I’m going to have to go into via FTP and remove the plugin, to see it that let’s me back into the backend of the website.

    If someone could help would be great on what has caused this and how to fix it ?

    Regards
    Kristin

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @kristinubute,

    Thank you for reaching out. We are sorry to hear that you experience issues on a few sites using Yoast SEO.

    However, we are not aware of a related issue you are experiencing. The specific error you get Uncaught Error: Call to undefined method stdClass::get_role_caps() relates to a function we call get_role_caps which is part of WordPress. We are not sure why that would by undefined in your setup.

    We would like a little more information:

    A) Are all 3 sites running WordPress 5.5.1?
    B) Are all other plugin and themes on the sites up to date?
    C) Is the error you got on these sites exactly the same?
    D) Do you have any custom roles or any plugin on the site that does anything with user roles on your site?

    Thread Starter kristinubute

    (@kristinubute)

    Using Version 13.4.1
    No other options to upgrade

    Hi @kristinubute,

    You mean that you are using Yoast SEO 13.4.1 and you don’t see any update available? Are you using any hosted WordPress instance where you might have a customized user role that has no permissions to see available updates? If so, we encourage you to reach out to your host or partner which built the site to investigate why you don’t see an update to our latest version (14.9)

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Issues with website with Yoast SEO’ is closed to new replies.