• Resolved John

    (@jemoreto)


    Hello guys!

    Just to report this, I’ve updated QM now, and started getting fatal errors.

    Considering the PHP report, it’s related to Object Cache Pro. The site is hosted at Cloudways, so I can’t update Object Cache Pro directly via WP Admin.

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

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Thanks for the report. Unfortunately that particular version of OCP includes an incompatible signature for that method, which triggers the fatal error. The reason for this is the author of OCP proactively added support for an earlier beta version of QM 3.11, but the method signature has changed in the meantime.

    OCP 1.17 and later and OCP 1.15 and earlier are all compatible. I believe it’s just 1.16 which has this problem.

    @tillkruss can you confirm?

    Yeah, Object Cache Pro v1.17.0 added the return type that Query Monitor expects as of v3.11.0.

    This is Taylor Otwell’s quarrel with types in PHP ??</img>

    Thread Starter John

    (@jemoreto)

    Thanks guys! I’ll request this update on OCP with Cloudways.

    Cheers

    • This reply was modified 2 years, 1 month ago by John.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error with QM 3.11.1 and Object Cache Pro 1.16.3’ is closed to new replies.