wyardx
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Simple Contact Form without captcha does not work any moreThe solution is simple: “Disable REST Api” has some config page. Contact form is listed there and can be whitelisted. So Contact form can use REST API anonymously.
Forum: Plugins
In reply to: [Contact Form 7] Simple Contact Form without captcha does not work any moreHi, as i looked at the call stack, i saw some code like …rest…, then i realized that the plugin “Disable REST API” disallows anonymous requests. So voila, that’s the reason. When the plugin is disabled, the anonymous request works fine. Per default the Disable Rest API is installed and active, that’s why contact form was broken. So i will look for some solution that both plugins work together…
Forum: Plugins
In reply to: [Contact Form 7] Simple Contact Form without captcha does not work any moreNow i tried this: I installed a second clean version of WordPress on the website with the following settings:
WordPress 5.0.3
I deleted all plugins (besides WP Update, REST api, RPC Pingback: It seems that are standard)
I installed Contact Form 5.11
As Theme 2019 is used.
I inserted the default form in following page: https://www.karinchannelt.eu/wp-demo/?page_id=2The behaviour is the same: As WordPress Admin, the form is sendable, as anonymous i got the same JS error.
So it seems that neither WordPress version nor theme (Ashe) is the cause. But i am still clueless. Any hints are welcome.
Thanks!
Forum: Plugins
In reply to: [Contact Form 7] Simple Contact Form without captcha does not work any moreHi, I don’t understand that (recaptcha). There has been only “Contact Form 7 Image Captcha” activ but not used.
But now i deleted all plugins that sounds like captcha even if there are inactive.
Now there are no captchas left. And concerning reCaptcha: There is no key (has never been). Only a configure button, behind that there are only 2 empty fields.
I haven’t a idea why there is still this in the code:
<input type=”hidden” name=”g-recaptcha-response” value=”” />But i have now a small success. As wpadmin i can now sent a form. The JS Code crashes when it is used anonymous. After login out i can reproduce the JS error.
The console shows that:
jquery.js?ver=1.12.4:4 POST https://www.karinchannelt.eu/wp-json/contact-form-7/v1/contact-forms/213/feedback 401 (Unauthorized)
send @ jquery.js?ver=1.12.4:4
ajax @ jquery.js?ver=1.12.4:4
wpcf7.submit @ scripts.js?ver=5.1.1:341
(anonymous) @ scripts.js?ver=5.1.1:56
dispatch @ jquery.js?ver=1.12.4:3
r.handle @ jquery.js?ver=1.12.4:3If i had changed some code i would understand but i didn’t. But thanks for help anyway, i will look into it tomorrow.