Thread Starter
akiai
(@akiai)
To add some further information:
I have just switched my local version to a vanilla TwentyTwenty theme, disabled all plugins and placed the following code:
if ($test) {
return;
}
The 1 php error shows but again the field is blank.
On running a ctrl + f for an “undefined index” error, I’m able to find that the error does indeed exist.
But for some reason the CSS is set to:
#query-monitor-main .qm-hide,
#query-monitor-main .qm-hide-scripts-dependencies,
#query-monitor-main .qm-hide-styles-dependencies,
#query-monitor-main .qm-hide-scripts-dependents,
#query-monitor-main .qm-hide-styles-dependents,
#query-monitor-main .qm-hide-scripts-host,
#query-monitor-main .qm-hide-styles-host,
#query-monitor-main .qm-hide-user,
#query-monitor-main .qm-hide-result,
#query-monitor-main .qm-hide-name,
#query-monitor-main .qm-hide-type,
#query-monitor-main .qm-hide-caller,
#query-monitor-main .qm-hide-component {
display: none !important;
}
Which is hiding all the errors. I have no idea how or why this CSS is in place.
Is there any way for me to remove the offending CSS? Is there a setting I’ve mistakenly hit?
-
This reply was modified 5 years, 10 months ago by
akiai.
Are there any JavaScript errors showing on the page?
Can you run localStorage.clear() in your web browser’s developer console and then reload the page? I’m not sure what’s going wrong there but it looks like the filter is broken.
Thread Starter
akiai
(@akiai)
Thanks for the response. localStorage.clear() didn’t do the job. Same problem persists in both Chrome and Firefox.
It’s not a major problem as I just remove the display: none styling if I ever need to see the errors. Stylesheet being referenced is indeed from Query Monitor and not anywhere else. I’ve also disabled all other plugins and tested.
Very strange!