Error thrown

Call to undefined function Automattic\WooCommerce\Blocks\BlockTypes\register_block_pattern()