• Resolved karthik471

    (@karthik471)


    Hi,

    We have integrated Eshipz with WooCommerce using REST API. But from few days we are getting issues with integration. On contacting Eshipz , we are reported that there is some issue with the wooocommerce. Below is the error that they have sent .

    Fatal error: Uncaught Error: Call to a member function is_virtual() on bool in /home/divaaglamcp/public_html/wp-content/plugins/themehigh-multiple-addresses/public/class-thmaf-public.php:2597 Stack trace: #0 /home/divaaglamcp/public_html/wp-includes/class-wp-hook.php(324): THMAF_Public->thwma_shipping_addresses_display_on_thankyou_page(Array, Object(WC_Order_Item_Product)) #1 /home/divaaglamcp/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #2 /home/divaaglamcp/public_html/wp-content/plugins/woocommerce/includes/class-wc-order-item.php(329): apply_filters(‘woocommerce_ord…’, Array, Object(WC_Order_Item_Product)) #3 /home/divaaglamcp/public_html/wp-content/plugins/woocommerce/includes/class-wc-order-item.php(281): WC_Order_Item->get_formatted_meta_data(NULL, true) #4 /home/divaaglamcp/public_html/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php(272): WC_Order_Item->get_all_formatted_meta_data(NULL) #5 [internal function]: WC_REST_Orders_V2_Controller->get_order_item_data(Object(WC_Order_Item_Product)) #6 /home/divaaglamcp/public_html/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php(475): array_map(Array, Array) #7 /home/divaaglamcp/public_html/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php(543): WC_REST_Orders_V2_Controller->get_formatted_item_data(Object(Automattic\WooCommerce\Admin\Overrides\Order)) #8 /home/divaaglamcp/public_html/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php(391): WC_REST_Orders_V2_Controller->prepare_object_for_response(Object(Automattic\WooCommerce\Admin\Overrides\Order), Object(WP_REST_Request)) #9 /home/divaaglamcp/public_html/wp-includes/rest-api/class-wp-rest-server.php(1230): WC_REST_CRUD_Controller->get_items(Object(WP_REST_Request)) #10 /home/divaaglamcp/public_html/wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request(Object(WP_REST_Request), ‘/wc/v3/orders’, Array, NULL) #11 /home/divaaglamcp/public_html/wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch(Object(WP_REST_Request)) #12 /home/divaaglamcp/public_html/wp-includes/rest-api.php(428): WP_REST_Server->serve_request(‘/wc/v3/orders’) #13 /home/divaaglamcp/public_html/wp-includes/class-wp-hook.php(324): rest_api_loaded(Object(WP)) #14 /home/divaaglamcp/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #15 /home/divaaglamcp/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #16 /home/divaaglamcp/public_html/wp-includes/class-wp.php(418): do_action_ref_array(‘parse_request’, Array) #17 /home/divaaglamcp/public_html/wp-includes/class-wp.php(813): WP->parse_request(”) #18 /home/divaaglamcp/public_html/wp-includes/functions.php(1336): WP->main(”) #19 /home/divaaglamcp/public_html/wp-blog-header.php(16): wp() #20 /home/divaaglamcp/public_html/index.php(17): require(‘/home/divaaglam…’) #21 {main} thrown in /home/divaaglamcp/public_html/wp-content/plugins/themehigh-multiple-addresses/public/class-thmaf-public.php on line 2597
    There has been a critical error on this website.

    Please check what is the error and respond it as soon as possible.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter karthik471

    (@karthik471)

    Hi,

    We haven’t got any reply from your end

    Please check this issue and respond it as soon as possible.

    Thanks

    Hey there, @karthik471! Thanks for contacting us. I’m happy to help you.

    The error you shared indicates a problem within the ThemeHigh Multiple Addresses plugin. Can you please deactivate it and check if the issue persists?

    Please let us know how it goes.

    Have a wonderful day!

    anastas10s

    (@anastas10s)

    Hi ?? We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Issue with Rest API Integration’ is closed to new replies.