• Resolved 1bmckots

    (@1bmckots)


    Hi, I am managing 20 sites. All of them use Yoast and different themes, and page builders. About 50% of my sites display a fatal error EVERY TIME I update to the new Yoast. This happens on sites with different themes, plugins, page builders. Please help:

    An error of type E_ERROR was caused in line 28 of the file /nas/content/live/nmbtrack/wp-content/plugins/wordpress-seo/src/helpers/wincher-helper.php. Error message: Uncaught ArgumentCountError: Too few arguments to function Yoast\WP\SEO\Helpers\Wincher_Helper::__construct(), 0 passed in /nas/content/live/nmbtrack/wp-content/plugins/wordpress-seo/src/generated/container.php on line 2908 and exactly 1 expected in /nas/content/live/nmbtrack/wp-content/plugins/wordpress-seo/src/helpers/wincher-helper.php:28
    Stack trace:
    #0 /nas/content/live/nmbtrack/wp-content/plugins/wordpress-seo/src/generated/container.php(2908): Yoast\WP\SEO\Helpers\Wincher_Helper->__construct()
    #1 /nas/content/live/nmbtrack/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php(271): Yoast\WP\SEO\Generated\Cached_Container->getWincherHelperService()
    #2 /nas/content/live/nmbtrack/wp-content/plugins/wordpress-seo/src/surfaces/helpers-surface.php(106): YoastSEO_Vendor\Symfony\Component\DependencyInjection\Container->get('Yoast\\WP\\SEO\\He...')
    #3 /nas/content/live/nmbtrack/wp-content/plugins/wordpress-seo/admin/class-admin.php(341): Yoast\WP\SEO\Surfaces\Helpers_Surfac
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello 1bmckots

    I am sorry to learn that you experience fatal errors whenever you update Yoast SEO. This could be caused by a variety of reasons. For instance, if you have other plugins or themes that are not up to date running.

    Often, we see problems occur in combination with another plugin or theme. The fastest way to rule out any conflict, is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Twenty.

    Please test this on your development or staging site, if you have one. If not, we recommend using the Health Check & Troubleshooting plugin. This plugin has a troubleshooting mode, which does not affect normal visitors to your site.

    If you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process: How to check for plugin conflicts

    If you do not feel comfortable to do this yourself or if this does not solve your issue, our Yoast SEO Premium plugin comes with one year of (technical) support.

    Thread Starter 1bmckots

    (@1bmckots)

    Thank you for the reply. All of our plugins and themes are very up to date. Is there someone in higher tier support that can review our error and give us a non-generic answer please? What you are suggesting is not realistic and doesn’t make sense here. This is a problem or bug with updating Yoast. There is no way that we could check plugins and themes one at a time for 20+ different websites just to update your plugin. Please help. This has been happening for several months across several different sites and we are close to just finding an alternative to Yoast at this point.

    Thank you.

    I’m getting the same error.

    An error of type E_ERROR was caused in line 28 of the file /nas/content/live/xxxxxxxx/wp-content/plugins/wordpress-seo/src/helpers/wincher-helper.php. Error message: Uncaught ArgumentCountError: Too few arguments to function Yoast\WP\SEO\Helpers\Wincher_Helper::__construct(), 0 passed in /nas/content/live/xxxxxxxx/wp-content/plugins/wordpress-seo/src/generated/container.php on line 2908 and exactly 1 expected in /nas/content/live/xxxxxxxx/wp-content/plugins/wordpress-seo/src/helpers/wincher-helper.php:28

    Everything is up-to-date. I’m also running PHP 8.0.17, WP 5.9.3, and newest version of Beaver Builder Pro and Theme.

    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi @areimann

    We are sorry you’re having a similar issue. Please open a new request. That way it’s easier to track issues and provide assistance. Thanks!

    Hi @1bmckots

    Did it occur on your site when updating to the latest version of Yoast SEO 18.6? As per the changelog, we do know that it fixes some bugs regarding the Wincher integration.

    Are you also actively using the Wincher integration on the site/s where this issue occurs?

    Thread Starter 1bmckots

    (@1bmckots)

    Hi Michael,

    No, I have never used the Wincher integration on any of our sites.

    Secondly, this has happened up with the upgrade to 18.6 on several sites, but as mentioned, it happens in ‘almost’ EVERY Yoast version upgrade that we implement, on several of our sites. There is no specific site or pattern that I can see that would lead me to believe it is a plugin or theme conflict. It clearly seems like a larger broader scale issue with Yoast in general and I see several people reporting the same errors.

    One solution I read by someone in your support was deleting Yoast and reinstalling every time there is an update. Is this a suggested fix? Will this cause any data to be deleted (meta tags, etc)?

    I would really appreciate more help here.

    Thank you.

    Plugin Support devnihil

    (@devnihil)

    @1bmckots Are you using any type of caching system for the sites, at the server level or through a 3rd party system such as Cloudflare?

    As for doing a complete reinstall every time there is an update, that wouldn’t cause any data or settings you created with the plugin to be lost as those are stored in the database and are independent of the plugin files.

    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.

    Thread Starter 1bmckots

    (@1bmckots)

    Hi, nothing specific with caching, our sites are all on WPEngine hosting and all of them use WordFence free version. Half of our sites use the Salient theme. The other half use Astra PRO + Elementor Pro. The problem happens across all sites.

    I did notice when updating to the latest Yoast 18.8 update, no errors occured but I’m skeptical because in previous versions I wouldn’t get an error then in the next release it would come back again.

    Thread Starter 1bmckots

    (@1bmckots)

    Hi, fatal error still happening. This time with updating to 19.0. Different site, different set of plugins and different theme.

    Error Details
    =============
    An error of type E_ERROR was caused in line 228 of the file /nas/content/live/XXXXX/wp-content/plugins/wordpress-seo/src/loader.php. Error message: Uncaught Error: Class 'Yoast\WP\SEO\Routes\Configuration_Workout_Route' not found in /nas/content/live/XXXXX/wp-content/plugins/wordpress-seo/src/loader.php:228
    Stack trace:
    #0 /nas/content/live/XXXXX/wp-content/plugins/wordpress-seo/src/loader.php(212): Yoast\WP\SEO\Loader->conditionals_are_met('Yoast\\WP\\SEO\\Ro...')
    #1 /nas/content/live/XXXXX/wp-includes/class-wp-hook.php(307): Yoast\WP\SEO\Loader->load_routes(Object(WP_REST_Server))
    #2 /nas/content/live/XXXXX/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #3 /nas/content/live/XXXXX/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
    #4 /nas/content/live/XXXXX/wp-includes/rest-api.php(561): do_action('rest_api_init', Object(WP_REST_Server))
    #5 /nas/content/live/XXXXX/wp-content/mu-plugins/wpe-cache-plugin/cache-db-settings.php(81): rest_get_server()
    #6 /nas/content/live/XXXXX/wp-content/mu-plugins/wpe-cache-plugin/cache-db-settings.php(142): wpengine\cache_plugin\C
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Fatal Error on several sites when updating Yoast’ is closed to new replies.