Site logo

Archived topic

Error "Block Editor Requires Javascript"

8 replies · Started by Samuel on November 22, 2019

Viewing posts 1–9 of 9

I was trying to edit the home page which uses sections. In the middle of editing I'm now getting the message Error "Block Editor Requires Javascript." It only comes up on a page using sections. It does not come up on any other page or post.

Hi there,

Is javascript enabled in your browser? If you use another browser, does the issue continue?

Yes, javascript is enabled and I can edit every other page and post in my site without any problems. I discovered what the problem is by looking at the url of the page but I don't know how to fix it. The page is using sections. In one section I inserted an HTML comment. The problem is I accidentally didn't close the comment correctly so the code was:

<!-- comment --.

Because of thot a bunch of things that should be urls are instead coming through os comments. The problem is I don't know how to fix it. I guess at this point I will have to recreate the entire page and just delete it.

Are you not able to just delete that single Section, or is the broken comment breaking everything on the page? Very strange - I'll see if there's anything we can do to prevent it.

No, the problem is when I try to edit it in Wordpress the editor won't even load. I think the only solution is probably to recreate the page.

Thanks for heads up - I'll look into it :)

Quick question-where does GeneratePress store section html in the Wordpress database? I want to see if I can edit the database before I recreate the page.

Nevermind, I simply restored a backup from right before the change and all is well now.

For future reference, it stores as post meta for that particular page :)

This archived topic is closed to new replies.