Posted in linux
2654
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
90
This Month
354
This Year
697

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

content-visibility

The content-visibility CSS property controls whether or not an element renders its contents at all, along with forcing a strong set of containments, allowing user agents to potentially omit large swathes of layout and rendering work until it becomes needed. Basically it enables the user agent to skip an element's rendering work (including layout and painting) until it is needed — which makes the initial page load much faster.
content-visibility css reference