I am currently writing a PHP function but when the complete script is executed I am getting an error:
Error:
Call to undefined function mb_convert_en
On Windows, uncomment the following line in php.ini
, and restart the Apache server:
extension=mbstring
If you still get the error afterwards, make sure that what you see is not cached response.
You need to install the extension. It depends on of your operating system, here are some examples:
sudo apt-get install php-mbstring # Debian, Ubuntu
sudo yum install php-mbstring # RedHat, Fedora, CentOS