Can you be more specific what you mean by “stopped working”? Do you get any error response message?
Hi,
had contact with our hoster saying that wordpress 5.7 has a change on sendmail (or jquery) function. They said i wait for the plugin to be updated or rollback to 5.6.2
It the error with the red outline tho forms can not be send.
kind regards
andre
-
This reply was modified 3 years, 6 months ago by bekkadebokka.
The issue on my end is that apparently the .initForm function has been removed, and I get a console error.
Is there an alternative to reinit the forms? Because I can no longer find .initForm in the current version of the plugin.
I can confirm that CF7 can’t send mails after updating to WP 5.7, CF7 latest version. Happens on several websites that use this combination
Each site has a different problem and different cause. You need to address them one by one in a different approach. All my responses in this topic is about https://denis-creative.com/kontakty/ Create a new topic if you want to ask about other sites’ problems.
The “There was an error trying to send your message. Please try again later.” message is explained in this FAQ:
FAQ > After submitting the form, I get an error message stating “There was an error trying to send your message.” What is wrong?
Which border color do you see? Red or orange?
@takayukister The border is red.
Another site from this server with the same settings has no problem submitting the form.
The console is clean with errors.
Enabling / disabling various caching or captcha plugins gave nothing.
@takayukister – I do not receive any error message, when Submit is pressed on my website the wheel spins but the form does not submit. If I clear the cache on my website then the Contact Form will start working but only for a short period of time before the problem starts again. I am running WP 5.7 and Contact Form 7 v5.4.
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 page cache every 24-hours or uncache the page.
I don’t consider this a solution, just a workaround due to the performance implications. Both fixes will degrade performance and hurt SEO.