Posted in linux
11
5:25 am, April 8, 2020

how to fix - Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding()

I use the php readability library in some of my code, and found on a new server that it was throwing the error.

Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding()

For me this was caused on Debian from php missing the extention:

php-mbstring php7.0-mbstring

which can be installed in debian by using the following command:

sudo apt-get install php-mbstring

View Statistics
This Week
0
This Month
0
This Year
0

No Items Found.

Add Comment
Type in a Nick Name here
 
Search Articles
Search Articles by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.

Join me on Substack if you want me to send you a collection of the things i have done or found or read for the week. Or follow me on twitter if you prefer, i dont post much but i probably should!

❤👩‍💻🕹

Random Quote
When I realized that, no individual step is hard in any process. Building this airport I'm standing in right now started with a guy writing the architectural plans on paper. That's not hard for him to do. Then laying the first beam isn't had. The whole thing is really hard. So, just take each step kind of piece by piece and when I was able to do that and stop trying to chase this prize and started putting in the work, things just started coming together.
Unknown