I uploaded my Laravel project to server. It displays following error. How to fix it?
Fatal error: Call to undefined function Symfony\Polyfill\Mbstring\iconv_strpos() in /home/invoice/vendor/symfony/polyfill-mbstring/Mbstring.php on line 358
Did you install iconv
PHP extension. If not please install and enable it. This may fix your problem. Please see the Documentation. Here is the Link.
You need to install iconv extension.
You need to make sure that php-iconv and php-mbstring are installed on the server. By default, mbstring is not installed on cPanel/WHM servers
Easiest way is composer require symfony/polyfill-iconv
You need the polyfill package. You can download the polyfill package with composer or you go on this site and download it without composer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With