Adding Block in Editor: “The editor has encountered an unexpected error.”
-
After updating to 5.7, now in the editor if you search for a block it will throw the “The editor has encountered an unexpected error.” with the underlying error being:
TypeError: Cannot read property 'length' of undefined at Nr (https://nerdbot.com/wp-includes/js/dist/block-library.min.js?ver=9d895feac0027b99ab2554688b651c21:43:59934) at save (https://nerdbot.com/wp-includes/js/dist/block-library.min.js?ver=9d895feac0027b99ab2554688b651c21:43:84831) at Wt (https://nerdbot.com/wp-includes/js/dist/blocks.min.js?ver=9ed25ffa009c799f99a4340915b6dc6a:3:118935) at Qt (https://nerdbot.com/wp-includes/js/dist/blocks.min.js?ver=9ed25ffa009c799f99a4340915b6dc6a:3:119412) at https://nerdbot.com/wp-includes/js/dist/block-editor.min.js?ver=7bc2f41a2f2e0da426f12f29b2139cae:12:54194 at https://nerdbot.com/wp-includes/js/dist/hooks.min.js?ver=50e23bed88bcb9e6e14023e9961698c1:2:5378 at $r (https://nerdbot.com/wp-includes/js/dist/blocks.min.js?ver=9ed25ffa009c799f99a4340915b6dc6a:3:130022) at Ur (https://nerdbot.com/wp-includes/js/dist/blocks.min.js?ver=9ed25ffa009c799f99a4340915b6dc6a:3:131073) at https://nerdbot.com/wp-includes/js/dist/blocks.min.js?ver=9ed25ffa009c799f99a4340915b6dc6a:3:132670 at Array.reduce (<anonymous>)
No other block plugins are added, normal wp core jquery is being used. All caching is off and cloudflare disabled.
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Adding Block in Editor: “The editor has encountered an unexpected error.”’ is closed to new replies.