Fatal error: Call to undefined function _captcha_required_for_user() in /customers/.../httpd.www/oud/sites/all/modules/captcha/captcha.module on line 653

Problem occurs when I enable captcha for module newsletter 7.x-1.0-beta6
When you are not logged in the template turns blank. (like pure html on a white page).
Screenshot attach 't

drupal version 7.10
template created with artisteer

#6 captcha-fatal-error-cure-1460538.patch449 bytesneochief
PASSED: [[SimpleTest]]: [MySQL] 718 pass(es). View
Selection_002.png36.02 KBbart.janssen
Members fund testing for the Drupal project. Drupal Association Learn more


soxofaan’s picture

Do you have this issue with other forms as well?

bart.janssen’s picture

No, just for newsletter

jaroslaw.kaminski’s picture

I've got same problem:

[Thu Apr 05 11:35:45 2012] [error] [client] PHP Fatal error: Call to undefined function _captcha_required_for_user() in /home/bumfank/work/drupal-payu/sites/all/modules/captcha/captcha.module on line 653, referer: http://drupal.local/

soxofaan’s picture

@jaroslaw.kaminski: please report on which form/page you got this problem

levialliance’s picture

Double check your caching; I encountered this error but the problem was that the form was in a block that did not have DRUPAL_NO_CACHE set (the default is DRUPAL_CACHE_PER_ROLE)

neochief’s picture

Status: Active » Needs review
449 bytes
PASSED: [[SimpleTest]]: [MySQL] 718 pass(es). View

Had the same problem. Here's the fix.

soxofaan’s picture

Status: Needs review » Fixed

committed, thanks

Status: Fixed » Closed (fixed)

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