This topic has 2 replies, 2 voices, and was last updated 2 years, 6 months ago ago by Olga Barlow
when I use the email builder:
1- the emails that should be sent are not sent.
2- If I force the email, it generates the following error:
Fatal error: Uncaught TypeError: Argument 1 passed to Pelago\Emogrifier\CssInliner::inlineCss() must be of the type string, null given, called in /homepages/41/d896247036/htdocs/clickandbuilds/WordPress/TamadabaSport/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php on line 570 and defined in /homepages/41/d896247036/htdocs/clickandbuilds/WordPress/TamadabaSport/wp-content/plugins/woocommerce/vendor/pelago/emogrifier/src/CssInliner.php:169 Stack trace: #0 /homepages/41/d896247036/htdocs/clickandbuilds/WordPress/TamadabaSport/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(570): Pelago\Emogrifier\CssInliner->inlineCss(NULL) #1 /homepages/41/d896247036/htdocs/clickandbuilds/WordPress/TamadabaSport/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(658): WC_Email->style_inline(‘…’) #2 /homepages/41/d896247036/htdocs/clickandbuilds/WordPress/TamadabaSport/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-invoice.php(139): WC_Email->send(‘er in /homepages/41/d896247036/htdocs/clickandbuilds/WordPress/TamadabaSport/wp-content/plugins/woocommerce/vendor/pelago/emogrifier/src/CssInliner.php on line 169
everything works just fine turning off the email builder
Hello,
This is a known issue. Follow the steps described in this post https://www.8theme.com/topic/critical-error-when-sending-woocommerce-emails-after-theme-update/ and change the code.
Regards
Tagged: email builder, fatal error, themes, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up