An error occurred while sending the message
Hi to everybody, does you contact form give this type of error?
it keeps saying ” An error occurred while sending the message, please try again… “
While sending a custom message at a time to face this type of error. ” An error occurred while sending the message, please try again “.

Don’t panic. we provide a solution:-
Go to this path :- \themes\classic\modules\contactform\views\templates\widget\contactform.tpl
open contactform.tpl file and find the
<input class=”btn btn-primary” type=”submit” name=”submitMessage” value=”{l s=’Send’ d=’Shop.Theme.Actions’}”>
before this line add this two line :-
<input type=”hidden” name=”url” value=””/>
<input type=”hidden” name=”token” value=”{$token}”>

Noted: if your store is never compiled mode and cache mode is on then please turn of cache mode and change the status of the never compile to recompile mode.