cancel
Showing results for 
Search instead for 
Did you mean: 

Call to undefined function iconv_substr()

Call to undefined function iconv_substr()

while hosting our magento website we are getting the following error

PHP Fatal error: Call to undefined function iconv_substr() in /home/mintedev/public_html/demo/app/code/core/Mage/Core/Helper/String.php on line 103

The function iconv_substr() is missing in the String.php file which is located in the path /home/mintedev/public_html/demo/app/code/core/Mage/Core/Helper/String.php

 

 

1 REPLY

Re: Call to undefined function iconv_substr()

Did you recently upgrade PHP? This looks like your PHP software does not have iconv support enabled, which normally it is by default. I would check for recent PHP changes, or php.ini changes that disabled iconv support.