Error thrown

Call to undefined method WooCommerce::get_image_size()