Fatal error with yoast 17.1
-
Hi,
with the latest update we receive a lot of fatal error:
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Yoast\WP\SEO\Helpers\Language_Helper::__construct(), 0 passed in /var/www/html/wp-content/plugins/wordpress-seo/src/generated/container.php on line 2031 and exactly 1 expected in /var/www/html/wp-content/plugins/wordpress-seo/src/helpers/language-helper.php:19
Stack trace:
#0 /var/www/html/wp-content/plugins/wordpress-seo/src/generated/container.php(2031): Yoast\WP\SEO\Helpers\Language_Helper->__construct()
#1 /var/www/html/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php(271): Yoast\WP\SEO\Generated\Cached_Container->getLanguageHelperService()
#2 /var/www/html/wp-content/plugins/wordpress-seo/src/surfaces/helpers-surface.php(108): YoastSEO_Vendor\Symfony\Component\DependencyInjection\Container->get(‘Yoast\\WP\\SEO\\He…’)
#3 /var/www/html/wp-content/plugins/wordpress-seo/admin/class-admin-asset-manager.php(319): Yoast\WP\SEO\Surfaces\Helpers_Surface->__get(‘Language’)
#4 /var/www/html/wp-content/plugins/wor in /var/www/html/wp-content/plugins/wordpress-seo/src/helpers/language-helper.php on line 19We use php 7.4
- The topic ‘Fatal error with yoast 17.1’ is closed to new replies.