![]() |
Quote:
|
Having issues with this MOD after upgrade to vb 4.2.5. register.php does not load if thsi eature is eanbled in Human Verification Actions setting.
Uncheck "register" box and register.php loads. |
Quote:
See https://vborg.vbsupport.ru/showpost....&postcount=217 and https://vborg.vbsupport.ru/showpost.php?p=2586632 EDIT FILE /includes/class_humanverify_new_recaptcha.php On line 14 replace: Code:
parent::vB_HumanVerify_Abstract($registry); Code:
parent::__construct($registry); |
I see this in my log:
mod_fcgid: stderr: PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; vB_HumanVerify_NewRecaptcha has a deprecated constructor in /httpdocs/includes/class_humanverify_newrecaptcha.php on line 8, referer: /register.php? I know it is only a warning but a fix would be nice.. Line 8 is: class vB_HumanVerify_NewRecaptcha extends vB_HumanVerify_Abstract |
Quote:
|
I applied that fix years ago.. been awhile.
|
Within the class defined at line 8
Code:
class vB_HumanVerify_New_Recaptcha extends vB_HumanVerify_Abstract Code:
function vB_HumanVerify_New_Recaptcha(&$registry) |
Thanks,
Line 8 is class vB_HumanVerify_NewRecaptcha extends vB_HumanVerify_Abstract This is line 12: parent::__construct($registry); |
1 Attachment(s)
This is the first 16 lines of my version - does this not match your version?
PHP Code:
|
Thanks,
Mine is: <?php if (!isset($GLOBALS['vbulletin']->db)) { exit; } require_once(DIR . '/includes/class_vurl.php'); class vB_HumanVerify_NewRecaptcha extends vB_HumanVerify_Abstract { function vB_HumanVerify_NewRecaptcha(&$registry) { parent::__construct($registry); } function verify_token($input) { |
All times are GMT. The time now is 10:14 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|