to clarify, if I mess with the reCAPTCHA by entering rubbish, no mail is sent but from the users point of view, there is no difference in behavior. He gets the same answer as if he failed to solve the captcha.
It seems that most of the time the form reappears with the posted data filled in, but that didn’t happen consistently.
That is definitely not good… thanks for pointing this out. I’ll get to work on it.
I’m not able to recreate this on my end. Would you be able to make a public form that behaves like you are talking about, and send a link to campbellATcampbellhoffmanDOTcom ?
I feel like saying, I’m using 1.3.13 with some modifications of my own, and at least one more plugin that comes with recaptcha. Details in PM.
I have the same issue. I entered the data including reCAPTCHA code, and when I click on send the message is “The reCAPTCHA was incorrect.”. All times, but all times (for now 15) the email was sent.
I have no clue what the error is. I had first the normal reCAPTCHA Form plugin, with the same error. Then I tried the Form Manager, also with the error. So I deleted the reCAPTCHA Form plugin but the error is still there.
I changed also the reCAPTCHA keys, without an effect. I use WordPress 3.1.2. I use the form only as contact form on one site.
The form worked in the past with the reCAPTCHA Form, I don’t know since when the error occurs.
If the other reCAPTCHA plugins don’t work, there is little I can do as far as changing my plugin, since they all use essentially the same code. But if you send me a link to your form, campbellATcampbellhoffman.com, I will take a look and see if I can help you out.
Well, three possible explanations left, I think. Just to narrow down the cause a bit, speculatively
1: reCAPTCHA itself is simply broken in some way (though I doubt in this theory)
2: multiple plugins that use reCAPTCHA conflict in some way because of doing so a) because they come with different/altered/WFM-incompatible versions of recaptchalib.php (haven’t checked yet) b) conflicts with possible multiple initialisation
3: reCAPTCHA is sensitive to other (javascript?) stuff going on along side, though there is only few indication for this theory as far as I can tell so far. I think I haven’t seen any relevant errors in Firefoxes error console (But could well be I’ve missed something)
Right? Anything else not covered here?
I think that covers it. I’m leaning towards 3, though to be fair, that would imply 1. Here is my reasoning: Topedia mentioned that the ‘reCAPTCHA Form plugin’ also had the same issue. However, I have not, and clearly many others have not either, so this would mean that something about the environment, probably client side, is breaking the reCAPTCHA.
However, I find it odd that something like reCAPTCHA, more a security tool than anything else, does not break gracefully. This is why I say 1 is also likely: The how-to on Google’s site says that checking “if(!$resp->is_valid)” is sufficient to test for a valid response. If my plugin is sending an e-mail, it is only because this expression evaluated to ‘true’. At the very least, their tutorial does not cover all cases, since clearly this is evaluating to ‘true’ with garbage / broken scripts. Maybe “if(!$resp->is_valid === false)” will work better. I included this in 1.4.16, but the problem does not happen for me, so one of you will have to test it out.
Other than that, maybe a reCAPTCHA expert can tell us what we are doing wrong.
Thanks for all the inputs. I installed the new version 1.14.16, but the effect is the same. So I deactivated all plugins one by one, and now I found the affected plugin.
In my case it’s Facebook Like Thumbnail, a small plugin to select the correct picture for Facebook posts when you click on Like. If I deactivate the plugin the reCAPTCHA message is gone.
I will try to contact the developer of the plugin or to add the Facebook attributes without the plugin.