WooCommerce Orders REST API Error 500
-
Since the last update, I have started getting a 500 error trying to download my orders via the REST API. The error logs read as below:
2022-12-19T18:07:18+00:00 CRITICAL Uncaught Error: Call to a member function is_virtual() on bool in /nas/content/live/*********/wp-content/plugins/themehigh-multiple-addresses/public/class-thmaf-public.php:2559 Stack trace: #0 /nas/content/live/*********/wp-includes/class-wp-hook.php(308): THMAF_Public->thwma_shipping_addresses_display_on_thankyou_page(Array, Object(WC_Order_Item_Product)) #1 /nas/content/live/*********/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #2 /nas/content/live/*********/wp-content/plugins/woocommerce/includes/class-wc-order-item.php(306): apply_filters('woocommerce_ord...', Array, Object(WC_Order_Item_Product)) #3 /nas/content/live/*********/wp-content/plugins/woocommerce/includes/class-wc-order-item.php(258): WC_Order_Item->get_formatted_meta_data(NULL, true) #4 /nas/content/live/*********/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php(266): WC_Order_Item->get_all_formatted_meta_data(NULL) #5 [internal function]: WC_REST_Orders_V2_Cont in /nas/content/live/*********/wp-content/plugins/themehigh-multiple-addresses/public/class-thmaf-public.php on line 2559I deactivated the plugin, and the API call worked (200 OK) without issue. I reactivated the plugin and returned to the error.
Please advise.
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘WooCommerce Orders REST API Error 500’ is closed to new replies.