Title: Block error breaks editor
Last modified: February 15, 2021

---

# Block error breaks editor

 *  Resolved [strarsis](https://wordpress.org/support/users/strarsis/)
 * (@strarsis)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/block-error-breaks-editor/)
 * After changing some changes the block editor suddenly doesn’t load anymore for
   a particular post:
 *     ```
       `
       Error: An error occurred while running 'mapSelect': Cannot read property 'advgb_blocks_columns_visual_guide' of undefined
       The error may be correlated with this previous error:
       TypeError: Cannot read property 'advgb_blocks_columns_visual_guide' of undefined
           at https://www.example.com/app/plugins/advanced-gutenberg/assets/blocks/blocks.js?ver=2.5.4:17069:44
           at Object.current (https://www.example.com/app/plugins/gutenberg/build/data/index.js?ver=ac3bc9f84e7c1e39c71f4eba4a284f56:1:30937)
           at https://www.example.com/app/plugins/gutenberg/build/data/index.js?ver=ac3bc9f84e7c1e39c71f4eba4a284f56:1:30449
           at s (https://www.example.com/app/plugins/gutenberg/build/data/index.js?ver=ac3bc9f84e7c1e39c71f4eba4a284f56:1:24872)
           at Object.__experimentalMarkListeningStores (https://www.example.com/app/plugins/gutenberg/build/data/index.js?ver=ac3bc9f84e7c1e39c71f4eba4a284f56:1:25279)
           at https://www.example.com/app/plugins/gutenberg/build/data/index.js?ver=ac3bc9f84e7c1e39c71f4eba4a284f56:1:29749
           at e (https://www.example.com/app/plugins/gutenberg/build/data/index.js?ver=ac3bc9f84e7c1e39c71f4eba4a284f56:1:30426)
           at https://www.example.com/app/plugins/gutenberg/build/data/index.js?ver=ac3bc9f84e7c1e39c71f4eba4a284f56:1:30561
           at Bh (https://www.example.com/app/plugins/gutenberg/vendor/react-dom.min.de439aae.js:126:456)
           at oj (https://www.example.com/app/plugins/gutenberg/vendor/react-dom.min.de439aae.js:126:549)
   
       Original stack trace:
           at Me (https://www.example.com/app/plugins/gutenberg/build/data/index.js?ver=ac3bc9f84e7c1e39c71f4eba4a284f56:1:30152)
           at https://www.example.com/app/plugins/gutenberg/build/data/index.js?ver=ac3bc9f84e7c1e39c71f4eba4a284f56:1:30912
           at we (https://www.example.com/app/plugins/gutenberg/vendor/react-dom.min.de439aae.js:84:293)
           at He (https://www.example.com/app/plugins/gutenberg/vendor/react-dom.min.de439aae.js:97:464)
           at zj (https://www.example.com/app/plugins/gutenberg/vendor/react-dom.min.de439aae.js:228:406)
           at Th (https://www.example.com/app/plugins/gutenberg/vendor/react-dom.min.de439aae.js:152:223)
           at tj (https://www.example.com/app/plugins/gutenberg/vendor/react-dom.min.de439aae.js:152:152)
           at Te (https://www.example.com/app/plugins/gutenberg/vendor/react-dom.min.de439aae.js:146:151)
           at https://www.example.com/app/plugins/gutenberg/vendor/react-dom.min.de439aae.js:61:68
           at unstable_runWithPriority (https://www.example.com/app/plugins/gutenberg/vendor/react.min.e713ea3b.js:25:260)
       ```
   
 * `

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/block-error-breaks-editor/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/block-error-breaks-editor/page/2/?output_format=md)

 *  Plugin Author [htmgarcia](https://wordpress.org/support/users/htmgarcia/)
 * (@htmgarcia)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/block-error-breaks-editor/#post-14058840)
 * Hi [@strarsis](https://wordpress.org/support/users/strarsis/),
    may you elaborate?
   Share step by step details to reproduce the issue.
 *  Thread Starter [strarsis](https://wordpress.org/support/users/strarsis/)
 * (@strarsis)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/block-error-breaks-editor/#post-14062756)
 * [@htmgarcia](https://wordpress.org/support/users/htmgarcia/): That’s the responsible
   line: `if($saved_settings['enable_columns_visual_guide'] == '1') {`
    The reason
   is that the code doesn’t check for the presence of the key `enable_columns_visual_guide`
   in the array before attempting to access it.
    -  This reply was modified 5 years, 3 months ago by [strarsis](https://wordpress.org/support/users/strarsis/).
 *  Plugin Author [htmgarcia](https://wordpress.org/support/users/htmgarcia/)
 * (@htmgarcia)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/block-error-breaks-editor/#post-14063458)
 * Thanks for sharing the details, [@strarsis](https://wordpress.org/support/users/strarsis/)!
   We have this issue in our radar actually.
 * Would you mind to contact us through our support page at [https://publishpress.com/publishpress-support/](https://publishpress.com/publishpress-support/)–
   Include the URL of this forum topic as reference. We’ll provide you a package
   that will fix this issue. Your feedback on this matter is very important before
   doing a release.
 *  Thread Starter [strarsis](https://wordpress.org/support/users/strarsis/)
 * (@strarsis)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/block-error-breaks-editor/#post-14063482)
 * OK, I created a new ticket there with my username, email address and a link to
   this forum topic.
 *  [amberadmin](https://wordpress.org/support/users/amberadmin/)
 * (@amberadmin)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/block-error-breaks-editor/#post-14069615)
 * Hi,
 * I am having exactly the same issue after updating to the 2.5.5 version.
    I already
   checked by deactivating and activating the plugin and this is the one causing
   the problem.
 *  Plugin Author [htmgarcia](https://wordpress.org/support/users/htmgarcia/)
 * (@htmgarcia)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/block-error-breaks-editor/#post-14069636)
 * Hi [@amberadmin](https://wordpress.org/support/users/amberadmin/),
    2.5.5 fixes
   the ‘enable_columns_visual_guide’ notice. We weren’t able to reproduce the javascript
   error.
 * Which issue are you experiencing? Please share step by step details to reproduce
   it.
 * Suggestion: clear cache and go to PublishPress Blocks configuration and click
   save (no need to make changes). See if makes a difference.
 *  [amberadmin](https://wordpress.org/support/users/amberadmin/)
 * (@amberadmin)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/block-error-breaks-editor/#post-14069890)
 * Hi [@htmgarcia](https://wordpress.org/support/users/htmgarcia/) ,
 * I just updated to the latest version of the plugin (2.5.5) this morning. After
   doing it I started noticing the error for the first time while trying to update
   an old blog post.
 * On a step by step basis, what I do is:
    1. Open blog post
    2. Click on any part of it
    3. Get error
 * I just did what you suggested and also tried the fixes described [in this article](https://thomas.vanhoutte.be/miniblog/wordpress-fix-the-editor-has-encountered-an-unexpected-error/).
   None of them work and I am still getting the same error (I did not try the last
   fix as I am using the Gutenberg editor and have disabled the classic editor.).
 * As I said previously, once I deactivate the PublishPress plugin, the error disappears
   and I can edit the posts.
 * Hope this is clear enough, but please let me know if you have more questions.
 * Thank you for your help in advance.
    -  This reply was modified 5 years, 3 months ago by [amberadmin](https://wordpress.org/support/users/amberadmin/).
    -  This reply was modified 5 years, 3 months ago by [amberadmin](https://wordpress.org/support/users/amberadmin/).
 *  Plugin Author [htmgarcia](https://wordpress.org/support/users/htmgarcia/)
 * (@htmgarcia)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/block-error-breaks-editor/#post-14070056)
 * Thanks [@amberadmin](https://wordpress.org/support/users/amberadmin/)!
 * Unfortunately I’m not able to reach the error following the 3 steps. Would you
   mind sending more details from your site through our support page? [https://publishpress.com/publishpress-support/](https://publishpress.com/publishpress-support/)–
   Include the info from Tools > Site health > Info. Click “Copy site info to clipboard”
   and paste as part of your message.
 * Don’t forget to include the URL of this forum topic as reference.
 *  Thread Starter [strarsis](https://wordpress.org/support/users/strarsis/)
 * (@strarsis)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/block-error-breaks-editor/#post-14070725)
 * [@amberadmin](https://wordpress.org/support/users/amberadmin/): I was able to
   fix the issue by clearing the browser (Chrome) cache.
    I suspect it may be some
   stale, cached frontend asset as the underlying cause. Also `cache flush` (WP 
   CLI) and trying with a different browser (would further confirm the caching hypothesis).
 *  Plugin Author [htmgarcia](https://wordpress.org/support/users/htmgarcia/)
 * (@htmgarcia)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/block-error-breaks-editor/#post-14070794)
 * [@strarsis](https://wordpress.org/support/users/strarsis/) cache seems involved.
   We’ll keep an eye on this.
 * Regards
    -  This reply was modified 5 years, 3 months ago by [htmgarcia](https://wordpress.org/support/users/htmgarcia/).
 *  [stevebab](https://wordpress.org/support/users/stevebab/)
 * (@stevebab)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/block-error-breaks-editor/#post-14076498)
 * Hi there,
 * We are also experiencing a WSOD when trying to edit any page with an Advanced
   Accordion in it after the update to 2.5.5.
 * This is an urgent issue on a production multisite.
 * Caches have been cleared.
    Module has been disabled and re-enabled.
 *  Thread Starter [strarsis](https://wordpress.org/support/users/strarsis/)
 * (@strarsis)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/block-error-breaks-editor/#post-14076712)
 * [@stevebab](https://wordpress.org/support/users/stevebab/): Just on a hunch: 
   Could it have something to do with the transients?
    Maybe clearing these ([https://developer.wordpress.org/cli/commands/transient/delete/](https://developer.wordpress.org/cli/commands/transient/delete/))
   fixes the issue? Transients should be deletable by design, so I think this is
   safe to try. For me, this bug only appeared and could be reproduced on the production
   system, not on the development one.
 *  Plugin Author [htmgarcia](https://wordpress.org/support/users/htmgarcia/)
 * (@htmgarcia)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/block-error-breaks-editor/#post-14076716)
 * Hi [@stevebab](https://wordpress.org/support/users/stevebab/),
    this seems to
   be a different issue related to Advanced Accordion block.
 * We noticed you have an open ticket in our support system. Please downgrade to
   [2.5.4](https://github.com/publishpress/PublishPress-Blocks/releases/download/v2.5.4/advanced-gutenberg.2.5.4.zip).
 * Looking forward to help you
 *  [stevebab](https://wordpress.org/support/users/stevebab/)
 * (@stevebab)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/block-error-breaks-editor/#post-14076877)
 * Downgrading fixed it for now. Thank you. Let me know when we can try a solution
   for the new version.
 * Thanks!
 *  Plugin Author [htmgarcia](https://wordpress.org/support/users/htmgarcia/)
 * (@htmgarcia)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/block-error-breaks-editor/#post-14091409)
 * A new version has been released addressing the issue related to Adv. Accordion.

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/block-error-breaks-editor/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/block-error-breaks-editor/page/2/?output_format=md)

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

 * ![](https://ps.w.org/advanced-gutenberg/assets/icon-256x256.png?rev=3393761)
 * [PublishPress Blocks - Block Controls, Block Visibility, Block Permissions](https://wordpress.org/plugins/advanced-gutenberg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-gutenberg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-gutenberg/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-gutenberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-gutenberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-gutenberg/reviews/)

## Tags

 * [break](https://wordpress.org/support/topic-tag/break/)
 * [editor](https://wordpress.org/support/topic-tag/editor/)
 * [errors](https://wordpress.org/support/topic-tag/errors/)

 * 17 replies
 * 4 participants
 * Last reply from: [htmgarcia](https://wordpress.org/support/users/htmgarcia/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/block-error-breaks-editor/page/2/#post-14092310)
 * Status: resolved