• Resolved Romwrdp

    (@romwrdp)


    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+1

    Error 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Rumejan Barbarona

    (@onlyincebu)

    Hello!

    This typically happens when the plugin files are cached and some old files are still being used after updating the plugin. Sometimes this causes temporary errors that resolve themselves once the cache has been cleared.

    Btw, we’ve already released version 15.6.2 of Yoast SEO. Please update your plugin. Also, make sure that your WordPress and other plugins are up-to-date.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Uncaught TypeError after plugin update’ is closed to new replies.