Error thrown

Class 'WC_Product' not found