• Resolved Blog2Social-Support

    (@blog2socialsupport)


    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 28

    PHP 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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @blog2socialsupport,

    Thanks for reaching out about the deprecation notices you found in your error log. When were they generated? Apart from the Yoast SEO Free, you also have Yoast SEO Premium. What version do you have?

    Thread Starter Blog2Social-Support

    (@blog2socialsupport)

    Free version, 2024-2-21

    Plugin Support Maybellyne

    (@maybellyne)

    The errors reference the Yoast SEO Premium and this forum is reserved for supporting the free version of Yoast SEO. So this thread has been marked as resolved per the forum guidelines.

    Please contact our support team for assistance if you have an active premium subscription. How can I get premium support?

    If you do not have an active premium subscription, you can either purchase a subscription or downgrade to the free version.

    Thread Starter Blog2Social-Support

    (@blog2socialsupport)

    Hello Maybellyne,

    this error referenced the Free version, 2024-2-21.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Deprecated’ is closed to new replies.