• Resolved Zorem

    (@zorem)


    Hello,

    I’m using AutomateWoo for transactional email. I’m getting this warning in email.

    Notice: Undefined variable: email in /home/trackship/web/trackship.info/public_html/wp-content/plugins/kadence-woocommerce-email-designer/templates/woo/emails/email-header.php on line 31

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey,
    Thanks for posting. Just had a look at their code, it’s odd they should be calling the header with two variables per woocommerce standards but they are not. I found this on line 150 of their mailer.php

    $this->get_template_part( 'email-header.php', [
    	'email_heading' => $this->heading
    ] );

    I’ll add an isset check for the $email variable so that the notice doesn’t trigger.

    Ben

    Thread Starter Zorem

    (@zorem)

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘warning’ is closed to new replies.