Undefined index: recaptcha_challenge_field in recaptcha.module on line 203.
Undefined index: recaptcha_response_field in recaptcha.module on line 204.

I couldn't reproduce the error myself, but I see such errors regularly in my logs. I think those are created by register-spam-bots who are not configured to include the said fields!

We could at least repress the error message, and, maybe, add an entry in the logs about recaptcha having defeated another spambot! :)

CommentFileSizeAuthor
#5 recaptcha_undefined_index_warning.patch805 bytesmelsawy
#1 420286_1_Undefined_Index_Warning.patch540 bytesAnonymous (not verified)

Comments

Anonymous’s picture

Status: Needs review » Active
StatusFileSize
new540 bytes

I believe that this should fix the problem.

Anonymous’s picture

Status: Active » Needs review

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 1: 420286_1_Undefined_Index_Warning.patch, failed testing.

melsawy’s picture

Issue summary: View changes
StatusFileSize
new805 bytes

attached patch for Drupal 7

hass’s picture

Status: Needs work » Fixed

Should be fixed. Please give DEV a try.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.