Skip to content

Gutenberg Editor is Not Usable Since WordPress 6.3 Hit #53579

@VR51

Description

@VR51

Description

I get the same error. Whole bunch of sites. Looks like an infinite loop in a function that runs in the editor. I'm seeing a lot of people report the same error and bugs in Gutenberg since WP 6.3 was released.

Example messages logged in Console when a new block is inserted into a Gutenberg page, different sites:

helpers.js:89 Uncaught RangeError: Maximum call stack size exceeded
    at Function.isArray (<anonymous>)
    at Function.zr [as save] (blocks.min.js:10:4314)
    at Wg.Content (block-editor.min.js:26:308655)
    at B (element.min.js:9:6433)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)

And

TypeError: this.activateMode is not a function
    at https://c0.wp.com/c/6.3/wp-includes/js/media-views.min.js:2:59604
    at It (chrome-extension://gojhcdgcpbpfigcaejpfhfegekdgiblk/web3/provider.js:2:586804)
    at Function.ma (chrome-extension://gojhcdgcpbpfigcaejpfhfegekdgiblk/web3/provider.js:2:621991)
    at n._createModes (https://c0.wp.com/c/6.3/wp-includes/js/media-views.min.js:2:59564)
    at n.initialize (https://c0.wp.com/c/6.3/wp-includes/js/media-views.min.js:2:58973)
    at n.initialize (https://c0.wp.com/c/6.3/wp-includes/js/media-views.min.js:2:79857)
    at n.initialize (https://c0.wp.com/c/6.3/wp-includes/js/media-views.min.js:2:73432)
    at h.View (https://c0.wp.com/c/6.3/wp-includes/js/backbone.min.js:2:14648)
    at n.constructor (https://c0.wp.com/c/6.3/wp-includes/js/wp-backbone.min.js:2:2602)
    at n.constructor (https://c0.wp.com/c/6.3/wp-includes/js/media-views.min.js:2:106817)

And

blocks.min.js:10 Uncaught RangeError: Maximum call stack size exceeded
    at Function.zr [as save] (blocks.min.js:10:4273)
    at Wg.Content (block-editor.min.js:26:308655)
    at B (element.min.js:9:6433)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)
    at B (element.min.js:9:6431)

This error and symptoms of this error have been reported by others in the WP forums and in Trac (See: https://core.trac.wordpress.org/ticket/59038)

Step-by-step reproduction instructions

  • Load the Gutenberg Editor. Blocks show the 'Recover Block' error message.
  • Add a new block into the editor. Console logs the error Uncaught RangeError: Maximum call stack size exceeded.
  • Try to save a page. The page does not save.

Edits to pages can be saved only when the HTML editor is in use.

I've disabled and enabled plugins to try and discover whether the fault is being caused by a plugin. Apparently is not.

I've reinstalled 6.3 in 2 sites to see whether any files are missing. Made no difference.

The active theme is not the cause of the issue. the problem occurs in sites that use different themes.

I've tried to use Gutenberg with admin script optimizations disabled and with Jetpack Performance disabled. Neither attempt gave me a working editor.

Screenshots, screen recording, code snippet

No response

Environment info

I'm not using the Gutenberg plugin. I'm using the version of Gutenberg that ships with WordPress. I tried the Gutenberg plugin (latest) to see whether this would resolve the issue; it ddn't.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs TestingNeeds further testing to be confirmed.[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions