• Resolved kim01

    (@kim01)


    I received the following message on a client’s website after updating to the latest version.

    WordPress version 5.4.1
    Current theme: Caseron Accounting (version 1.0)
    Current plugin: Yoast SEO (version 14.2)
    PHP version 7.3.17

    Error Details
    =============
    An error of type E_ERROR was caused in line 1593 of the file /home/caseron/public_html/wp-content/plugins/wordpress-seo/src/generated/container.php. Error message: Uncaught Error: Class ‘Yoast\WP\SEO\Loader’ not found in /home/caseron/public_html/wp-content/plugins/wordpress-seo/src/generated/container.php:1593
    Stack trace:
    #0 /home/caseron/public_html/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php(271): Yoast\WP\SEO\Generated\Cached_Container->getLoaderService()
    #1 /home/caseron/public_html/wp-content/plugins/wordpress-seo/src/main.php(81): YoastSEO_Vendor\Symfony\Component\DependencyInjection\Container->get(‘Yoast\\WP\\SEO\\Lo…’)
    #2 /home/caseron/public_html/wp-content/plugins/wordpress-seo/src/functions.php(26): Yoast\WP\SEO\Main->load()
    #3 /home/caseron/public_html/wp-content/plugins/wordpress-seo/wp-seo-main.php(341): YoastSEO()
    #4 /home/caseron/public_html/wp-includes/class-wp-hook.php(287): wpseo_init(”)
    #5 /home/caseron/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #6 /home/caseron/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #7 /home/caseron/public_html/w

    Is this a specific issue for this site and how would I correct it?
    The site is displaying correctly.

    Kim

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @kim01 ,

    We are sorry to hear about the issue you are having on your client’s website. This error is probably because the update couldn’t be completed. As a result of that, there are missing files and and as such, you’re seeing the relevant error. Therefore, we recommend you please manually re-upload the plugin using the following steps.

    Please note that by manually reinstalling the Yoast SEO plugin won’t lose any SEO data that you put into the plugin before. All the SEO data will remain the same as expected.

    1. For the health and safety of your site, 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.

    2. Deactivate and remove the existing version of Yoast SEO from your site.

    3. Download the latest Yoast SEO (14.2) plugin.

    4. Install it manually via FTP by following the steps here: https://yoast.com/help/how-can-i-update-my-free-plugin/#ftp.

    Let us know how it goes!

    This thread has been marked as resolved due to a lack of activity. You’re always welcome to re-open this topic.

    Thanks for understanding!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WordPress Recovery Alert – Yoast Error’ is closed to new replies.