[英]“Invalid captcha” always happening in Wordpress Contact Form 7
I just added recaptcha to a contact form I have in a Wordpress site. 我只是将recaptcha添加到了我在Wordpress网站中拥有的联系表中。 I followed the steps here:
我按照这里的步骤操作:
How to add recaptcha 如何添加Recaptcha
So I created my recaptcha pair sitekey-secretkey and now they are configured in my Wordpress site as said in this manual. 因此,我创建了我的Recaptcha对sitekey-secretkey ,现在按照本手册中的说明在我的Wordpress网站中对其进行了配置。
I also added this div: 我还添加了这个div:
<div class="g-recaptcha" data-sitekey="mysitekey"></div>
But when I use the captcha, it always says " Invalid captcha ". 但是,当我使用验证码时,它总是显示“ Invalid captcha ”。 Why is this happening?
为什么会这样呢? I followed all steps.
我遵循了所有步骤。
I had the same problem when migrating to a new server but with differenct contact form plugin. 迁移到新服务器时,我遇到了同样的问题,但是使用了不同的联系表单插件。
I found this which says: 我发现这说:
allow_url_fopen setting was not properly “on”
Unfortunately, that was already on in my case, so I was unable to fix the issue. 不幸的是,就我而言,这已经存在,因此我无法解决此问题。 Maybe it will work for you.
也许它将为您工作。
Copy the key pair into the WordPress admin screen of the site you registered. 将密钥对复制到您注册的站点的WordPress管理屏幕中。
For more information follow this link : https://contactform7.com/recaptcha/ 有关更多信息,请单击以下链接: https : //contactform7.com/recaptcha/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.