Closed (duplicate)
Project:
CAPTCHA
Version:
7.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jan 2013 at 13:37 UTC
Updated:
12 Jan 2013 at 23:28 UTC
It seems there is captcha.inc missing in the following function
function captcha_pre_render_process($element)
at line642 of captcha.module
If you add
module_load_include('inc', 'captcha');
just under the function beginning, you can remove an error when calling _captcha_required_for_user($captcha_sid, $form_id) and then _captcha_update_captcha_session($captcha_sid, $captcha_info['solution']);
which are not defined if the captcha.inc is not include before.
hope this helps.
solved
Comments
Comment #1
soxofaan commentedduplicate of #1460538: Fatal error: Call to undefined function _captcha_required_for_user() module on line 653