Fatal error email template not being loaded
-
The ‘WC_Email_Customer_Partial_Shipped_Order’ email template is not being loaded in Woocommerce and it’s causing this fatal error whenever I try to edit custom order status email in the customizer.
[25-Jun-2021 01:28:25 UTC] PHP Warning: Creating default object from empty value in /wp-content/plugins/woo-advanced-shipment-tracking/includes/customizer/class-wc-partial-shipped-email-customizer.php on line 350 [25-Jun-2021 01:28:25 UTC] PHP Fatal error: Uncaught Error: Call to undefined method stdClass::get_content() in /wp-content/plugins/woo-advanced-shipment-tracking/includes/customizer/class-wc-partial-shipped-email-customizer.php:361
I discovered that when your plugin gets the email from woocommerce, there is no ‘WC_Email_Customer_Partial_Shipped_Order’ email template object.
$emails = $wc_emails->get_emails();
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fatal error email template not being loaded’ is closed to new replies.