Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#6 | captcha-fatal-error-cure-1460538.patch | 449 bytes | neochief |
Selection_002.png | 36.02 KB | bart.janssen |
Comments
Comment #1
soxofaan CreditAttribution: soxofaan commentedDo you have this issue with other forms as well?
Comment #2
bart.janssen CreditAttribution: bart.janssen commentedNo, just for newsletter
Comment #3
jaroslaw.kaminski CreditAttribution: jaroslaw.kaminski commentedI've got same problem:
[Thu Apr 05 11:35:45 2012] [error] [client 127.0.0.1] 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/
Comment #4
soxofaan CreditAttribution: soxofaan commented@jaroslaw.kaminski: please report on which form/page you got this problem
Comment #5
levialliance CreditAttribution: levialliance commentedDouble 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)
Comment #6
neochief CreditAttribution: neochief commentedHad the same problem. Here's the fix.
Comment #7
soxofaan CreditAttribution: soxofaan commentedcommitted, thanks