Fatal error when saving a gift card product
-
We are getting this fatal error when trying to save the gift card product in the wordoress dashboard:
“Fatal error: Uncaught Exception: Invalid product. in /home/wildandwood/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php:167 Stack trace: #0 /home/wildandwood/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Product_Data_Store_CPT->read(Object(WC_Product_Gift_Card)) #1 /home/wildandwood/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(137): WC_Data_Store->read(Object(WC_Product_Gift_Card)) #2 /home/wildandwood/public_html/wp-content/plugins/yith-woocommerce-gift-cards/lib/class-yith-wc-product-gift-card.php(40): WC_Product->__construct(38960) #3 /home/wildandwood/public_html/wp-content/plugins/yith-woocommerce-gift-cards/lib/class-yith-ywgc-backend.php(380): WC_Product_Gift_Card->__construct(38960) #4 /home/wildandwood/public_html/wp-content/plugins/yith-woocommerce-gift-cards/lib/class-yith-ywgc-backend.php(441): YITH_YWGC_Backend->save_gift_card_data(38960) #5 /home/wildandwood/public_html/wp-includ in /home/wildandwood/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php on line 167”
Can you identify why?
- The topic ‘Fatal error when saving a gift card product’ is closed to new replies.