Title: Block editor error
Last modified: July 3, 2020

---

# Block editor error

 *  Resolved [WebMan Design | Oliver Juhas](https://wordpress.org/support/users/webmandesign/)
 * (@webmandesign)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/block-editor-error/)
 * Hi,
 * I’ve found info about your plugin on WP Tavern. It really looks promising and
   I wanted to try it on my WP multisite (network) setup.
 * However, after installing and activating the plugin and trying to edit existing
   page I got the error message in block editor (Gutenberg): “The editor has encountered
   an unexpected error. [Attempt Recovery] [Copy Post Text] [Copy Error]”
 * After clicking the “[Copy Error]” button, here is what the error looks like:
 *     ```
       TypeError: this.activateMode is not a function
           at ./wp-includes/js/media-views.min.js?ver=5.4.2:2:24708
           at st (./wp-content/plugins/editorplus/build/build.js?ver=1.1.0:9:4747)
           at Function.sa (./wp-content/plugins/editorplus/build/build.js?ver=1.1.0:9:40708)
           at i._createModes (./wp-includes/js/media-views.min.js?ver=5.4.2:2:24668)
           at initialize (./wp-includes/js/media-views.min.js?ver=5.4.2:2:24077)
           at initialize (./wp-includes/js/media-views.min.js?ver=5.4.2:2:25732)
           at initialize (./wp-includes/js/media-views.min.js?ver=5.4.2:2:29623)
           at i.h.View (./wp-includes/js/backbone.min.js?ver=1.4.0:2:14225)
           at i.constructor (./wp-includes/js/wp-backbone.min.js?ver=5.4.2:2:2608)
           at i.constructor (./wp-includes/js/media-views.min.js?ver=5.4.2:2:23524)
       ```
   
 * Can you please check and fix if possible?
 * Thank you and best regards,
 * Oliver

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

 *  Thread Starter [WebMan Design | Oliver Juhas](https://wordpress.org/support/users/webmandesign/)
 * (@webmandesign)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/block-editor-error/#post-13067786)
 * BTW, I’ve tested on WP 5.4.2 with Twenty Twenty 1.4 theme and only Editor Plus
   plugin is active.
 *  [Knut Sparhell](https://wordpress.org/support/users/knutsp/)
 * (@knutsp)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/block-editor-error/#post-13078689)
 * I have the same error.
 *  Thread Starter [WebMan Design | Oliver Juhas](https://wordpress.org/support/users/webmandesign/)
 * (@webmandesign)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/block-editor-error/#post-13121736)
 * Hi [@munirkamal](https://wordpress.org/support/users/munirkamal/),
 * I can see there is a new plugin version but the issue still persist. Could you
   please look at it and fix it? Thank you!
 * Best regards,
 * Oliver
 *  Plugin Author [Munir Kamal](https://wordpress.org/support/users/munirkamal/)
 * (@munirkamal)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/block-editor-error/#post-13121750)
 * Hi,
 * Thank you to report this. I will debug this further, but it seems like a cache
   issue to me.
 * Can you try to clear editor cache via chrome console using this command?
 * `window.localStorage.clear();`
 * Let me know.
 *  Thread Starter [WebMan Design | Oliver Juhas](https://wordpress.org/support/users/webmandesign/)
 * (@webmandesign)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/block-editor-error/#post-13121828)
 * Hi [@munirkamal](https://wordpress.org/support/users/munirkamal/),
 * Thank you for quick response.
 * I’ve tried pressing CTRL+SHIFT+R multiple times in Chrome. Usually this clears
   the cache in the browser. But indeed, using the code in console seems to do the
   trick for me. Thank you for this tip!
 * I can confirm everything is working fine for me now. Closing the issue so.
 * Thanks for help!
 * Oliver
 *  Thread Starter [WebMan Design | Oliver Juhas](https://wordpress.org/support/users/webmandesign/)
 * (@webmandesign)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/block-editor-error/#post-13121834)
 * BTW, after quick play with the plugin, it looks really promising! Thank you!
 *  Plugin Author [Munir Kamal](https://wordpress.org/support/users/munirkamal/)
 * (@munirkamal)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/block-editor-error/#post-13121845)
 * Hi Oliver,
 * Thank you for the update. Sounds great. 😇
 * Do pass your feedback & suggestions to improve this plugin.
 * Regards,
    Munir
 *  [loireau](https://wordpress.org/support/users/loireau/)
 * (@loireau)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/block-editor-error/#post-13141660)
 * I found an easy way to clear the cache, which worked for me when I had the same
   error. See [Clear Chrome cache](https://stackoverflow.com/a/21287099/1258623)
    1. Pull up the Chrome developer console by pressing F12 and then (with the console
       open):
    2. Right click (or hold left click) on the reload button at the top of the browser
       and select “Empty Cache and Hard Reload.”
 * This will go beyond “Hard Reload” to empty the cache entirely, ensuring that 
   anything downloaded via javascript or etc. will also avoid using the cache. You
   don’t have to mess with settings or anything, it’s a quick 1-shot solution.
    -  This reply was modified 5 years, 10 months ago by [loireau](https://wordpress.org/support/users/loireau/).
 *  Thread Starter [WebMan Design | Oliver Juhas](https://wordpress.org/support/users/webmandesign/)
 * (@webmandesign)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/block-editor-error/#post-13142143)
 * Cool tip, [@loireau](https://wordpress.org/support/users/loireau/), thanks for
   sharing! I will give it a try next time I get the error.

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

The topic ‘Block editor error’ is closed to new replies.

 * ![](https://ps.w.org/editorplus/assets/icon-256x256.png?rev=2634036)
 * [Gutenberg Blocks Library & Toolkit - Editor Plus](https://wordpress.org/plugins/editorplus/)
 * [Support Threads](https://wordpress.org/support/plugin/editorplus/)
 * [Active Topics](https://wordpress.org/support/plugin/editorplus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/editorplus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/editorplus/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 9 replies
 * 4 participants
 * Last reply from: [WebMan Design | Oliver Juhas](https://wordpress.org/support/users/webmandesign/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/block-editor-error/#post-13142143)
 * Status: resolved