Posted in linux
2733
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
88
This Month
381
This Year
776

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 here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

Subscribe to weekly updates about things i have added to the site or thought interesting during the last week.

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote
There is a qualitative and quantitative difference between a day that begins with a little exercise, a book, meditation, a good meal, a thoughtful walk, and the start of a day that begins with a smartphone in bed.
Unknown
Random CSS Property

print-color-adjust

The print-color-adjust CSS property sets what, if anything, the user agent may do to optimize the appearance of the element on the output device. By default, the browser is allowed to make any adjustments to the element's appearance it determines to be necessary and prudent given the type and capabilities of the output device.
color-adjust css reference