Console errors in editor and “block editor requires JavaScript” notice
-
I started to get console errors in Gutenberg editor when editing posts and it seems Lightweight Accordion is somehow blocking JS:
react-dom.js?ver=18.2.0:73 Warning: Cannot update a component (
Unknown
) while rendering a different component (edit
). To locate the bad setState() call insideedit
, follow the stack trace as described in https://reactjs.org/link/setstate-in-render at edit (https://mystaging.site/wp-content/plugins/lightweight-accordion/block/index.js?ver=1681238865:68:29)If I disable Lightweight Accordion I don’t have this errors in console.
Nor the The block editor requires JavaScript. Please enable JavaScript in your browser settings… notification.
This was not happening on previous versions (WordPress, Lightweight Accordion, Blocksy theme, and other plugins). I suspect Lightweight Accordion is not the sole culprit, but the editor does work when I disable Lightweight Accordion.
Any idea what can be happening here?
Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Console errors in editor and “block editor requires JavaScript” notice’ is closed to new replies.