Error thrown

Call to undefined function wc_setup_product_data()