Woocommerce blocks cart page gives fatal error
-
When I try to use the woocommerce blocks for cart it throws a fatal error on the page. The shortcode for the cart page works, but not the woocommerce block.
* Line?226 * Message?Uncaught TypeError: html_entity_decode(): Argument #1 ($string) must be of type string, array given in /home/516558.cloudwaysapps.com/yucfgwgahw/public_html/wp-content/plugins/woo-gutenberg-products-block/src/BlockTypes/Cart.php:226 Stack trace: #0 [internal function]: html_entity_decode() #1 /home/516558.cloudwaysapps.com/yucfgwgahw/public_html/wp-content/plugins/woo-gutenberg-products-block/src/BlockTypes/Cart.php(226): array_map() #2 /home/516558.cloudwaysapps.com/yucfgwgahw/public_html/wp-content/plugins/woo-gutenberg-products-block/src/BlockTypes/Cart.php(169): Automattic\WooCommerce\Blocks\BlockTypes\Cart->deep_sort_with_accents() #3 /home/516558.cloudwaysapps.com/yucfgwgahw/public_html/wp-content/plugins/woo-gutenberg-products-block/src/Assets/AssetDataRegistry.php(258): Automattic\WooCommerce\Blocks\BlockTypes\Cart->Automattic\WooCommerce\Blocks\BlockTypes\{closure}() #4 /home/516558.cloudwaysapps.com/yucfgwgahw/public_html/wp-content/plugins/woo-gutenberg-products-block/src/Assets/AssetDataRegistry.php(359): Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry->execute_lazy_data() #5 /home/516558.cloudwaysapps.com/yucfgwgahw/public_html/wp-includes/class-wp-hook.php(307): Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry->enqueue_asset_data() #6 /home/516558.cloudwaysapps.com/yucfgwgahw/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #7 /home/516558.cloudwaysapps.com/yucfgwgahw/public_html/wp-includes/plugin.php(476): WP_Hook->do_action() #8 /home/516558.cloudwaysapps.com/yucfgwgahw/public_html/wp-includes/script-loader.php(2139): do_action() #9 /home/516558.cloudwaysapps.com/yucfgwgahw/public_html/wp-includes/class-wp-hook.php(307): wp_print_footer_scripts() #10 /home/516558.cloudwaysapps.com/yucfgwgahw/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #11 /home/516558.cloudwaysapps.com/yucfgwgahw/public_html/wp-includes/plugin.php(476): WP_Hook->do_action() #12 /home/516558.cloudwaysapps.com/yucfgwgahw/public_html/wp-includes/general-template.php(3058): do_action() #13 /home/516558.cloudwaysapps.com/yucfgwgahw/public_html/wp-content/themes/kadence/footer.php(38): wp_footer() #14 /home/516558.cloudwaysapps.com/yucfgwgahw/public_html/wp-includes/template.php(770): require_once('/home/516558.cl...') #15 /home/516558.cloudwaysapps.com/yucfgwgahw/public_html/wp-includes/template.php(716): load_template() #16 /home/516558.cloudwaysapps.com/yucfgwgahw/public_html/wp-includes/general-template.php(92): locate_template() #17 /home/516558.cloudwaysapps.com/yucfgwgahw/public_html/wp-content/themes/kadence/page.php(22): get_footer() #18 /home/516558.cloudwaysapps.com/yucfgwgahw/public_html/wp-includes/template-loader.php(106): include('/home/516558.cl...') #19 /home/516558.cloudwaysapps.com/yucfgwgahw/public_html/wp-blog-header.php(19): require_once('/home/516558.cl...') #20 /home/516558.cloudwaysapps.com/yucfgwgahw/public_html/index.php(17): require('/home/516558.cl...') #21 {main} thrown * File?/home/516558.cloudwaysapps.com/yucfgwgahw/public_html/wp-content/plugins/woo-gutenberg-products-block/src/BlockTypes/Cart.php
This is the error that it gives me whenever I use the woocommerce block for the cart page. Please offer some advice on how I may resolve this.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Woocommerce blocks cart page gives fatal error’ is closed to new replies.