• Resolved conquerorintraining

    (@conquerorintraining)


    I just updated to WP 6.0, and now the “block editor” crashes WP (either editing an existing post, or adding a new one). The editor is extremely slow to load, and when it finally does, it crashes when I try adding a block.

    I’ve tried disabling all themes, plugins, enabling / disabling the visual editor, and manually reinstalling WP (I initially updated through the WP-Admin). All plugins / themes are up to date (though disabled now). I’ve also tried clearing browsing data, and using both Chrome and Firefox – it doesn’t work in either browser.

    I managed to find this error after a crash, and it seems to indicate a Javascript issue in the core WP files, but I don’t know what’s causing it or how to fix it:

    TypeError: Cannot destructure property 'possibleBlockTransformations' of '(0 , m.useSelect)(...)' as it is undefined.
        at Nm (http://__.ca/wp-includes/js/dist/block-editor.min.js?ver=39c7981dd22ec80281080455892940e6:26:273016)
        at ct (http://__.ca/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:43430)
        at os (http://__.ca/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:111136)
        at Ur (http://__.ca/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:77643)
        at Ir (http://__.ca/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:77571)
        at Dr (http://__.ca/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:77434)
        at Pr (http://__.ca/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:74429)
        at http://__.ca/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:30173
        at unstable_runWithPriority (http://__.ca/wp-includes/js/dist/vendor/react.min.js?ver=17.0.1:9:7431)
        at xn (http://__.ca/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:29950)

    I’m not sure what else to try. Any help is appreciated, thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter conquerorintraining

    (@conquerorintraining)

    I’ve finally managed to switch from the “visual editor” to the “code editor” view, and that seems to work perfectly well. This is only a workaround though, and hasn’t actually fixed the original problem.

    Thread Starter conquerorintraining

    (@conquerorintraining)

    I also got a variant of the error now:

    TypeError: Cannot destructure property 'patternCategories' of '(0 , m.useSelect)(...)' as it is undefined.
        at zd (http://__.ca/wp-includes/js/dist/block-editor.min.js?ver=39c7981dd22ec80281080455892940e6:26:222659)
        at Sp (http://__.ca/wp-includes/js/dist/block-editor.min.js?ver=39c7981dd22ec80281080455892940e6:26:237766)
        at ct (http://__.ca/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:43430)
        at os (http://__.ca/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:111136)
        at Ur (http://__.ca/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:77643)
        at Ir (http://__.ca/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:77571)
        at Dr (http://__.ca/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:77434)
        at Pr (http://__.ca/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:74429)
        at http://__.ca/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:30173
        at unstable_runWithPriority (http://__.ca/wp-includes/js/dist/vendor/react.min.js?ver=17.0.1:9:7431)

    Hello @conquerorintraining,

    Did you find a solution ?

    Thread Starter conquerorintraining

    (@conquerorintraining)

    Hello @cyprienlirius.

    Technically, no, I did not find a solution.

    That being said, it just eventually started working on its own…

    I didn’t make any changes to break it, nor any changes to fix it, I’m not sure what happened.

    Thanks for checking – I completely had forgotten this forum topic was still open.

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

The topic ‘Block Editor Crashes in New / Edit Post’ is closed to new replies.