The plugin doesn’t work with gutenberg
-
The plugin doesn’t work with Woocommerce blocks in Gutenberg. I have this log:
Fatal error: Uncaught Error: Call to a member function get_type() on null in /home4/wp-content/plugins/add-to-cart-button-custom-text/class.php:31
Stack Trace
1. EJR_Add_To_Cart->cambia_texto_boton(‘Seleccionar opc…’)/home4/wp-includes/class-wp-hook.php:288
2. WP_Hook->apply_filters(‘Seleccionar opc…’, Array)/home4/wp-includes/plugin.php:208
3. apply_filters(‘woocommerce_pro…’, ‘Seleccionar opc…’, Object(WC_Product_Variable))/home4/wp-content/plugins/woocommerce/includes/class-wc-product-variable.php:60
4. WC_Product_Variable->add_to_cart_text()/home4/wp-content/plugins/woo-gutenberg-products-block/src/BlockTypes/AbstractProductGrid.php:473
5. Automattic\WooCommerce\Blocks\BlockTypes\AbstractProductGrid->get_add_to_cart(Object(WC_Product_Variable))/home4/wp-content/plugins/woo-gutenberg-products-block/src/BlockTypes/AbstractProductGrid.php:446
6. /home4/ in /home4/wp-content/plugins/add-to-cart-button-custom-text/class.php on line 31
The topic ‘The plugin doesn’t work with gutenberg’ is closed to new replies.