Jump to content

[8.0.3] Error 500 while testing email


Arnaud Roch-Trève

Recommended Posts

Hello,

I am on a fresh install of Prestashop 8.0.3.

While testing my shop, I realized that I didn't receive usual transactionnal emails when buying stuff.

I went to advanced setting > email and tried to send a test email. I got a 500 server error in the ajax call.

Here what I have in the log

[2023-05-11 13:42:59] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\ClassNotFoundError: "Attempted to load interface "Swift_Events_Event" from the global namespace. Did you forget a "use" statement?" at /srv/data/web/vhosts/mytestdomain.com/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Events/EventObject.php line 16 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\ClassNotFoundError(code: 0): Attempted to load interface \"Swift_Events_Event\" from the global namespace.\nDid you forget a \"use\" statement? at /srv/data/web/vhosts/mytestdomain.com/htdocs/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Events/EventObject.php:16)"} []
[2023-05-11 13:42:59] request.CRITICAL: Exception thrown when handling an exception (Twig\Error\LoaderError: Template "::base.html.twig" is not defined in "@PrestaShop/Admin/Exception/error.html.twig" at line 26. at /srv/data/web/vhosts/mytestdomain.com/htdocs/vendor/twig/twig/src/Loader/ChainLoader.php line 99) {"exception":"[object] (Twig\\Error\\LoaderError(code: 0): Template \"::base.html.twig\" is not defined in \"@PrestaShop/Admin/Exception/error.html.twig\" at line 26. at /srv/data/web/vhosts/mytestdomain.com/htdocs/vendor/twig/twig/src/Loader/ChainLoader.php:99)"} []

It is a fresh install, I only installed 1 module for advanced fees.

I tried using SMTP too.

Should I install another emailing module ?

Anyone have a solution ?

Thank you

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...