A PHP Error was encountered

Severity: 8192

Message: Function mcrypt_create_iv() is deprecated

Filename: PseudoRandomString/McryptPseudoRandomStringGenerator.php

Line Number: 57


Fatal error: Uncaught Error: Call to undefined function Facebook\PseudoRandomString\mb_mb_substr() in /var/www/html/application/views/facebook-php-sdk/PseudoRandomString/PseudoRandomStringGeneratorTrait.php:56 Stack trace: #0 /var/www/html/application/views/facebook-php-sdk/PseudoRandomString/McryptPseudoRandomStringGenerator.php(66): Facebook\PseudoRandomString\McryptPseudoRandomStringGenerator->binToHex('\x89\xF5u+\xB4\xA1\xBC\x9Fc&/\xBB\x16\x80\x02...', 32) #1 /var/www/html/application/views/facebook-php-sdk/Helpers/FacebookRedirectLoginHelper.php(153): Facebook\PseudoRandomString\McryptPseudoRandomStringGenerator->getPseudoRandomString(32) #2 /var/www/html/application/views/facebook-php-sdk/Helpers/FacebookRedirectLoginHelper.php(170): Facebook\Helpers\FacebookRedirectLoginHelper->makeUrl('https://homesbi...', Array, Array, '&') #3 /var/www/html/application/views/fb_login.php(147): Facebook\Helpers\FacebookRedirectLoginHelper->getLoginUrl('https://homesbi...', Array) #4 /var/www/html/system/core/Loader.php(834): inclu in /var/www/html/application/views/facebook-php-sdk/PseudoRandomString/PseudoRandomStringGeneratorTrait.php on line 56