Uncaught TypeError after plugin update
-
Hi,
Whenever there’s a new plugin version available and the plugin is updated, we’re getting the following error notification:
WordPress version 5.5.3
Current theme: Divi Child (version 2.7.5.1505662837)
Current plugin: Yoast SEO (version 15.5)
PHP version 7.3.24-3+ubuntu18.04.1+deb.sury.org+1Error Details
=============
An error of type E_ERROR was caused in line 24 of the file /nas/content/live/wfahqrs/wp-content/plugins/wordpress-seo/src/actions/indexing/indexable-indexing-complete-action.php. Error message: Uncaught TypeError: Argument 1 passed to Yoast\WP\SEO\Actions\Indexing\Indexable_Indexing_Complete_Action::__construct() must be an instance of Yoast\WP\SEO\Helpers\Indexable_Helper, instance of Yoast\WP\SEO\Helpers\Options_Helper given, called in /nas/content/live/wfahqrs/wp-content/plugins/wordpress-seo/src/generated/container.php on line 575 and defined in /nas/content/live/wfahqrs/wp-content/plugins/wordpress-seo/src/actions/indexing/indexable-indexing-complete-action.php:24
Stack trace:
#0 /nas/content/live/wfahqrs/wp-content/plugins/wordpress-seo/src/generated/container.php(575): Yoast\WP\SEO\Actions\Indexing\Indexable_Indexing_Complete_Action->__construct(Object(Yoast\WP\SEO\Helpers\Options_Helper))
#1 /nas/content/live/wfahqrs/wp-content/plugins/wordpress-seo/src/generated/container.php(1916): Yoast\WP\SEO\Generated\Cached_Container->getIndexableIndexingCompleteActionService()
#2 /nas/content/live/wfahqrs/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php(271):Basically, there are no issues with the site or front end or functionality, but this error keeps triggering on multiple sites and we noticed this when the plugin gets updated.
- The topic ‘Uncaught TypeError after plugin update’ is closed to new replies.