Error thrown

Call to undefined method Automattic\WooCommerce\Blocks\AIContent\PatternsHelper::get_image_url()