Error thrown

Call to undefined function wc_product_class()