PHP 8.1 Compatibility
-
Do you know if Yoast SEO is now fully compatible with php 8.1?
Last time we tried, april 22, we faced the encountered the following error.?
Fatal error: Uncaught TypeError: Yoast\WP\SEO\Initializers\Disable_Core_Sitemaps::__construct(): Argument #1 ($options) must be of type Yoast\WP\SEO\Helpers\Options_Helper, Yoast\WP\SEO\Helpers\Options_Helper given, called in [...]/wp-content/plugins/wordpress-seo/src/generated/container.php on line 2948 and defined in [...]/wp-content/plugins/wordpress-seo/src/initializers/disable-core-sitemaps.php:38 Stack trace: #0 [...]/wp-content/plugins/wordpress-seo/src/generated/container.php(2948): Yoast\WP\SEO\Initializers\Disable_Core_Sitemaps->__construct() #1 [...]/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php(271): Yoast\WP\SEO\Generated\Cached_Container->getDisableCoreSitemapsService() #2 [...]/wp-content/plugins/wordpress-seo/src/loader.php(186): YoastSEO_Vendor\Symfony\Component\DependencyInjection\Container->get() #3 [...]/wp-content/plugins/wordpress-seo/src/loader.php(131): Yoast\WP\SEO\Loader->load_initializers() #4 [...]/wp-content/plugins/wordpress-seo/lib/abstract-main.php(43): Yoast\WP\SEO\Loader->load() #5 [...]/wp-content/plugins/wordpress-seo/src/functions.php(36): Yoast\WP\Lib\Abstract_Main->load() #6 [...]/wp-content/plugins/wordpress-seo/wp-seo-main.php(488): YoastSEO() #7 [...]/wp-content/plugins/wordpress-seo/wp-seo.php(50): require_once('...') #8 [...]/wp-settings.php(418): include_once('...') #9 [...]/wp-config.php(152): require_once('...') #10 [...]/wp-load.php(50): require_once('...') #11 [...]/wp-admin/admin.php(34): require_once('...') #12 [...]/wp-admin/plugins.php(10): require_once('...') #13 {main} thrown in [...]/wp-content/plugins/wordpress-seo/src/initializers/disable-core-sitemaps.php on line 38
Has thi been fixed since?
Thanks
- The topic ‘PHP 8.1 Compatibility’ is closed to new replies.