Do you have the same issue in a different browser? https://browsehappy.com
Thread Starter
Chris
(@cjm51213)
Yes. Google Chrome behaves the same way.
That’s extremely odd.
Do you have the same issue with all externsions temporarily deactivated? (that includes any ad/tracker blockers, which can be a bit overzealous sometimes)
If not, re-activate each extension one by one until you find the extension causing the problem.
Thread Starter
Chris
(@cjm51213)
James Huff (@macmanx):
This is a fresh install, so if this is caused by extensions, then there is a problem with the product, not my configuration.
threadi (@threadi)
Yes. Birds flock because it confuses predators, and bugs do likewise. I have selected a single problem to create focus. Clearly wp-admin/site-editor.php should not be complaining about jQuery not being loaded, and I suspect that this is my root problem.
-
This reply was modified 7 months, 1 week ago by
Chris.
This is a fresh install, so if this is caused by extensions, then there is a problem with the product, not my configuration.
Browser extensions, not WordPress plugins.
Again, do you have the same issue with all externsions temporarily deactivated? (that includes any ad/tracker blockers, which can be a bit overzealous sometimes)
If not, re-activate each extension one by one until you find the extension causing the problem.
Clearly wp-admin/site-editor.php should not be complaining about jQuery not being loaded
At the moment, there is no evidence that jQuery isn’t loading, just that WordPress is not detecting JavaScript support in your browser at one specific point.
I don’t have this problem on any of my sites, including a fresh install, with Firefox, and yours is the only report, so we need to start by ruling out third-party components.
Thread Starter
Chris
(@cjm51213)
Hi James,
Browser extensions, not WordPress plugins.
Again, do you have the same issue with all externsions temporarily deactivated? (that includes any ad/tracker blockers, which can be a bit overzealous sometimes)
If not, re-activate each extension one by one until you find the extension causing the problem.
Ha! Forgive me for being so obtuse. I only had two and disabling them changed nothing.
I am quite certain that at the end of the day, we will discover that this is a “jQuery is missing” problem. Why? I have recently, and quite accidentally, discovered that there is exactly one tiny change that can expose or dispose this problem: “define( ‘SCRIPT_DEBUG’, true/false );”.
define( 'SCRIPT_DEBUG', false ); Problem
define( 'SCRIPT_DEBUG', true ); No Problem
I suspect that enabling “SCRIPT_DEBUG” is compensating for some dependency that is failing to load jQuery. I only believe this because WordPress tells me that javascript must be enabled when I know damn well that JavaScript is already enabled. I suspect that the test to determine if JavaScript is enabled is a jQuery function that does not return as expected, hence my conclusion that jQuery is not there. I haven’t looked into the code to confirm this, mostly because I have no idea, yet, where to look. WordPress code is pretty gnarly for a novice. There are other clues that lead me to this conclusions, but the site-editor.php complaint is the minimum case.
Thanks for the help,
Chris.
SCRIPT_DEBUG is only executed if debug mode is activated and should only be used to debug core files. See: https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
A solution via configuration could be another value that I have already mentioned in your other topic: https://wordpress.org/support/topic/style-sheet-does-not-load-for-wp-admin/#post-18083543