• Resolved tanner2272

    (@tanner2272)


    Since updating to Yoast 16.1 I have received an automated email:

    Your Site is Experiencing a Technical Issue.

    In this case, WordPress caught an error with one of your plugins, Yoast SEO.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.7
    Current theme: Landscaping Child (version )
    Current plugin: Yoast SEO (version 16.1)
    PHP version 7.3.27

    Error Details
    =============
    An error of type E_ERROR was caused in line 47 of the file /home/sites/15a/9/97aebf3b0f/public_html/wp-content/plugins/wordpress-seo/src/helpers/image-helper.php. Error message: Uncaught ArgumentCountError: Too few arguments to function Yoast\WP\SEO\Helpers\Image_Helper::__construct(), 1 passed in /home/sites/15a/9/97aebf3b0f/public_html/wp-content/plugins/wordpress-seo/src/generated/container.php on line 1799 and exactly 2 expected in /home/sites/15a/9/97aebf3b0f/public_html/wp-content/plugins/wordpress-seo/src/helpers/image-helper.php:47
    Stack trace:
    #0 /home/sites/15a/9/97aebf3b0f/public_html/wp-content/plugins/wordpress-seo/src/generated/container.php(1799): Yoast\WP\SEO\Helpers\Image_Helper->__construct(Object(Yoast\WP\SEO\Repositories\Indexable_Repository))
    #1 /home/sites/15a/9/97aebf3b0f/public_html/wp-content/plugins/wordpress-seo/src/generated/container.php(926): Yoast\WP\SEO\Generated\Cached_Container->getImageHelperService()
    #2 /home/sites/15a/9/97aebf3b0f/public_html/wp-content/plugins/wordpress-seo/src/generated/container.php(730): Yoast\WP\SEO\Generated\Cached_Container->getIndexableLinkBuilderService()
    #3 /home/sites/15a/9/97aebf3b0f/public_html/wp-content/plugins/word`

Viewing 2 replies - 1 through 2 (of 2 total)
  • @tanner2272 We’re sorry to hear you are experiencing this issue on your site.

    Looking at the error details, this can sometimes occur when 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) before and after updating Yoast SEO? 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.

    Thread Starter tanner2272

    (@tanner2272)

    Hi, thanks for the reply. I have cleared the CDN cache and have now updated to 16.1.1.

    Since we hadn’t actually seen any errors or issues, we will assume that all is fine.

    Thanks.

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

The topic ‘WordPress Error with version 16.1’ is closed to new replies.