Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Php Error Related With Recaptcha Rate Topic   - - - - -

 
  • michael
  • Senior Member
  • Authorized Reseller
  • Join Date: 27-Oct 06
  • 209 posts

Posted 22 July 2019 - 04:05 AM #1

After a fresh install, the site will display "service unavailable" error, checked the source codes, it display as below:

PHP Fatal Error
Message
Uncaught Error: Call to undefined function Gregwar\Captcha\mb_strlen() in /var/www/html/app/addons/recaptcha/lib/Gregwar/Captcha/CaptchaBuilder.php:316 Stack trace: #0 /var/www/html/app/addons/recaptcha/lib/Gregwar/Captcha/CaptchaBuilder.php(437): Gregwar\Captcha\CaptchaBuilder->writePhrase(Resource id #112, 'jaxtz4', '/var/www/html/a...', 150, 40) #1 /var/www/html/app/addons/recaptcha/Tygh/Addons/Recaptcha/NativeCaptchaDriver.php(86): Gregwar\Captcha\CaptchaBuilder->build(150, 40) #2 /var/www/html/app/addons/recaptcha/Tygh/Addons/Recaptcha/NativeCaptchaDriver.php(67): Tygh\Addons\Recaptcha\NativeCaptchaDriver->initCaptchaBuilder() #3 /var/www/html/app/addons/recaptcha/func.php(41): Tygh\Addons\Recaptcha\NativeCaptchaDriver->__construct(Object(Tygh\Web\Session)) #4 /var/www/html/app/addons/recaptcha/init.php(23): fn_recaptcha_get_captcha_driver() #5 /var/www/html/app/lib/vendor/pimple/pimple/src/Pimple/Container.php(259): Tygh\Addons\AXmlScheme->{closure}(Object(Tygh\Web\Antibot), Object(Tygh\Application)) #6
Error at
app/addons/recaptcha/lib/Gregwar/Captcha/CaptchaBuilder.php, line: 316

Anyone know how to fix except to disable the Recaptcha addon ?

 

Thanks !


Do whatever you want to do....

 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3848 posts

Posted 22 July 2019 - 09:56 AM #2

Make sure you have the PHP extension mbstring installed on your server.