Seeing “Fatal error: Uncaught Error: Call to undefined function mb_strtolower()” on a page that uses All in One SEO? That message usually means one thing: the PHP extension that provides mb_strtolower() is not available to the PHP version that runs your site. Until that extension is installed and enabled, AIOSEO cannot run and PHP stops with a fatal error.
All in One SEO is crashing my site with "Fatal error: Uncaught Error: Call to undefined function mb_strtolower()". What does this mean, and how do I fix it?
If you are wondering what is broken: PHP is missing the mbstring extension that All in One SEO expects. WordPress calls mb_strtolower(), PHP cannot find that function, and the whole request dies with a fatal error.
mb_strtolower() is part of PHP’s mbstring extension. That extension adds multibyte string functions, so plugins can safely handle UTF 8 titles, slugs and content.
On your server, the PHP process that runs WordPress does not have mbstring loaded. When AIOSEO tries to call mb_strtolower() to normalize a string, PHP hits an undefined function and throws:
Fatal error: Uncaught Error: Call to undefined function mb_strtolower()
This almost always comes down to one of these:
The good news: you do not need to edit AIOSEO or WordPress. You just need to enable mbstring on the PHP version that runs your site.
If visitors are seeing the fatal error on the front end, focus on getting mbstring enabled first. Once that is done, AIOSEO will load normally again.
If you have access to your dashboard and the error only appears in logs:
mbstring is listed.If you cannot reach the dashboard at all, you can still safely assume mbstring is missing or not loaded if the fatal error points at an AIOSEO file and mentions mb_strtolower().
On many shared hosts you can enable mbstring yourself:
If your host hides extension settings or you do not see mbstring listed at all, move to the next step.
On managed WordPress hosts and many VPS setups, the fastest fix is to open a support ticket. You can send a message like this:
I am getting this error on my WordPress site:
Fatal error: Uncaught Error: Call to undefined function mb_strtolower()All in One SEO uses the PHP mbstring extension. Can you please install and enable mbstring for the PHP version that runs my site?
Ask them to confirm once mbstring is enabled, then reload your site.
Sometimes hosts will say mbstring is installed, but you still see the fatal error. In those cases, PHP on the command line may have mbstring, but the PHP handler that serves the site does not.
phpinfo() page your host provides.On cPanel based servers with MultiPHP, you may need to enable mbstring under both Select PHP Version and MultiPHP INI Editor for the domain. If you are unsure, ask support to confirm that mbstring is loaded for the handler serving your site, not just for CLI PHP.
Custom configuration files can accidentally turn off extensions.
public_html for:
php.ini.user.ini.htaccess rules that mention mbstringmbstring.disable_functions = mb_strtolowerIf you are not comfortable editing these files, have your host review them for mbstring related settings.
If the fatal error is blocking your dashboard and you need temporary access while the host fixes mbstring, you can disable AIOSEO without deleting it.
wp-content/plugins/.all-in-one-seo-pack-disabled.WordPress will see the plugin folder as missing and deactivate AIOSEO, so the fatal error stops and you can log in. Your settings stay in the database and will come back once the plugin is active again and mbstring is enabled.
Important: this is a temporary workaround. AIOSEO and other plugins that rely on mbstring will still need the extension enabled to work correctly.
You are in good shape when:
mb_strtolower().Call to undefined function mb_strtolower().Hit Continue Chat below and send me:
I will help you work through your specific hosting setup and any remaining configuration issues.
Scroll down to the contact form below. Enter your name, email, and WordPress needs. Atiba will get back to you as soon as possible.
WP Assistant is a free tool created by Atiba Software, a WordPress design and development company located in Nashville, TN. If you need more personalized WordPress assistance let us know, and we’ll get back to you ASAP!