Critical uncught error after installing Plugin
-
I have a Critical uncaught error after installing the plugin in my Woocommerce Log Fle. Here is a copy of my log file from within Woocommerce;
2023-12-01T20:15:49+00:00 CRITICAL Uncaught Error: Call to a member function get_date_created() on bool in /home/josh/public_html/wp-content/plugins/woocommerce/includes/tracks/events/class-wc-orders-tracking.php:85
Stack trace:
#0 /home/josh/public_html/wp-includes/class-wp-hook.php(326): WC_Orders_Tracking->track_order_status_change(1, ‘pending’, ‘ready-pickup’)
#1 /home/josh/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#2 /home/josh/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home/josh/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(405): do_action(‘woocommerce_ord…’, 1, ‘pending’, ‘ready-pickup’, Object(WC_Order))
#4 /home/josh/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(253): WC_Order->status_transition()
#5 /home/josh/public_html/wp-content/plugins/woocommerce-payments/includes/payment-methods/class-upe-payment-gateway.php(1177): WC_Order->save()
#6 /home/josh/public_html/wp-includes/class-wp-hook.php(326): WCPay\Payment_Methods\UPE_Payment_Gateway->set_payment_method_title_for_email(Object(WC_Order), false, false)
#7 /home/josh/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#8 /home/josh/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#9 /home/josh/public_html/wp-content/plugins/woocommerce/templates/emails/email-order-details.php(22): do_action(‘woocommerce_ema…’, Object(WC_Order), false, false, Object(WC_Email_Customer_Ready_Pickup_Order))
#10 /home/josh/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘/home/josh/publ…’)
#11 /home/josh/public_html/wp-content/plugins/woocommerce/includes/class-wc-emails.php(421): wc_get_template(’emails/email-or…’, Array)
#12 /home/josh/public_html/wp-includes/class-wp-hook.php(324): WC_Emails->order_details(Object(WC_Order), false, false, Object(WC_Email_Customer_Ready_Pickup_Order))
#13 /home/josh/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#14 /home/josh/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#15 /home/josh/public_html/wp-content/plugins/advanced-local-pickup-for-woocommerce/templates/emails/ready-pickup-order.php(34): do_action(‘woocommerce_ema…’, Object(WC_Order), false, false, Object(WC_Email_Customer_Ready_Pickup_Order))
#16 /home/josh/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘/home/josh/publ…’)
#17 /home/josh/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(364): wc_get_template(’emails/ready-pi…’, Array, ‘woocommerce-loc…’, ‘/home/josh/publ…’)
#18 /home/josh/public_html/wp-content/plugins/advanced-local-pickup-for-woocommerce/include/emails/ready-pickup-order.php(139): wc_get_template_html(’emails/ready-pi…’, Array, ‘woocommerce-loc…’, ‘/home/josh/publ…’)
#19 /home/josh/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(588): WC_Email_Customer_Ready_Pickup_Order->get_content_html()
#20 /home/josh/public_html/wp-content/plugins/advanced-local-pickup-for-woocommerce/include/customizer/customizer-admin.php(589): WC_Email->get_content()
#21 /home/josh/public_html/wp-includes/class-wp-hook.php(324): WC_Local_Pickup_Customizer->alp_customizer_preview_content(‘ready_pickup’)
#22 /home/josh/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘ready_pickup’, Array)
#23 /home/josh/public_html/wp-content/plugins/advanced-local-pickup-for-woocommerce/include/customizer/customizer-admin.php(205): apply_filters(‘alp_customizer_…’, ‘ready_pickup’)
#24 /home/josh/public_html/wp-content/plugins/advanced-local-pickup-for-woocommerce/include/customizer/customizer-admin.php(195): WC_Local_Pickup_Customizer->get_preview_email(‘ready_pickup’)
#25 /home/josh/public_html/wp-includes/class-wp-hook.php(324): WC_Local_Pickup_Customizer->get_preview_func(”)
#26 /home/josh/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
#27 /home/josh/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#28 /home/josh/public_html/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_alp_cus…’)
#29 {main}
thrown in /home/josh/public_html/wp-content/plugins/woocommerce/includes/tracks/events/class-wc-orders-tracking.php on line 85
- The topic ‘Critical uncught error after installing Plugin’ is closed to new replies.