The problem is manifested by a CF7 conflict with caching. I also had thought the form was working in one browser but not another, but that turned out to be false. If you are logged in as Admin in WP then you’re bypassing the cache and the form will work.
The conflict caused by CF7 v5.4 is two fold.
One, if your caching plugin is derring JavaScript then it breaks CF7. If you have WP-Rocket they have issued a fix for the conflict. The WP-Rocket fix can be replicated in other caching plugins by excluding the deferral of this JavaScript script.
/wp-includes/js/dist/(.*).js
But even with this fix in WP-Rocket or another caching program, CF7 forms will fail after 24 hours due to the author’s use of nonces (security tokens). The only way to workaround the problem is to refresh your cache every 24-hours.
I don’t consider this a solution, just a workaround due to the performance implications. Both fixes will degrade performance and hurt SEO.
-
This reply was modified 5 years, 5 months ago by
pca2014.
@patrikswe
Sorry, note this is a result of the CF7 5.4 update.
Tobo
(@infonetzlichtcom)
Can you tell which nonce is used?
@infonetzlichtcom
I believe the nonce is generated for each form page and expires after 24-hours. When you load the page look at the URL and you’ll see a nonce string after the page URL.
WordPress Nonces
Thread Starter
null
(@patrikswe)
Thanks everyone for the replies. Very annoying indeed. So I will clear cache regularly then until a permanent solution. Hope it gets updated soon :).
Tobo
(@infonetzlichtcom)
I had to roll back for now.
It’s best to rollback unless you want to take the SEO performance hit with Google. That’s what we did. If the developer does not resolve the issue, then our business will look elsewhere.
Thread Starter
null
(@patrikswe)
Sorry for the newbie question here, but how do I roll back a version? 🙂
Tobo
(@infonetzlichtcom)
1. https://wordpress.org/plugins/contact-form-7/advanced/
2. Scroll down to the “Please select a specific version to download.”
3. Chose 5.3.2 from DropDown. Download.
4. Go to your WP site. Plugin upload. Overwrite. Complete.
Thread Starter
null
(@patrikswe)
Great! Thanks for the help!
@patrikswe
The best option is to roll back. I’m glad someone was able to help that with you. We’re all having to do the same thing.
I also had to rollback on EVERY website of my clients, because the wheel kept spinning forever. But this can’t be the solution for two weeks already?
I still have. Any solutions?