How to fix "Fatal error: Call to undefined function mb_convert_encoding"

How do I fix the error "Fatal error: Call to undefined function mb_convert_encoding" on my WordPress site?

1 Reply

You need to SSH into your Linode and install mbstring extension. It is not automatically installed when you install PHP, and needs to be installed separately. You can run the following command to install the php extension.

Red Hat / CentOS / Fedora

 sudo yum install php-mbstring

Ubuntu / Debian

 sudo apt-get install php-mbstring

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct