PDA

View Full Version : How to correct codes in this Mod for PHP 7


Mattwhf
09-13-2016, 12:46 AM
Hello,

I upgraded PHP7 for my forum and it runs as well

but 2 Mods on my forum got errors and could not run with PHP 7

One of them is reCAPTCHA v2 Human Verification
https://vborg.vbsupport.ru/showthread.php?t=315960

After activated the Mod in admin, go to register.php page

it showed error and could not load the page

here's errors

Call to undefined method vB_HumanVerify_Abstract::vB_HumanVerify_Abstract() on line 14 in /home/myusername/public_html/includes/class_humanverify_new_recaptcha.php
#0 /home/myusername/public_html/includes/class_humanverify.php(61): vB_HumanVerify_New_Recaptcha->vB_HumanVerify_New_Recaptcha(Object(vB_Registry))
#1 /home/myusername/public_html/register.php(1244): vB_HumanVerify::fetch_library(Object(vB_Registry))
#2 {main}



Does anyone know how to correct codes in this Mod to work with PHP7? or do we need to wait the author to correct it?

This mod is helpful for vB forums and i think it need to be upgraded regularly.

Thanks
Matt