Skip to main content

An error occurred while sending the message - Prestashop

OneA ofclient ourrecently clientsreached contactedout to us becausedue ofto an error they encountered while sending a message using the form withinon the PrestashopPrestaShop "Contact Us" page.

I'm usingcurrently utilizing PrestaShop 1.7.7, Defaultcomplete theme.with Defaultthe modulesdefault theme and somodules. on. AndMoreover, I haven't installed anythingany additional plugins or tools yet.

When

Here's the issue: whenever I attempt to send a message using the form withinon the "Contact Us" pagepage, itan will show aerror message withpops up against a red backgroundbackground, sayingstating, "An error occurred while sending the message".

Imessage."

have

I've triedmade various attempts to turnrectify offthis issue, such as disabling modsecurity, changetoggling between phpdifferent versionsPHP versions, and someadjusting configs,a few configurations, but nothing seemsappears to help.be working. I would greatly appreciate aany lotassistance somein helpresolving withthis this,issue, and I'm willingeven prepared to pay for a viable solution if thisthe problem is notisn't related to the web hosting service.

ThereWe've isstumbled upon a post relatedon Stack Overflow that seems to address the describedsame issue on Stackflow. It isissue, specifically associated with the PrestashopPrestaShop version mentioned.

Inthe short,client replacingis using.

To summarize, the solution proposed in the post is to replace the current contactform.php with a previous version located within /modules/contactformcontactform, which should effectively resolve the issue.