getting fatal error on front end
Closed this issue · 1 comments
yilmazgunalp commented
Hi Vinai
I installed your extension but I am getting this fatal error. What should i do? I am not a technical person so not sure. I am using V 1.7.02
Fatal error: Call to undefined function mb_strlen() in /home/kittenpu/public_html/app/code/community/Netzarbeiter/LoginCatalog/Model/Observer.php on line 131
Vinai commented
It seems your PHP is compiled without the mbstring extension (http://www.php.net/manual/en/intro.mbstring.php).
As a quick fix, replace the method call with simply "strlen()" instead of "mb_strlen()", but it then may no longer work correctly with non-ascii characters.
But the proper solution is to install the mbstring extension on your host, since the Magento core also makes use of functions it provides.