Support » Plugin: Yoast SEO » Fatal Error after updating to Yoast 14.1

  • Resolved timlumsden

    (@timlumsden)


    Hi everyone,

    Hoping someone can help! I’ve updated Yoast SEO to 14.1 and I’m getting a fatal error:

    An error of type E_ERROR was caused in line 506 of the file /home/website/public_html/wp-content/plugins/wordpress-seo/wp-seo-main.php. Error message: Class ‘WPSEO_Register_Capabilities’ not found

    Has anyone encountered this before and does anyone know how to fix it?

    Cheers,

    Tim

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

    I came across the same issue while updating the plugin yesterday. I had to deactivate the plugin.

    Following this thread. If anyone can help.

    Plugin Support Michael Tina

    (@mikes41720)

    Hi @timlumsden @kaptelneha23

    We apologize for any issues that you may have encountered when updating the Yoast SEO plugin. We’d like to try and help you get this sorted out.

    Can you confirm you’re using the latest version of WordPress 5.4.1 and that all of your other plugins and themes are up to date? Could you also let us know if you updated it using the WordPress admin dashboard or if you used another tool or method? Did you update from v13.5 TO v14.1, or did you update from v14.0.x to v14.1?

    Could you please try to follow the steps below and see if you are able to update the plugin successfully:

    Hi, the update also caused a fatal error.
    WordPress 5.4.1
    Everything up to date.
    Upgrade from 14 to 14.1 from the desktop
    PHP 7.4 (change doesn’t help).
    New wordpress-seo folder uploaded.
    Only disabling the Yoast SEO plugin solves the problem.

    Fatal error: Uncaught Error: Object of class Yoast\WP\SEO\Presentations\Indexable_Post_Type_Presentation could not be converted to string in /wp-content/plugins/events-manager/em-events.php:243 Stack trace: #0 /wp-includes/class-wp-hook.php(287): em_content_wp_title(‘Events &#89…’, Object(Yoast\WP\SEO\Presentations\Indexable_Post_Type_Presentation)) #1 /wp-includes/plugin.php(206): WP_Hook->apply_filters(‘Events &#89…’, Array) #2 /wp-content/plugins/wordpress-seo/src/presenters/title-presenter.php(58): apply_filters(‘wpseo_title’, ‘Events &#89…’, Object(Yoast\WP\SEO\Presentations\Indexable_Post_Type_Presentation)) #3 /wp-includes/class-wp-hook.php(287): Yoast\WP\SEO\Presenters\Title_Presenter->get_title(”) #4 /wp-includes/plugin.php(206): WP_Hook->apply_filters(”, Array) #5 /wp-incl in /wp-content/plugins/events-manager/em-events.php on line 243

    • This reply was modified 11 months, 4 weeks ago by matthew99.
    Thread Starter timlumsden

    (@timlumsden)

    Hi Micheal,

    Thanks for your suggestions. The plugin was updated using MainWP from v14.0 to v14.1.

    I’ve since actioned what you suggested and the error has been resolved.

    Thank you for your help – much appreciated!

    Same problem at http://www.lasterrenasrealestate.com. After upgrading huge problems. Latest wordpress version, everything up to date.
    update to 14.1

    Yesterday total crash. So recovered everything from my vps from 1 week ago. With old yoast version everythin ok. Then i upgraded again to 14.1 and less problems. Nut homepage is gone.

    Plugin Support marcanor

    (@marcanor)

    Hi @matthew99 ,

    Are you using the Events Calendar plugin? If so, the have released a fix for this in their plugin, in developer version 5.9.7.5. You can find more information here.

    @tonydomrep Sorry to hear you are having issues on your site with the latest update. Have you tried the instructions here? If so, can you create a new thread with more information about what exact error you are getting?

    • This reply was modified 11 months, 4 weeks ago by marcanor.
    • This reply was modified 11 months, 4 weeks ago by marcanor.
    Moderator Steven Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Volunteer

    @tonydomrep, If you need support then per the forum guidelines please start your own topic.

    A lot more people will see your post, and that way you stand a good chance of getting the assistance you want. Despite any similarity in symptoms, your issue is likely to be completely different because of possible differences in physical servers, accounts, hosts, plugins, theme, configurations, etc. Thus one problem, on one setup is not indicative of the functionality and reliability of an application as a whole: https://wordpress.org/support/forum-user-guide/faq/#i-have-the-same-problem-can-i-just-reply-to-someone-elses-post-with-me-too

    and: https://wordpress.org/support/guidelines/#post-in-the-best-place

    You can do so here: https://wordpress.org/support/plugin/wordpress-seo/#new-post

    I’ll be archiving your post and mine to not spam the original poster and detract from their question.

    Thanks.

    Thank you @marcanor
    Problem solved 😉

    Plugin Support devnihil

    (@devnihil)

    @matthew99 Thanks for confirming that your issue has been corrected. We are going ahead and marking this issue as resolved.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Fatal Error after updating to Yoast 14.1’ is closed to new replies.