Error thrown

Call to undefined function Automattic\WooCommerce\Blocks\Domain\Services\wp_is_block_theme()