Gutenberg: Disabling plugin crashes block editor / Enabling it means "All posts" page won't load..

Created on 24 Mar 2019  路  4Comments  路  Source: WordPress/gutenberg

I have uninstalled the plugin and now I can't create new posts, or edit existing ones, even in troubleshooting mode with all other plugins disabled.

The edit page loads ok, but as soon as you hover over the space where a new block would be (in new posts) or click on an existing block (when editing an existing post) the editor crashes out with the following error...

TypeError: Cannot read property 'core/paragraph' of undefined
at zn (https://crin.co.uk/wp-includes/js/dist/editor.min.js?ver=9.0.11:55:45280)
at https://crin.co.uk/wp-includes/js/dist/editor.min.js?ver=9.0.11:55:46071
at Array.map ()
at https://crin.co.uk/wp-includes/js/dist/editor.min.js?ver=9.0.11:55:45906
at u (https://crin.co.uk/wp-includes/js/dist/editor.min.js?ver=9.0.11:12:3427)
at https://crin.co.uk/wp-includes/js/dist/data.min.js?ver=4.2.1:1:6379
at https://crin.co.uk/wp-includes/js/dist/editor.min.js?ver=9.0.11:55:109194
at n (https://crin.co.uk/wp-includes/js/dist/data.min.js?ver=4.2.1:1:13036)
at new r (https://crin.co.uk/wp-includes/js/dist/data.min.js?ver=4.2.1:1:13298)
at zf (https://crin.co.uk/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.6.3:69:258)

If I reinstall the plugin the block editor will work normally but then the "all posts" page won't load.

EDIT: It's https://crin.co.uk/wp-admin/edit.php that won't load once the plugin is reinstalled and activated. If I disable the plugin then the problem reverts to crashing the block editor.

[Type] Bug

Most helpful comment

Can you try clearing the local storage?

All 4 comments

Can you try clearing the local storage?

I suspect this happens because downgrading Gutenberg is broken now because of the block editor refactoring. We should find a way to not load the previous preferences if they break the editor.

+1 on this one, I've encountered this issue as well on multiple occasions and multiple sites

Actually, I think this is a duplicate of #14580

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jasmussen picture jasmussen  路  3Comments

ellatrix picture ellatrix  路  3Comments

jasmussen picture jasmussen  路  3Comments

BE-Webdesign picture BE-Webdesign  路  3Comments

mhenrylucero picture mhenrylucero  路  3Comments