• When the latest version of this plugin (1.5.7) is used with the latest 2.0.0 version of the popular WooCommerce Shipment Tracking plugin (https://woocommerce.com/products/shipment-tracking/), the following fatal error occurs in your Email Customizer:

    [10-Feb-2023 13:51:10 UTC] PHP Fatal error: ?Uncaught Error: Call to a member function get_meta() on bool in /public_html/wp-content/plugins/woocommerce-shipment-tracking/includes/class-wc-shipment-tracking.php:737

    Stack trace:

    #0 /public_html/wp-content/plugins/woocommerce-shipment-tracking/includes/class-wc-shipment-tracking.php(554): WC_Shipment_Tracking_Actions->get_tracking_items(1, true)

    #1 /public_html/wp-includes/class-wp-hook.php(308): WC_Shipment_Tracking_Actions->email_display(Object(WC_Order), false, false, Object(WC_Stripe_Email_Failed_Renewal_Authentication))

    #2 /public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)

    #3 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)

    #4 /public_html/wp-content/plugins/kadence-woocommerce-email-designer/templates/woo/emails/email-order-details.php(142): do_action(‘woocommerce_ema…’, Object(WC_Order), false, false, Object(WC_Stripe_Email_Failed_Renewal_Authentication))

    #5 /public_html/wp-con in /home/days/public_html/wp-content/plugins/woocommerce-shipment-tracking/includes/class-wc-shipment-tracking.php on line 737

Viewing 3 replies - 1 through 3 (of 3 total)
  • hannah

    (@hannahritner)

    Hi Robert!

    Thanks for reaching out! Try previewing with a real order. The mockup order doesn’t contain real data so that is what is causing this error. Previewing wit a real order should remove these errors.

    Kindly,

    Hannah

    Thread Starter robertstaddon

    (@robertstaddon)

    Hello @hannahritner , thank you for the quick reply! The Email Customizer uses the a mockup order by default so this Fatal Error fires as soon as it loads. Wouldn’t it make sense to update your plugin so that it’s mockup order had enough mockup data so as to not cause a fatal error when anyone is using the official WooCommerce Shipment Tracking extension? Do you think your developers might benefit from taking a look at this?

    hannah

    (@hannahritner)

    Hi Robert,

    I spoke with our dev team about this and unfortunately we’re just unable to provide support (and maintain support) for every WooCommerce extension in our mockup order. WooCommerce doesn’t give access to their plugins for developers. The official Woocommerce repo is open source, though not all of automatics extensions are open source so it’s not easy to support and maintain support. Extensions should verify data is there and not assume it is thus creating the fatal error.

    If you’re unable to change the order I suggest deactivating the plugin. Though usually you can change the order since the fatal error is in the iframe.

    I hope this is helpful!

    Kindly,

    Hannah

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error When Used with WooCommerce Shipment Tracking’ is closed to new replies.