Fatal error when used with WooCommerce Follow Ups plugin
-
Sparkpost causes a Fatal error when trying to send emails through the Woocommerce Follow Ups plugin. It’s linked to the recent update to PHPMailer in WordPress.
When you try to send an email the following occurs:
PHP Fatal error: Uncaught Error: Class ‘PHPMailer\PHPMailer\Exception’ not found in /wp-includes/PHPMailer/PHPMailer.php:2969
Stack trace:
#0 /wp-includes/pluggable.php(480): PHPMailer\PHPMailer\PHPMailer->addAttachment(”)
#1 /wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(653): wp_mail(Array, ‘Your OrthOracle…’, ‘<!DOCTYPE html>…’, Array, Array)
#2 /wp-content/plugins/woocommerce/includes/class-wc-emails.php(359): WC_Email->send(’[email protected]…’, ‘Your OrthOracle…’, ‘<!DOCTYPE html>…’, Array, ”)
#3 /wp-content/plugins/woocommerce-follow-up-emails/includes/sending/class-fue-sending-mailer.php(559): WC_Emails->send(’[email protected]…’, ‘Your OrthOracle…’, ‘<!DOCTYPE html>…’, Array, ”)
#4 /wp-includes/PHPMailer/PHPMailer.php on line 2969Disabling Sparkpost causes the error to go away. I have spoken to the developer of Follow Ups, they have said the problem is with Sparkpost.
- The topic ‘Fatal error when used with WooCommerce Follow Ups plugin’ is closed to new replies.