Is there a message displayed in red at the top of the Queries panel regarding the db.php dropin? It may be that another plugin has put a db.php file in place and therefore information about the queries being run isn’t available to QM.
Thank you for your help.
I do see a note at the top of the Queries panel that says “Object Cache” followed by a link titled “External object cache in use”. The contents of the link are –
advanced-cache.php
Advanced caching plugin.
object-cache.php
Memcached Redux
External object cache.
The real Memcached (not Memcache) backend for the WP Object Cache.
Version 0.1.5 | By Scott Taylor – uses code from Ryan Boren, Denis de Bernardy, Matt Martz, Mike Schroder | Visit plugin site
db.php
Query Monitor Database Class
Custom database class.
I am guessing the third one is the problem. Is there any way to determine which of the plugins on our site is causing the problem?
LEt me ask my question this way. I can see the Query Monitor is extending the wpdb class to include statics. etc. What sort of conflict am I looking for in terms of other plugins? A different extension of the wpdb class perhaps?
Don’t see any messages in red in the Query Monitor menu or at the top of the detailed information displays.
Thanks. The problem I was looking for was if a plugin other than QM was utilising a wp-content/db.php file. It looks like that’s not the case.
There could be a problem with another dropin file. Which caching plugin(s) are you using on the site?
We are using WP Super Cache and DreamHost (our hosting service) runs a varnish cache. We use Cloudflare as our CDN. Also checked and the proper link to db.php is in place in wp-content.
You’re on DreamPress, so we actually DON’T recommend you use wp super cache (since that can cause caching latency headaches). That’s why we provided Varnish HTTP Purge for you 🙂 (NB: The varnish plugin doesn’t actually do any caching, it just tells Varnish when to flush a page’s cache).
Anyway. On DreamPress, you have Varnish and Memcached. You can disable memcached working with WP by renaming the object-cache.php file to object-cache.txt however that shouldn’t be a long term fix.
Thank you for the information and suggestion. I have removed WP Super Cache.
Not sure I know where object-cache.php is located. Can you help me with that? Thank you.
It’s in the folder wp-content, same level as plugins and themes.