• Resolved nomadandinlove

    (@nomadandinlove)


    I haven’t updated my template in a while. However, I recently tried to launch the customizer and I get the following error:

    Any ideas how to resolve this?

    
    Fatal error: Uncaught Error: Call to a member function get_billing_first_name() on bool in /home/customer/www/multitrance.com/public_html/wp-content/plugins/woocommerce/templates/emails/customer-completed-order.php:28
    Stack trace:
    #0 /home/customer/www/multitrance.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
    #1 /home/customer/www/multitrance.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(364): wc_get_template('emails/customer...', Array, '', '')
    #2 /home/customer/www/multitrance.com/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-completed-order.php(109): wc_get_template_html('emails/customer...', Array)
    #3 /home/customer/www/multitrance.com/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(541): WC_Email_Customer_Completed_Order->get_content_html()
    #4 /home/customer/www/multitrance.com/public_html/wp-content/plugins/woo-advanced-shipment-tracking/includes/customizer/class-wc-track in /home/customer/www/multitrance.com/public_html/wp-content/plugins/woocommerce/templates/emails/customer-completed-order.php on line 28
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter nomadandinlove

    (@nomadandinlove)

    Looks like we’re having the same issue.

    It seems that there is some conflict with the completed-order email on line 28. I took a look and I cannot see what might be the issue. This is line 28:

    
    <p><?php printf( esc_html__( 'Hi %s,', 'woocommerce' ), esc_html( $order->get_billing_first_name() ) ); ?></p>
    

    Perhaps there’s an issue with the syntax here but I can’t figure it out. It might also be that the billing information is restricted. Really not sure what might be causing this.

    Plugin Author Zorem

    (@zorem)

    Hi, We could not replicate issues with the customizer, Can you confirm that you use the latest version of WooCommerce and WP.
    It might also be a conflict with another plugin that you all use, Do you use email customizer or custom templates?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Unable to Load Customizer’ is closed to new replies.