• Hi there!

    All of a sudden my emails sent via WooCommerce are not customised anymore.
    When I go to WooCommerce/Settings/Emails and click on the link to view my template this message appears:

    Warning: preg_replace(): Compilation failed: invalid range in character class at offset 39 in /home/franckfo/public_html/wp-content/plugins/woocommerce/includes/libraries/class-emogrifier.php on line 1297

    I am not sure if this is due to an update or not.

    I have tried to install the Kadence WooCommerce Email Designer plugin but I am unable to do any changes either. The plugin in itself works but this is the message that comes up in my preview window (regardless of the page/email I want to customise):

    Fatal error: Uncaught Error: Call to undefined function wc_hex_is_light() in /home/franckfo/public_html/wp-content/plugins/kadence-woocommerce-email-designer/templates/woo/emails/email-styles.php:31 Stack trace: #0 /home/franckfo/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(209): include() #1 /home/franckfo/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(494): wc_get_template(’emails/email-st…’) #2 /home/franckfo/public_html/wp-content/plugins/kadence-woocommerce-email-designer/includes/class-kadence-woomail-preview.php(728): WC_Email->style_inline(‘<!DOCTYPE html>…’) #3 /home/franckfo/public_html/wp-content/plugins/kadence-woocommerce-email-designer/includes/class-kadence-woomail-preview.php(767): Kadence_Woomail_Preview::get_preview_email() #4 /home/franckfo/public_html/wp-content/plugins/kadence-woocommerce-email-designer/preview.php(40): Kadence_Woomail_Preview::print_preview_email() #5 /home/franckfo/public_html/wp-content/plugins/kadence-woocommerce-emai in /home/franckfo/public_html/wp-content/plugins/kadence-woocommerce-email-designer/templates/woo/emails/email-styles.php on line 31

    Would this be linked?

    I appreciate your time.

    Also it may be worth mentioning that I am very novice to all of this =)

  • The topic ‘Unable to customise emails in WooCommerce’ is closed to new replies.