johnbillion / query-monitor

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

LiteSpeed Cache conflict #770

Open meirs1 opened 1 year ago

meirs1 commented 1 year ago

With LiteSpeed plugin activated query-monitor doesn't show on the frontend. Deactivation of lightspeed solved that.

johnbillion commented 1 year ago

Can you provide some more information please? Are there any errors in your PHP error log? Are there any JavaScript errors in your browser console? Is the WordPress admin toolbar enabled on the front end?

meirs1 commented 1 year ago

Hey John, thanks for the quick response and sorry for my late one :)

I didn't get any PHP errors in the log, neither JS errors in the browser, and the frontend admin toolbar is enabled. Note that QM does show on the backend correctly, while on the frontend I have the QM menu shown and I can select items but no results shown on the bar itself (see attached screenshot). The check I made was quite simple: disabling Litespeed made QM show correctly on the FE, enabling it again made it disappear.

Screenshot 2023-06-15 at 15 10 54
meirs1 commented 1 year ago

Some more information: the bug occurs on both production and staging. I replicated exact same site on my local env (docker) in order to debug it but then QM works just fine. I guess that's because the docker image doesn't implement LiteSpeed.