Hello,
I’m testing this on clean WP install where only WooCommerce and Block manager plugin are installed – everything in newest versions – WP 6.1.1 + WOO 7.2.2
So no, I don’t have separate plugin for WooCommerce Blocks.
This is happening only in Block manager plugins, so blocks from cart or checkout can not be deactivated there because of these errors.
I can tell you exactly what the problem is:
When you register block in JS file with registerBlockType
function you need to provide also title
attribute there – you have this everywhere except checkout and cart blocks, eg. in file /wp-content/plugins/woocommerce/packages/woocommerce-blocks/build/checkout.js
or /wp-content/plugins/woocommerce/packages/woocommerce-blocks/build/cart.js
When you open these files (it’s minified unfortunately) you can see that everywhere where registerBlockType
is called, the attributes list starts with icon
and there is no title
attribute.
Just add title
attribute there and everything will be solved ??