• Resolved vanmicomat

    (@vanmicomat)


    Dear all,

    I’m running a very small and not much customized WP site running automatic updates. However, since a couple of weeks, I’m struggling witht an error message. Whenever I try to edit a site or blog entry, the following message appears:
    “The block editor requires JavaScript. Please enable JavaScript in your browser settings, or try the Classic Editor plugin.”
    Also the site health tool says: “The Site Health check requires JavaScript.”
    I can use the Classic Editor right now only which is not the one I want to use.

    I have no idea when this exactly started but I assume it could be timely close to an automatic update.

    Right now I’m running WP 5.2.3 which I’ve already tried to re-install via the admin panel without any change. Also disabling all plugins installed was not helping me. Right now I ran out of ideas…

    Looking forward to your replies 🙂

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

    (@macmanx)

    Make sure that you have JavaScript enabled in your browser.

    Thread Starter vanmicomat

    (@vanmicomat)

    Hi James,

    I can assure that. It’s not working at all. Not in any browser, not on any system.

    Thanks

    Moderator James Huff

    (@macmanx)

    Do you see “JavaScript Enabled” when you visit https://supportdetails.com/ ?

    Thread Starter vanmicomat

    (@vanmicomat)

    Yes, I do.
    I was wondering about the CSP. I disabled the WP CSP Plugin but it’s still delivering a CSP… I found some script content blocked which might cause the issue.

    Now I have no idea why there is still a CSP delivered even the plugin is disabled.

    To be honest, I’m not that familiar with WP, just using it for a blog…

    Moderator James Huff

    (@macmanx)

    That seems odd, if everything under WordPress (even the Health Check plugin) is suggesting that your browser has JavaScript disabled, then I’d say your browser has JavaScript disabled.

    But if Support Details doesn’t, well that’s odd.

    If you mean https://wordpress.org/plugins/wp-content-security-policy/ it hasn’t been updated for 2 years, so getting rid of it seems like a good plan.

    As for why it’s sticking around after deleting the plugin, are you using any sort of caching plugin, or do you see a “Clear/Purge Cache” button in your Dashboard or admin bar? If so, would you please try clearing the cache?

    Note: You do not need to install a caching plugin at this point just to clear a cache you don’t have. If you don’t have a caching plugin or a way to clear a server-level cache, just say so.

    Thread Starter vanmicomat

    (@vanmicomat)

    Okay, I’ve just deleted the WP CSP Plugin and disabled the WP Super Cache as well. Right now I still see a CSP getting delivered. Will wait for a couple of hours, maybe there is some other caching still in place by the provider.

    Thread Starter vanmicomat

    (@vanmicomat)

    Unfortunately still CSP delivered even when no CSP and Cache is configured any more.
    Will open a support ticket at the provider right away…

    Thx for your efforts until this point 🙂 Appreciate it!

    Moderator James Huff

    (@macmanx)

    To turn off Super Cache, did you switch off caching in its settings of just deactivate the plugin? Simply deactivating the plugin actually leaves content cached indefinitely.

    Thread Starter vanmicomat

    (@vanmicomat)

    James,

    thanks for your efforts again, you’ve pointed me to the solution… the two year old CSP plugin did not properly remove a single CSP line in the .htaccess file which remains there even the plugin was removed.

    Removing the line manually made all features come back as usual 🙂

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Error: Block editor requires Java Script’ is closed to new replies.