• Resolved sgumby

    (@sgumby)


    We are getting the following error while trying to update orders that have been imported using customerorder-csv-import-suite. It seems to only be the imported orders.

    thrown in /home/<private>/public_html/wp-content/plugins/wc-partial-shipment/woocommerce-partial-shipment.php on line 369
    [31-Aug-2021 18:17:52 UTC] PHP Fatal error:  Uncaught Error: Call to a member function is_virtual() on bool in /home/<private>/public_html/wp-content/plugins/wc-partial-shipment/woocommerce-partial-shipment.php:369
    Stack trace:
    #0 /home/<private>/public_html/wp-content/plugins/wc-partial-shipment/woocommerce-partial-shipment.php(692): WXP_Partial_Shipment->repair_wxp_data(4746, Array)
    #1 /home/<private>/public_html/wp-includes/class-wp-hook.php(303): WXP_Partial_Shipment->wxp_save_order_items(4746, Array)
    #2 /home/<private>/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
    #3 /home/<private>/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #4 /home/<private>/public_html/wp-content/plugins/woocommerce/includes/admin/wc-admin-functions.php(420): do_action('woocommerce_sav...', 4746, Array)
    #5 /home/<private>/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-items.php(54): wc_save_order_items(4746, Array)
    #6 /home/<private>/public_html/wp-in in /home/<private>/public_html/wp-content/plugins/wc-partial-shipment/woocommerce-partial-shipment.php on line 369
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter sgumby

    (@sgumby)

    We didn’t link up products on the import so its possible the product object isn’t getting created correctly. I wonder if an if(product) needs to be added to make sure that the product object got created properly. I tried it for that line and it seemed to help. Because I don’t know what that line is actually doing I’m going to pull that change out and wait for you guys to release an update.

    Plugin Author Vikram S.

    (@jodhavishalsingh)

    Hi, this issue shouldn’t be there with Woocommerce Partial Shipment version 2.7
    Please update the plugin and let me know if you need further assistance.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘is_virtual woocommerce-partial-shipment.php on line 369’ is closed to new replies.