I rolled back to CF7 4.7 and all is well now. If updating to CF7 4.8 with the latest version of WordPress then it will most likely not work. Test before going live and make a backup before you do in case you need to roll back.
net
(@krstarica)
Also confirm it doesn’t work, had to revert to previous version.
Same here with 4.8. It’s fine if I roll back to 4.7. Just kept spinning when trying to submit and was coming up with 404 error in console for /wp-json/contact-form-7/v1/contact-forms/1775/feedback/
Roll back does not work either. Just Spinning and said, that mail was not send. Any ideas?
net
(@krstarica)
@der-bank-blog just clear the cache, including JavaScript minifier one if you have it installed.
Thanks. I deleted CF7 and installed 4,7 new. Now ist working again
I have the same problem with 4.8. No mails will be sent. After restoring to 4.7 with UpdraftPlus, it is OK. Please fix it.
Thank you
For me it looks like the issue was caused by some htaccess code I had added a while back to force a trailing slash:
# Add trailing slash
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^((.*)[^/])$ $1/ [L,R=301]
The trailing slash htaccess rule didn’t cause any issues with 4.7, but it doesn’t work with 4.8. If I remove the rule then 4.8 works fine for me.
I have only
RewriteCond %{REQUEST_FILENAME} !-f
in my htaccess
and not the rewrite rule you mentioned
Yeah you likely have a different issue if 4.7 isn’t working for you like it does for everybody else in this thread.
I figured out a way to keep the trailing slash rule but exclude it from POST requests so that it doesn’t affect CF7:
RewriteCond %{REQUEST_METHOD} GET
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^((.*)[^/])$ $1/ [L,R=301]
Upgraded to latest version of WordPress, 4.8 and 4.8 for CF7 and confirmed the same errors as above. Even disabling the REST API didn’t solve it. Rolling back to CF7 4.7 and all works well.
net
(@krstarica)
We’ve found the cause of CF7 not working on our WordPress.
We were using Disable REST API plugin:
https://ww.wp.xz.cn/plugins/disable-json-api/
Is it necessary for CF7 to use REST API?