We're Moving to a New Support Platform – Starting June 1st!

We’re excited to let you know that starting June 1st, we’ll be transitioning to a new support system that will be available directly on our product websites – Amelia, wpDataTables, and Report Builder. In fact, the new support platform is already live for Amelia and wpDataTables, and we encourage you to reach out to us there.

You'll always be able to reach us through a widget in the bottom right corner of each website, where you can ask questions, report issues, or simply get assistance.

While we still do not offer live support, a new advanced, AI-powered assistant, trained on our documentation, use cases, and real conversations with our team, is there to help with basic to intermediate questions in no time.

We're doing our best to make this transition smooth and hassle-free. After June 1st, this current support website will redirect you to the new "Contact Us" pages on our product sites.

Thanks for your continued support and trust – we’re excited to bring you an even better support experience!

Okay
  Public Ticket #2515232
Fatal Error on PHP mailer
Closed

Comments

  • Bruno started the conversation

    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

  • [deleted] replied

    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. 


  • Bruno replied

    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.. 

  • [deleted] replied

    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.