Hello, thanks for your product, i use on lots and lots of clients and suddently im having this error on a new installation.
It is configured wpAmelia and Woocommerce store.
When im confirming checkout, i got a fatal error
PHP Fatal error: Cannot declare class PHPMailerPHPMailerPHPMailer, because the name is already in use in /home2/meditaco/public_html/amigoinformatico/demo_sites/onlinefitness/wp-includes/PHPMailer/PHPMailer.php on line 31
The emails from Amelia are sent but then when Woocommerce is going to send his emails then i got this error message and the page is blocked and the user doest see the thanking you page from woocommerce.
I tried creating an order just from woocommerce product and everything is fine. this error comes when im trying to book with amelia and woocommerce.
Could you please tell me what is the Mail Service option that you have chosen in Amelia -> Settings -> Notificaitons settings? If you have chosen there PHP Mail could you please change it to WP Mail and check if the issue is still there?
It seems like Amelia is conflicting with something for the PHPMailer, probably WooCommerce.
Hello, thanks for your product, i use on lots and lots of clients and suddently im having this error on a new installation.
It is configured wpAmelia and Woocommerce store.
When im confirming checkout, i got a fatal error
PHP Fatal error: Cannot declare class PHPMailerPHPMailerPHPMailer, because the name is already in use in /home2/meditaco/public_html/amigoinformatico/demo_sites/onlinefitness/wp-includes/PHPMailer/PHPMailer.php on line 31
The emails from Amelia are sent but then when Woocommerce is going to send his emails then i got this error message and the page is blocked and the user doest see the thanking you page from woocommerce.
I tried creating an order just from woocommerce product and everything is fine. this error comes when im trying to book with amelia and woocommerce.
Please Help.
Bruno
Hello Bruno,
Could you please tell me what is the Mail Service option that you have chosen in Amelia -> Settings -> Notificaitons settings? If you have chosen there PHP Mail could you please change it to WP Mail and check if the issue is still there?
It seems like Amelia is conflicting with something for the PHPMailer, probably WooCommerce.
I have the SMTP option.
Yes there is a conflict because woocommerce also invoques the phpmailer.
Can you please send to the dev team? I ay this because this fatal error only comes up when I'm ordering logged in and use amelia.
Everything works fine if I'm ordering as a Guest.
Meanwhile I managed to solve because I have a mailpoet premium account and Mail poet has the option to bypass all the wp mail() options..
Of course, I already forwarded this to out developers and they will check this out. It is a conflict because of one /same library used.
Thank you for letting us know.