Support » Plugin: Yoast SEO » Critical error after updating to 16.8

  • Resolved heande

    (@heande)


    When I updated my site, I got the following error with Yoast SEO plugin. Please help, thanks!

    WordPress version 5.7.2
    Current theme: OceanWP Child (version 1.0)
    Current plugin: Yoast SEO (version 16.8)
    PHP version 8.0.7
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 50 of the file /home/u321795092/domains/liikunnanilosta.fi/public_html/wp-content/plugins/wordpress-seo/wp-seo.php. Error message: Uncaught Error: Failed opening required '/home/u321795092/domains/liikunnanilosta.fi/public_html/wp-content/plugins/wordpress-seo/wp-seo-main.php' (include_path='.:/opt/alt/php80/usr/share/pear:/opt/alt/php80/usr/share/php:/usr/share/pear:/usr/share/php') in /home/u321795092/domains/liikunnanilosta.fi/public_html/wp-content/plugins/wordpress-seo/wp-seo.php:50
    Stack trace:
    #0 /home/u321795092/domains/liikunnanilosta.fi/public_html/wp-settings.php(391): include_once()
    #1 /home/u321795092/domains/liikunnanilosta.fi/public_html/wp-config.php(79): require_once('/home/u32179509...')
    #2 /home/u321795092/domains/liikunnanilosta.fi/public_html/wp-load.php(37): require_once('/home/u32179509...')
    #3 /home/u321795092/domains/liikunnanilosta.fi/public_html/wp-admin/admin.php(34): require_once('/home/u32179509...')
    #4 /home/u321795092/domains/liikunnanilosta.fi/public_html/wp-admin/update-core.php(10): require_once('/home/u32179509...')
    #5 {main}
     thrown

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello Heande,

    We are sorry about that error you got after updating to the latest version of the plugin. Can you confirm that your WordPress dashboard is accessible? If yes, the error usually happens when the plugin files are cached and some old files are still used after updating the plugin. On occasions, this causes temporary errors that resolve themselves once the cache has been cleared.

    If the problem doesn’t resolve for you automatically, can you please try clearing the cache from your theme, plugin, server and CDN (e.g. CloudFlare)? If you are not sure how to clear the cache from a theme or plugin please speak to those authors. If you want to clear cache from the server, please speak to your host provider.

    Please let us know the results.

    Thread Starter heande

    (@heande)

    Thanks. When the error first appeared, I only got access to WP dashboard in “recovery mode” and then i was able to deactivate Yoast plugin. Emptying all caches didn’t make any difference. Now I cannot activate the Yoast plugin, because “it triggered a fatal error.”

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    In this case, we recommend you please remove the existing copy of the Yoast SEO plugin and reinstall a fresh one to see whether this resolves the issue for you.

    Thread Starter heande

    (@heande)

    Ok. I’ve done quite a lot SEO optimisation with the Yoast plugin (for example page keywords, titles, etc.) so if I reinstall it, do I lose all my previous work and settings?

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    All the SEO data is stored in the database. So, reinstalling the plugin won’t impact anything to the data that you already had.

    For your site’s health and safety, we recommend creating regular backups of your site and database. This is especially important before installing, updating, or removing plugins. Learn more about the benefits of regular backups.

    Thread Starter heande

    (@heande)

    Hi, thanks. Reinstalling did the trick! 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Critical error after updating to 16.8’ is closed to new replies.