• Resolved Chris

    (@cjm51213)


    Hi Folks,

    Can anybody explain this mystery? Firefox claims that javascript is enabled:

    javascript is enabled, as far as Firefox is concerned, and that’s all that matters.

    … but wp-admin/wp-site-editor.php disagrees:

    wp-admin/wp-site-editor.php disagrees with Firefox. javascript is enabled, but I think that jQuery is not getting loaded for administrative requests.

    My suspicion is that jQuery is not getting loaded, but I don’t know how to prove it.

    Thanks for the help,

    Chris.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator James Huff

    (@macmanx)

    Do you have the same issue in a different browser? https://browsehappy.com

    Thread Starter Chris

    (@cjm51213)

    Yes. Google Chrome behaves the same way.

    Moderator James Huff

    (@macmanx)

    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.

    There are more errors on your page according to your other topic: https://www.ads-software.com/support/topic/style-sheet-does-not-load-for-wp-admin/

    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 1 day, 15 hours ago by Chris.
    Moderator 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.


    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.www.ads-software.com/advanced-administration/debug/debug-wordpress/

    A solution via configuration could be another value that I have already mentioned in your other topic: https://www.ads-software.com/support/topic/style-sheet-does-not-load-for-wp-admin/#post-18083543

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘jQuery is enabled in Firefox, but wp-site-editor.php is unaware’ is closed to new replies.