WordPress Error The editor has encountered an unexpected error.

Just putting this out there for others who upgraded to WordPress 5.4 and got this error.

The only solution I could find was related to an editor and clearing cache, but I couldn’t fix it through Astra Theme or Elementor Settings.


The editor has encountered an unexpected error. and wasn’t able to add or edit posts.


During the upgrade Gutenberg editor was enabled so on disabling that It resolved the issue for now.

About Me

I hope this helps someone else, I’m on Instagram or twitter if you want to come say hi.

Leave a Comment

Your email address will not be published. Required fields are marked *

If you are into photography come say hello on Instagram. Before it was my work it was an obsession so join me as I try something different.

Scroll to Top
Scroll to Top