Support » Plugin: Query Monitor » QM displaying on Login page

  • Only recently noticed that we’re getting a Query Monitor bar at the bottom of the wp-login page but not always. Twice I’ve noticed it when trying to access /wp-admin and my session has expired so I’m redirect to wp-login.
    I haven’t set the authentication cookie, so as far as I’m aware QM shouldn’t be displaying as I’m not logged in.
    We do run via cloudflare, but have a rule /wp-* bypasses cache. We also use redis object caching but I don’t think either are impacting. I can see the conditions:
    True Conditionals
    False Conditionals

    On the Request I can see:
    Queried Object

    Current User
    Current User: #1

    Request Data
    Remote IP {my ip address}
    HTTP method GET
    Requested URL https://www.{site}{site}
    * I’ve blanked out the site and IP.

    I’ve tried to replicate it by logging out but the bar seems to then not be there, so I guess logout is clearing a cookie or something while an expired session isn’t.
    I don’t really know where to start to make sure that’s the case.
    IF it’s only displaying because I was an admin logged in then I can live with it, in fact it may be handy. but concerned if it’s cached somewhere that it may be displaying to others. I’ve looked through the info and there’s nothing really bad, plugins, table names, etc that we’d prefer not broadcast to the world not really top secret.

    Only reporting as it seems like it’s something it shouldn’t be doing.

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


    WordPress Core Developer

    I’ve seen this occasionally in the past but I haven’t been able to track down the problem either. I think it must be something specific to WordPress rather than QM because QM doesn’t do anything special with regard to user sessions (unless you’ve set the authentication cookie, which you already mentioned).

    I wonder whether the object cache could be to blame. I use Redis too so I’ll see if I can fid some time to look into it.

Viewing 1 replies (of 1 total)
  • The topic ‘QM displaying on Login page’ is closed to new replies.