Opened 7 weeks ago
Last modified 7 weeks ago
#8162 new defect (bug)
The editor crashes when using block inserter tool
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | high | |
| Component: | Support Forums | Keywords: | needs-patch |
| Cc: |
Description
Hi,
When I’m using the block inserter tool, by clicking on the tool in the toolbar or by clicking on "+" then Browse all, the editor crashes and this message is diplayed:
"The editor has encountered an unexpected error."
with two buttons
"Copy Post Text" and "Copy error"
Here the error copied:
Error: Block type 'jetpack/button' is not registered.
at Ve (https://fr.wordpress.org/support/wp-content/plugins/gutenberg-17.9/build/blocks/index.min.js?ver=275ec97da1833063449b:7:174)
at mr (https://fr.wordpress.org/support/wp-content/plugins/gutenberg-17.9/build/blocks/index.min.js?ver=275ec97da1833063449b:7:13902)
at https://fr.wordpress.org/support/wp-content/plugins/gutenberg-17.9/build/blocks/index.min.js?ver=275ec97da1833063449b:7:14096
at Array.map (<anonymous>)
at br (https://fr.wordpress.org/support/wp-content/plugins/gutenberg-17.9/build/blocks/index.min.js?ver=275ec97da1833063449b:7:14004)
at https://fr.wordpress.org/support/wp-content/plugins/gutenberg-17.9/build/block-editor/index.min.js?ver=52678fd4b2dc7ee02926:53:1361
at Object.useMemo (https://fr.wordpress.org/support/wp-content/plugins/gutenberg-17.9/build/vendors/react-dom.min.js?ver=18:1:115217)
at e.useMemo (https://fr.wordpress.org/support/wp-content/plugins/gutenberg-17.9/build/vendors/react.min.js?ver=18:1:9875)
at https://fr.wordpress.org/support/wp-content/plugins/gutenberg-17.9/build/block-editor/index.min.js?ver=52678fd4b2dc7ee02926:53:1268
at St (https://fr.wordpress.org/support/wp-content/plugins/gutenberg-17.9/build/vendors/react-dom.min.js?ver=18:1:47627)
It is therefore impossible to add custom patterns, and adding blocks (except for the most common ones) is only possible using the search function.
Please resolve this issue.
This seems to be an issue due to running Gutenberg 17.9 on Support forums.
This is required due to the usage of
Blocks Everywherefor front-end Gutenberg on Support forums.As a result, this is unlikely to be fixed until either https://github.com/automattic/blocks-everywhere is updated to support a newer version of Gutenberg, or the dependency upon that plugin is removed, which is not currently planned (Unless someone comes forth with a plan to implement such a change)
I believe this issue is primarily an issue for locale teams, as WordPress.org/Support does not have Support articles anymore (It was moved to a different site, wordpress.org/Documentation), but locale teams are probably still adding free-form content to their Support Forum sites.