Critical error: Call to undefined function wp_is_block_theme()
-
In wp-admin | Appearance | Customize
Using the latest versions: WooCommerce 7.22 / with WordPress 5.8.3 / stock Themes TwentyTwenty or TwentyTwentyOne.
Debug log:[28-Dec-2022 15:10:54 UTC] PHP Fatal error: Uncaught Error: Call to undefined function Automattic\WooCommerce\Blocks\BlockTypes\wp_is_block_theme() in /volume1/web_packages/wordpress/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/ProductImage.php:168 Stack trace: #0 /volume1/web_packages/wordpress/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php(100): Automattic\WooCommerce\Blocks\BlockTypes\ProductImage->enqueue_data() #1 /volume1/web_packages/wordpress/wp-includes/class-wp-hook.php(303): Automattic\WooCommerce\Blocks\BlockTypes\AbstractBlock->enqueue_editor_assets('') #2 /volume1/web_packages/wordpress/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #3 /volume1/web_packages/wordpress/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #4 /volume1/web_packages/wordpress/wp-includes/class-wp-customize-widgets.php(873): do_action('enqueue_block_e...') #5 /volume1/web_packages/wordpress/wp-includes/class-wp-hook.php(303): WP_Customize_Widgets->enqueue_scripts in /volume1/web_packages/wordpress/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTypes/ProductImage.php on line 168
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Critical error: Call to undefined function wp_is_block_theme()’ is closed to new replies.