Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter surjeetkakkar

    (@surjeetkakkar)

    Hello @rur165

    I was able to fix this by doing the following.

    Changed the “public function email_header( $email_heading, $email )” in \public_html\wp-content\plugins\woocommerce\includes\class-wc-emails.php

    Changed this at line 269:

    public function email_header( $email_heading, $email ) {
    wc_get_template(
    ’emails/email-header.php’,
    array(
    ’email_heading’ => $email_heading,
    ’email’ => $email,
    )
    );
    }

    To the old function before the woocommerce update:

    public function email_header( $email_heading ) {
    wc_get_template( ’emails/email-header.php’, array( ’email_heading’ => $email_heading ) );
    }

Viewing 1 replies (of 1 total)