• After upgrading to PHP 8.5, we are getting the following deprecation warnings:

    PHP Deprecated:  Using null as an array offset is deprecated, use an empty string instead in /{PATH}/wp-content/plugins/wordpress-seo/src/memoizers/meta-tags-context-memoizer.php on line 135

    PHP Deprecated: Using null as an array offset is deprecated, use an empty string instead in /{PATH}/wp-content/plugins/wordpress-seo/src/memoizers/presentation-memoizer.php on line 49

    PHP Deprecated: Using null as an array offset is deprecated, use an empty string instead in /{PATH}/wp-content/plugins/wordpress-seo/src/memoizers/presentation-memoizer.php on line 63

    PHP Deprecated: Using null as an array offset is deprecated, use an empty string instead in /{PATH}/wp-content/plugins/wordpress-seo/src/memoizers/presentation-memoizer.php on line 66

    PHP Deprecated: Using null as an array offset is deprecated, use an empty string instead in /{PATH}/wp-content/plugins/wordpress-seo/src/memoizers/meta-tags-context-memoizer.php on line 154

    PHP Deprecated: Using null as an array offset is deprecated, use an empty string instead in /{PATH}/wp-content/plugins/wordpress-seo/src/memoizers/meta-tags-context-memoizer.php on line 157

    I realize these warnings don’t affect functionality (yet), but they really fill up our error logs. A fix would be very appreciated!

Viewing 1 replies (of 1 total)
  • Hi @afwebdev

    Thank you for reporting this.

    The deprecation notices appear to be related to PHP 8.5 compatibility with the Yoast SEO plugin.

    Could you please try the following?

    Ensure you’re running the latest version of Yoast SEO (Version 28), as newer releases may include PHP 8.5 compatibility fixes.

    As a troubleshooting step, please switch your site to PHP 8.4 and check whether the deprecation notices disappear. This will help confirm whether the issue is specific to PHP 8.5 compatibility.

    Please let us know the results after testing.

    Thanks

    Nuhman Nathly

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.