• Resolved shopcincysc

    (@shopcincysc)


    WordPress notified us that we have a fatal error with the Partial Shipment Plugin – we are updated to the most recent version. Any thoughts on how to resolve this?

    WordPress version 5.7.3
    Current theme: Stack Child (version 10.5.13)
    Current plugin: Woocommerce Partial Shipment (version 2.6)
    PHP version 7.4.24
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 398 of the file /home/customer/www/cincysc.com/public_html/wp-content/plugins/wc-partial-shipment/woocommerce-partial-shipment.php. Error message: Uncaught Error: Call to a member function is_virtual() on bool in /home/customer/www/cincysc.com/public_html/wp-content/plugins/wc-partial-shipment/woocommerce-partial-shipment.php:398
    Stack trace:
    #0 /home/customer/www/cincysc.com/public_html/wp-includes/class-wp-hook.php(292): WXP_Partial_Shipment->wxp_order_item_icons(1475, Object(WC_Order_Item_Product), Object(Automattic\WooCommerce\Admin\Overrides\Order), false)
    #1 /home/customer/www/cincysc.com/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array)
    #2 /home/customer/www/cincysc.com/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #3 /home/customer/www/cincysc.com/public_html/wp-content/plugins/woocommerce/templates/emails/email-order-items.php(68): do_action('woocommerce_ord...', 1475, Object(WC_Order_Item_Product), Object(Automattic\WooCommerce\Admin\Overrides\Order), false)
    #4 /home/customer/www/cincysc.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/custom
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,
    I was about to report the same error. Lucky to see that you have posted it.

    The error happens when you deleted your products and made $product null. To fix it, just be sure to check $product exists before using it.

    Hope this get fixed soon.

    Thank you very much.

    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 ‘WordPress Fatal Error?’ is closed to new replies.