I’ve been using Contact Form 7 plugin since last 3 years and haven’t noticed any issue with the plugin on number of diff sites.
Update:
We already moved over to Google Form in 2017 as our primary Contact Form.
This is an awesome WordPress Plugin because it literally allows you to define everything on your own terms from a very WYSIWYG interface. You can choose how many fields you’d like in each form, as well as their title, and/or radio buttons for selection. It also has CAPTCHA
and Akismet
support, and customization CSS.
Even better, this plugin has the ability to translate.
Recently I got separate email message from users saying some issue with Contact Form saying Failed to send your message. Please try later or contact administrator by other way
. And I tried the same immediately after that and surprisingly I got the same message as mentioned in email:
After looking at code and surfing around found an issue related to “WP Super-Cache” plugin. The contact form plugin generates a unique token for each person who submits the form, presumably to stop SPAM attacks, which was being cached by WP-Super Cache which in turn caused the token to no longer be unique or valid.
How did I fix this?
- Go to WP Super-Cache Admin panel
- Go to Advanced Tab
- Search for “Add here strings (not a filename) that forces a page not to be cached.”
- Add
/contact/
(your Contact Form Page name) (Below image) - Save Strings.
Basically we don’t want to cache Contact Page. I hope this helps somebody who gets stuck by this error.
Upgrade your hosting PHP version, should fix the issue.
I fixed mine by downgrading my PHP version from 7.4 to 7.3 hope it helps someone
Aaaha.. Thanks for suggestion. I also faced lots of issues after upgrading to PHP 7.4. Currently Crunchify.com run on PHP 7.3.
I’m planning to upgrade to PHP 7.4 in March 2020.
Hola a mi no me funciona, donde puedo encontrar el supercache? gracias
What error are you getting? Are you using WP Super Cache plugin on your site?
Thanks a lot! After how many searches I made and giving me the same answers which did not worked, I finally found your post and it worked. 🙂
Great to hear that Gerald. I hope you find al of our tutorials very helpful. We have only one goal to provide top rated and high quality tutorials for free to our audience.
Does not work for me 🙁
Hi Danijel – what is your site contact page URL? Make sure you replace “/contact/” with your page URL.
I would suggest to remove slash also and keep only “contact” in WP Supercache setting page. Let me know.
Didnt work for me either. I have it like this..
wp-.*.php
index.php
http://www.mypage.com/contact/
Try this:
wp-.*.php
index.php
contact
Didnt work, still get error msg. Do you need to add contact page URL?
nope. I’ve double confirmed. Above setting shouldn’t cache your contact page.
Hi App Shah, I have just followed your way, have and dont have /../ but it still don;t work.
Hi there – without site access now it’s really difficult for me to debug further. Might be related to caching issue and plugin configuration setting.
Thank You very much. After trying so many other possibilities, since so many days, your blog saved me.
You are welcome Sirisha. I’m glad mentioned tricks worked for you.
Thats correct.. Thanks for posting on Crunchify..
Hi How to find the advanced tab in wp i am not able to find.
Hi Anurag-
2nd Tab under “WP Super Cache” menu is “Advanced” tab.
Thanks. This is what I’m looking since long time.
Awesome..
Thanks!
I’m glad you like this post Stephen.