Closed philipjohn closed 2 months ago
Would be great to see this merged if possible to reduce a lot of chatter in the logs!
A different PR that fixes the same issue has since been merged: https://github.com/Automattic/wp-memcached/pull/149
Thanks for the PR @philipjohn, I apologise for the delay in feedback. It looks like these changes were merged in #149 and will be included in the 4.1 release via #162
In PHP 8.2, dynamically setting object properties that haven't been defined has been deprecated.
WP_Object_Cache
does this in several places, leading to a number of these notices.The solution is simple - we simply need to define those properties in the class.