Fatal error on email preview
-
Hello!
First of all thank you for your plugin: it makes email template development much easier ??
I am having issues generating email previews for older orders.
Whenever I use the “Search Orders” field (https://d.pr/i/6Igj8A) I get an emtpy email on the screen (https://d.pr/i/AFOeU) and a fatal error in debug.log:[12-Mar-2018 13:37:09 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_formatted_billing_full_name() on null in /home/xyz/public_html/wp-content/plugins/woocommerce/templates/emails/admin-new-order.php:28 Stack trace: #0 /home/xyz/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(211): include() #1 /home/xyz/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(231): wc_get_template('emails/admin-ne...', Array, '', '') #2 /home/xyz/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(110): wc_get_template_html('emails/admin-ne...', Array) #3 /home/xyz/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(476): WC_Email_New_Order->get_content_html() #4 /home/xyz/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(92): WC_Email->get_content() #5 /home/xyz/public_html/wp-content/plugins/woo-preview-emails/classes/class-wooco in /home/xyz/public_html/wp-content/plugins/woocommerce/templates/emails/admin-new-order.php on line 28
This happens regardless of the order I choose.
I’ve always tried with orders in the “Processing” state.
I am on the latest WooCommerce (3.3.3).Thank you,
Guido
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Fatal error on email preview’ is closed to new replies.