Plugin triggers errors unregistered blocks
-
On projects that deactivated blocks with
unregister_block_type()
(or the JS equivalentunregisterBlockType()
), the HubSpot plugin triggers error messages in the browser console when editing a post:gutenberg.js?ver=10.0.16:1 Block "core/comments-query-loop" is not registered. gutenberg.js?ver=10.0.16:1 gutenberg.js?ver=10.0.16:1 Block "core/post-comments" is not registered.
Please check for the existence of blocks before using them. Thanks!
Also, the plugin triggers errors for blocks and plugins like this:
gutenberg.js?ver=10.0.16:1 Plugin "[redacted-custom-plugin-name]" is already registered. gutenberg.js?ver=10.0.16:1 Block "[redacted-custom-block-name]" is already registered.
Could you please have a look if these two types of error logs can be prevented? Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Plugin triggers errors unregistered blocks’ is closed to new replies.