Skip to content

TypeError: Class constructors cannot be invoked without 'new' #70647

@sunnykasera3107

Description

@sunnykasera3107

Description

This is at the backend admin view when I try to edit the page.

TypeError: Class constructors cannot be invoked without 'new'
at gt (https://siteurl.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:45667)
at js (https://siteurl.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:120123)
at Sl (https://siteurl.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88331)
at kl (https://siteurl.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88259)
at bl (https://siteurl.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88122)
at sl (https://siteurl.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:84974)
at dl (https://siteurl.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:85354)
at Nn (https://siteurl.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:32432)
at https://siteurl.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:91665
at El (https://siteurl.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:91670)

Step-by-step reproduction instructions

  1. Install the latest 21.1.0 version
  2. Go to the admin panel
  3. Edit any page which is using Gutenberg already.

Screenshots, screen recording, code snippet

Image

Environment info

No response

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

    [Feature] MediaAnything that impacts the experience of managing media[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions