PHP Deprecated
-
We were no longer able to edit a number of posts in the blog. The log file contains the following entries, among others:
PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /is/htdocs/wp10990474_04E881TKKP/www/xxxx/blog/wp-content/plugins/wordpress-seo-premium/vendor/yoast/wordpress-seo/src/conditionals/third-party/elementor-edit-conditional.php on line 28PHP Deprecated: Return type of Yoast\WP\Lib\Model::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /is/htdocs/wp10990474_04E881TKKP/www/xxxxx/blog/wp-content/plugins/wordpress-seo-premium/vendor/yoast/wordpress-seo/lib/model.php on line 547
Our hoster has installed php 8.1.22-he.0.
It seems that yoast uses php functions that have expired in this php version. After deactivating yoast it works again without any problems.
When would there be an update to be able to run under the new php version as well?
- The topic ‘PHP Deprecated’ is closed to new replies.