I am getting the same result…I submit and the captcha field is verified when I go through it but upon submitting the form, it says to check captcha code too.
Same here. Turned on the debug log for a bit and found that when I filled out the CAPTCHA and submitted the form, I got two PHP warnings:
file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0
file_get_contents(https://www.google.com/recaptcha/api/siteverify): failed to open stream: no suitable wrapper could be found in
…
Might just need to be rewritten with cURL?
Or switch plugins… That works just as well. Sorry. 🙂
Yep i’ve got this problem too. Lousy updates and lousy support by the author…
How did you guys solve this problem? Or which plugin did you switch to?
Hardeep – is this going to be fixed?!?
The reCaptcha is a bit of a necessity and I’ve had tons of complaints over it not working from my members. Please fix / update!
rlamb2, Hardeep,
Yes its the problem, file_get_contents() not work on some server
anyway replace
$recaptcha = new \ReCaptcha\ReCaptcha( $private_key );
By
$recaptcha = new \ReCaptcha\ReCaptcha($private_key, new \ReCaptcha\RequestMethod\SocketPost());
File : bp-recaptcha.php
Many thanks Mohamed, this did the trick!