Skip to content

Patterns Editor crashes with “Minified React error #130” when creating a new pattern #73573

@manhphuc

Description

@manhphuc

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

  1. Go to https://wordpress.org/patterns/new-pattern/
  2. Wait for the page to load
  3. The editor instantly shows “The editor has encountered an unexpected error”
  4. Click “Copy error” to view the React minified error Add delete button #130 message

Screenshots, screen recording, code snippet

image

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.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions