redis-cache icon indicating copy to clipboard operation
redis-cache copied to clipboard

Missing property in object cache class

Open danielvonmitschke opened this issue 7 months ago • 3 comments

In wp-activate.php it tries to disable any third party object cache by setting cache_enabled to false. This property does not exist in the redis object cache class und therefore throws a warning in PHP 8.2 about "Creation of dynamic properties".

To reproduce just use a default wordpress installation with redis object cache and PHP 8.2. Then go to http://yoursite/wp-activate.php and observe your log file.

(I actually don't know what wp-activate is for, but I saw it in my log file - just wanted to let you know)

danielvonmitschke avatar Jul 18 '24 07:07 danielvonmitschke