Yoast PHP 8+ issues with language pages
-
We have a site that uses Yoast SEO (21.0) and TranslatePress (2.6.0) for multiple languages. After updating to PHP 8, two of our foreign language pages are returning 500 errors from the Yoast plugin. Below is the error from the logs:
PHP Fatal error: Uncaught ArgumentCountError: 3 arguments are required, 2 given in /nas/content/live/[oursite]/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-option-titles.php:257When we disable Yoast, everything works fine. Of, if we revert back to PHP 7.4, then we can re-enable Yoast.
Appreciate any guidance you can offer.
The topic ‘Yoast PHP 8+ issues with language pages’ is closed to new replies.