Gutenberg does not appear after last update

Created on 2 November 2021, over 3 years ago
Updated 20 March 2023, about 2 years ago

Problem/Motivation

Hi, after the last Gutenberg update (8.x-2.2) on my website with Drupal (9.2.7), Gutenberg has stopped working.
When I ask to edit a page, gutenberg starts loading the editor but the interface never appears.

any ideas?
Thanks a lot

this is my console log:

js_riaGdbdc-X3JG57gC-J3y-jiP04ton5kibOniNBgc3A.js:1044 Uncaught TypeError: Cannot read properties of undefined (reading 'lodash')
at js_riaGdbdc-X3JG57gC-J3y-jiP04ton5kibOniNBgc3A.js:1044
at Object.2 (js_riaGdbdc-X3JG57gC-J3y-jiP04ton5kibOniNBgc3A.js:1044)
at t (js_riaGdbdc-X3JG57gC-J3y-jiP04ton5kibOniNBgc3A.js:1044)
at Module.384 (js_riaGdbdc-X3JG57gC-J3y-jiP04ton5kibOniNBgc3A.js:1044)
at t (js_riaGdbdc-X3JG57gC-J3y-jiP04ton5kibOniNBgc3A.js:1044)
at wp.url.107 (js_riaGdbdc-X3JG57gC-J3y-jiP04ton5kibOniNBgc3A.js:1044)
at js_riaGdbdc-X3JG57gC-J3y-jiP04ton5kibOniNBgc3A.js:1044
index.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'Fragment')
at Module. (index.js:1)
at A (index.js:1)
at index.js:1
at index.js:1
at index.js:1
at index.js:1
index.js:1 Uncaught TypeError: Cannot read properties of undefined (reading '__')
at Module. (index.js:1)
at n (index.js:1)
at index.js:1
at index.js:1
at index.js:1
at index.js:1
index.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'Fragment')
at Module. (index.js:1)
at n (index.js:1)
at index.js:1
at index.js:1
at index.js:1
at index.js:1
index.js:1 Uncaught TypeError: Cannot read properties of undefined (reading '__')
at Module. (index.js:1)
at n (index.js:1)
at index.js:1
at index.js:1
at index.js:1
at index.js:1
index.js:12 Uncaught TypeError: Cannot read properties of undefined (reading '__')
at Module. (index.js:12)
at n (index.js:1)
at index.js:1
at index.js:1
at index.js:1
at index.js:1
index.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'Fragment')
at Module. (index.js:1)
at n (index.js:1)
at index.js:1
at index.js:1
at index.js:1
at index.js:1
index.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'Fragment')
at Module. (index.js:1)
at o (index.js:1)
at index.js:1
at index.js:1
at index.js:1
at index.js:1
index.js:1 Uncaught TypeError: Cannot destructure property '__' of 'n.i18n' as it is undefined.
at Module. (index.js:1)
at a (index.js:1)
at index.js:1
at index.js:1
at index.js:1
at index.js:1
index.js:1 Uncaught TypeError: Cannot destructure property 'RichText' of 'a.editor' as it is undefined.
at Module. (index.js:1)
at M (index.js:1)
at index.js:1
at index.js:1
at index.js:1
at index.js:1
index.js:1 Uncaught TypeError: Cannot destructure property '__' of 'r.i18n' as it is undefined.
at Module. (index.js:1)
at a (index.js:1)
at index.js:1
at index.js:1
at index.js:1
at index.js:1
index.js:1 Uncaught TypeError: Cannot destructure property 'Fragment' of 'U.element' as it is undefined.
at Module. (index.js:1)
at V (index.js:1)
at index.js:1
at index.js:1
at index.js:1
at index.js:1
index.js:16 Uncaught Error: Minified React error #227; visit https://reactjs.org/docs/error-decoder.html?invariant=227 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at Object. (index.js:16)
at n (index.js:1)
at Object. (index.js:8)
at n (index.js:1)
at Object. (index.js:1)
at Object. (index.js:1)
at n (index.js:1)
at Module. (index.js:29)
at n (index.js:1)
at index.js:1
js_IkyBrANe_8q0p0EvgIiXzK8DNFBYegvqi9qYAJRmsPw.js:14 Uncaught TypeError: Cannot read properties of undefined (reading 'compose')
at js_IkyBrANe_8q0p0EvgIiXzK8DNFBYegvqi9qYAJRmsPw.js:14
js_7MIFbaABA4gDXaniEnJsLMcqtQBLwV_Ps0aeLNinwzQ.js:172 Uncaught TypeError: Cannot read properties of undefined (reading 'attach')
at Object.Drupal.editorAttach (js_SP1bjdaWCmTBb02aLu915iS_-XzzKfz4jcO33ZiWj1A.js:1801)
at HTMLSelectElement. (js_SP1bjdaWCmTBb02aLu915iS_-XzzKfz4jcO33ZiWj1A.js:1753)
at Function.each (js_7MIFbaABA4gDXaniEnJsLMcqtQBLwV_Ps0aeLNinwzQ.js:2)
at S.fn.init.each (js_7MIFbaABA4gDXaniEnJsLMcqtQBLwV_Ps0aeLNinwzQ.js:2)
at Object.attach (js_SP1bjdaWCmTBb02aLu915iS_-XzzKfz4jcO33ZiWj1A.js:1741)
at js_7MIFbaABA4gDXaniEnJsLMcqtQBLwV_Ps0aeLNinwzQ.js:183
at Array.forEach ()
at Object.Drupal.attachBehaviors (js_7MIFbaABA4gDXaniEnJsLMcqtQBLwV_Ps0aeLNinwzQ.js:180)
at js_7MIFbaABA4gDXaniEnJsLMcqtQBLwV_Ps0aeLNinwzQ.js:409
at HTMLDocument.listener (js_7MIFbaABA4gDXaniEnJsLMcqtQBLwV_Ps0aeLNinwzQ.js:397)

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India shani maurya Mumbai

    I am having the same issue with Drupal 9.3.22, and none of the proposed solutions worked.

    I tried to fix the code as in the patch (as the latest patch won't apply), but the same issue is still there. Any advice?

    I have also created one issue but did not get any response on the same https://www.drupal.org/project/gutenberg/issues/3343392 🐛 Gutenberg is not loading properly Active

Production build 0.71.5 2024