Support » Plugin: Yoast SEO » Fatal Error after upgrading Yoast Plugin

  • Resolved Ramzii


    Fatal error: Class ‘WPSEO_OpenGraph_OEmbed’ not found in /var/www/ on line 129


    Turning the plugin off didnt do anything…

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support amboutwe


    This error typically means the file is missing (incomplete install/upgrade), an old file is cached by the server/browser, or there is a conflict with something else on your site.

    Please provide the answers to the following:

    1. Have you performed a conflict check? If not, please do so. Did you discover a conflict?
    2. Does the issue occur when using a default theme with only Yoast SEO active?
    3. Does the issue occur with the current 4.9.8 version of WordPress?
    4. Does the issue occur with the current 9.2.1 version of Yoast SEO?
    5. Is the issue specific to a certain part of your site, like posts, products, categories, etc?

    Hi, thanks for the quick reply.

    All I did was upgrade to 4.9.1.

    I then disabled, downgraded back to 4.9 and even did a manual upgrade to 4.9.1. All didn’t help. Which I find odd. Since my testing environment is basically broken now.

    Is there a way to prevent this from happening? I dont feel at ease upgrading any other sites to 4.9.1 now.

    1. No
    2. No
    3. Yes
    4. Yes
    5. No, the entire site.

    Thank you.

    Another site i updated to 4.9.1. also made it break. Deactivating Yoast helped. I wont activate it again until you resolve this. Please update on whats going on. Other users are complaining too.



    Version 4.9.1 is pretty outdated and it seems that you are trying to update to 9.2 or 9.2.1. PHP class WPSEO_OpenGraph_OEmbed is introduced in 9.2 – PR 11390 as you can see on github.

    It’s possible that you have an issue with OPcache because opcache.validate_timestamps is 0 or opcache.revalidate_freq is greater than couple seconds (default is 2). If it’s correct you will have trouble with any update and it’s highly recommended to flush OPcache at each update (contact your hosting for exact instructions). More details –

    As quick workaround, you could try to install plugin WP OPcache and flush OPcache before update and after update. I hope that will fix errors.

    This is the same exact error I’m having as well. This needs to be fixed!!

    Yes excuse me I updated from 9.2 to 9.2.1. Both sites I did the update to broke. They are both hosted at different environments.

    WP OPcache plugin unfortunately did not solve this issue. I never have issues with updates, updating Yoast SEO to 9.2 didnt break anything. 9.2.1 keeps breaking sites.

    Thank you.

    Plugin Support devnihil


    @ramzii Can you please whether this error occurs when you are using WordPress 4.9.8? Please know that if you are using an older version of WordPress such as 4.9.1 you may experience unexpected behavior with Yoast. This guide explains more:

    Thanks, i answered this earlier (amboutwe’s question 3). All my sites run on the lastest op wordpress.

    Plugin Support amboutwe


    This error occurs when your server caches files using object cache. Please clear the object cache after activating or updating the plugin. If you’re unsure how to clear object cache, please contact your webhost.

    Plugin Support amboutwe


    This thread has been marked as resolved due to lack of activity.

    You’re always welcome to re-open this topic. Please read this post before open a new request.

    Thanks for understanding!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Fatal Error after upgrading Yoast Plugin’ is closed to new replies.