“The editor has encountered an unexpected error”
-
HI,
When editing a post (new or existing) I got the following error:
“The editor has encountered an unexpected error”
with the buttons [Attempt Recovery] [Copy Post Text] [Copy Error](…?and no option to continue editing the post.)
The Console suggests that there’s something going on with the Selz plugin:
TypeError: this.activateMode is not a function
at https://www.example.com/wp-includes/js/media-views.min.js?ver=5.1.1:1:24791
at a (https://www.example.com/wp-content/plugins/selz-ecommerce/dist/js/blocks.js?ver=2.1.1:1:4856)
at Function.aa (https://www.example.com/wp-content/plugins/selz-ecommerce/dist/js/blocks.js?ver=2.1.1:1:47261)
at N.d._createModes (https://www.example.com/wp-includes/js/media-views.min.js?ver=5.1.1:1:24751)
at N.d.initialize (https://www.example.com/wp-includes/js/media-views.min.js?ver=5.1.1:1:24160)
at N.d.initialize (https://www.example.com/wp-includes/js/media-views.min.js?ver=5.1.1:1:25798)
at N.d.initialize (https://www.example.com/wp-includes/js/media-views.min.js?ver=5.1.1:1:28670)
at N.d.b.View (https://www.example.com/wp-includes/js/backbone.min.js?ver=1.2.3:1:14137)
at N.d.constructor (https://www.example.com/wp-includes/js/wp-backbone.min.js?ver=5.1.1:1:2616)
at N.d.constructor (https://www.example.com/wp-includes/js/media-views.min.js?ver=5.1.1:1:23607)When I Googled it, I found that yours is not the first plugin to cause this error.
After deactivating the Selz Plugin, everything again worked as expected again.
Now that I figured out what the error was, it’s no longer critical for me, but I’m sure you’d still like to be aware of it.
- The topic ‘“The editor has encountered an unexpected error”’ is closed to new replies.