Closed (fixed)
Project:
reCAPTCHA
Version:
6.x-1.x-dev
Component:
reCAPTCHA Captcha
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2008 at 17:38 UTC
Updated:
9 Jun 2013 at 15:09 UTC
When you submit a CAPTCHA, you get a warning:
notice: Undefined index: captcha_response in captcha.module on line 306.
reCAPTCHA works, it just reports a warning.... Something to do with #preprocess maybe.
Comments
Comment #1
robloachDoes anyone else experience this?
Comment #2
pwieck commentedI have this same problem after submitting. Using Drupal 6 DEV Sept 17. I have been finding that many of these error are related to cache, but I have no idea how to fix them. I have the same problem in cck when saving old nodes and had the problem when converting old views. The views 2 module had a clear cache button that fix everything in views but the site clear cache did nothing. Must be a mysql issue.
Comment #3
pletcher commentedI also ran across this problem. Following the code into recaptcha's preprocess case shows that neither the type nor the response gets used (recaptcha gets the reponse out of $_POST). Thus, here is a quick patch to remove the notice without (hopefully) breaking anything else. Its not a permanent fix.
To fix more permanently, whatever is setting the form values (recaptcha?) should set catpcha_response before passing it to the captcha api.
Comment #4
beginner commentedSee #312611: notice: Undefined index: captcha_response in captcha.module issue queue.
Comment #5
pwieck commentedclosed this since it's so old and most likely fixed by now.