Forum
Urgent - Blog error
Im getting an error when I try to save a blog post. I need urgent help please as the site is going live today!
Im only getting this error on the live server on staging site, not on my local machine.
Fatal error: Call to undefined function mb_convert_encoding() in /home/bblf/public_html/dev05/perch/core/lib/ParsedownExtra.class.php on line 2015
Thanks
Looks like you'll need the PHP multibyte string extension in order to use Markdown.
https://php.net/manual/en/book.mbstring.php
This should be something your hosting will offer.
Thanks you Drew. I'll ask them about that. For now I have commented out the offending line
That's a really bad idea. You can't just take out a random line of code and hope things keep working. You'll get yourself into a dreadful mess.
I'd recommend either installing mb_string (should take about 2 minutes!) or not using Markdown until you have.
OK thanks. Im on to the hosts now!
The host did as you suggested and it seems to have fixed the issue. Thanks.