Description
When opening the Patterns editor at https://wordpress.org/patterns/new-pattern/ , the editor crashes immediately and shows the message:
“The editor has encountered an unexpected error.”
Clicking “Copy error” shows this React stack trace (Minified React error #130 ):
Error: Minified React error #130 ; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at rd (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:206:306 )
at u (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:88:149 )
at x (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:91:16 )
at v (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:95:81 )
at aa (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:123:401 )
at Qk (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:254:196 )
at Ri (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:195:185 )
at Ok (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:195:116 )
at Nd (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:194:492 )
at Li (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:189:179 )
This happens 100% of the time and prevents creating a new pattern.
Already tested:
Hard refresh (Cmd + Shift + R)
Clearing browser cache & cookies
Incognito mode
Safari and Chrome
Disabled all extensions
The issue still occurs.
Expected: the Patterns editor loads normally.
Actual: React crashes and the editor never loads.
Step-by-step reproduction instructions
Go to https://wordpress.org/patterns/new-pattern/
Wait for the page to load
The editor instantly shows “The editor has encountered an unexpected error”
Click “Copy error” to view the React minified error Add delete button #130 message
Screenshots, screen recording, code snippet
Environment info
URL: wordpress.org/patterns
Browser: Safari 17 / Chrome 119
OS: macOS
Logged in: Yes (WordPress.org account)
Reproduced in: Incognito mode, cleared cache
Gutenberg: Running in the WordPress.org Patterns site
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
Description
When opening the Patterns editor at https://wordpress.org/patterns/new-pattern/, the editor crashes immediately and shows the message:
“The editor has encountered an unexpected error.”
Clicking “Copy error” shows this React stack trace (Minified React error #130):
Error: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at rd (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:206:306)
at u (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:88:149)
at x (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:91:16)
at v (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:95:81)
at aa (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:123:401)
at Qk (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:254:196)
at Ri (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:195:185)
at Ok (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:195:116)
at Nd (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:194:492)
at Li (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/scripts/vendors/react-dom.min.js?ver=18:189:179)
This happens 100% of the time and prevents creating a new pattern.
Already tested:
The issue still occurs.
Expected: the Patterns editor loads normally.
Actual: React crashes and the editor never loads.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.