johnbillion / query-monitor

The developer tools panel for WordPress
https://querymonitor.com
GNU General Public License v2.0
1.58k stars 207 forks source link

Fatal Error when running alongside RedisCachePro #863

Closed seanford closed 4 months ago

seanford commented 4 months ago

NOTICE: PHP message: PHP Fatal error: Declaration of RedisCachePro\Extensions\QueryMonitor\ObjectCacheCollector::get_storage() must be compatible with QM_Collector::get_storage(): QM_Data in /var/www/html/public_html/wp-content/mu-plugins/redis-cache-pro/src/Extensions/QueryMonitor/ObjectCacheCollector.php on line 45

Hosted on Cloudways Autonomous. Updated to WP 6.5.2 and started getting the fatal error. Had to disable QM to get site back up.

Anyone else have this same issue?

johnbillion commented 4 months ago

It sounds like your site is using an older version of Object Cache Pro. You'll need to manually update it if it's a mu-plugin, or contact Cloudways for advice if it's bundled on the platform.

CC @tillkruss

tillkruss commented 4 months ago

This does sound a very old version of Object Cache Pro.

seanford commented 4 months ago

Thank you. I'll report to Cloudways as OCP is provided by them and I cannot update it myself.

johnbillion commented 4 months ago

Good luck!