PHP Fatal error: Uncaught Error: Call to a member function get_id() on bool
-
Hello Guys
Thanks for the awesome plugin.
When trying to import the Orders from live to staging, we are getting the following errors. Is this something related to this plugin?[27-Sep-2022 12:07:38 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_id() on bool in /plugins/woocommerce/includes/class-wc-discounts.php:775 Stack trace: #0 /wp-content/plugins/woocommerce/includes/class-wc-discounts.php(994): WC_Discounts->validate_coupon_product_categories(Object(WC_Coupon)) #1 /wp-content/plugins/woocommerce/includes/class-wc-discounts.php(252): WC_Discounts->is_coupon_valid(Object(WC_Coupon)) #2 /wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(1146): WC_Discounts->apply_coupon(Object(WC_Coupon)) #3 /wp-content/plugins/order-import-export-for-woocommerce/admin/modules/order/import/import.php(1755): WC_Abstract_Order->apply_coupon('welcome') #4 /wp-content/plugins/order-import-export-for-woocommerce/admin/modules/order/import/import.php(66): Wt_Import_Export_For_Woo_Basic_Order in /wp-content/plugins/woocommerce/includes/class-wc-discounts.php on line 775
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP Fatal error: Uncaught Error: Call to a member function get_id() on bool’ is closed to new replies.