Closed
Description
openedon Dec 11, 2021
Quick summary
Note 1: This is a CoBlocks Block - so probably needs to be posted on there once it has been triaged/reproduced.
Note 2: I have reproduced this on self-hosted and Atomic sites.
If you have a block already selected and then use the [ + ] button on the top left of the editor and choose Carousel Block the editor crashes with an error, The editor has encountered an unexpected error.
Error Log;
TypeError: Cannot read properties of null (reading 'removeChild')
at h.componentWillUnmount (https://dwtestatbugherding.wpcomstaging.com/wp-content/plugins/amp/assets/js/amp-block-editor.js?ver=2ee98517d90b7670631d2afc67df7285:31:1273)
at Rh (https://dwtestatbugherding.wpcomstaging.com/wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:148:43)
at Sh (https://dwtestatbugherding.wpcomstaging.com/wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:151:394)
at Qj (https://dwtestatbugherding.wpcomstaging.com/wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:174:181)
at unstable_runWithPriority (https://dwtestatbugherding.wpcomstaging.com/wp-content/plugins/gutenberg/vendor/react.min.755b0ae9.js:24:26)
at Za (https://dwtestatbugherding.wpcomstaging.com/wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:73:8)
at eb (https://dwtestatbugherding.wpcomstaging.com/wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:170:163)
at gf (https://dwtestatbugherding.wpcomstaging.com/wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:162:317)
at https://dwtestatbugherding.wpcomstaging.com/wp-content/plugins/gutenberg/vendor/react-dom.min.edd8b7a6.js:73:230
at unstable_runWithPriority (https://dwtestatbugherding.wpcomstaging.com/wp-content/plugins/gutenberg/vendor/react.min.755b0ae9.js:24:26)
Steps to reproduce
- Create a page or post.
- Add a block, any block. (tested Image, Heading, Paragraph)
- While that block is selected, click the [ + ] icon and choose Carousel Block.
- The page will crash and you can a
The editor has encountered an unexpected error.
message.
Video;
Screen.Capture.on.2021-12-11.at.13-14-29.mp4
What you expected to happen
Should be able to add the block without the editor crashing!
What actually happened
Editor Crashed when adding block.
Context
User Report.
Simple, Atomic or both?
Atomic
Theme-specific issue?
No response
Browser, operating system and other notes
No response
Reproducibility
Consistent
Severity
All
Available workarounds?
No response
Workaround details
No response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment