• Resolved alexjc347

    (@alexjc347)


    I have a Fatal error 500 after update from 2.10 to 2.16 version.
    PHP 7.2, WP 5.1.1
    logs:
    [08-Apr-2019 17:42:48 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mb_strtolower() in /home/public_html/wp-content/plugins/404-solution/includes/PluginLogic.php:90
    Stack trace:
    #0 /home/public_html/wp-content/plugins/404-solution/includes/WPConnector.php(93): ABJ_404_Solution_PluginLogic->initializeIgnoreValues(‘/wp-includes/js…’, ‘wp-includes/js/…’)
    #1 /home/public_html/wp-includes/class-wp-hook.php(286): ABJ_404_Solution_WordPress_Connector::process404(”)
    #2 /home/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #3 /home/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #4 /home/public_html/wp-includes/template-loader.php(13): do_action(‘template_redire…’)
    #5 /home/public_html/wp-blog-header.php(19): require_once(‘/home/pu…’)
    #6 /home/public_html/index.php(17): require(‘/home/pu…’)
    #7 {main}
    thrown in /home/public_html/wp-content/plugins/404-solution/includes/PluginLogic.php on line 90

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Aaron

    (@aaron13100)

    Hi Alex,

    Apparently this is because the multibyte extension “mbstring” isn’t enabled for your installation of PHP. I’ll take a look at writing an update to work around this, but please consider contacting your hosting provider and asking them to turn on the mbstring PHP extension for you.

    Using the extension in PHP allows handling characters in languages other than English. Without this option enabled in your PHP configuration, any workaround I build into the plugin to make it just “work anyway” means it will not work correctly for any non-English characters.

    Anyway I’ll have a look at it tomorrow and let you know when an updated version is available.

    If you’re a technical person (and if you want to) you can try to enable it by yourself by following the instructions at https://www.php.net/manual/en/mbstring.installation.php and adding the –enable-mbstring option, or maybe just set “zend.multibyte = On” in php.ini.

    Plugin Author Aaron

    (@aaron13100)

    I’ve looked at the code today and this requires significant changes throughout. I need to consider whether I will fix this or not and I’m leaning towards not fixing it because:

    1) A “fix” would mean the plugin would run but will not work correctly in some situations.

    2) The “mbstring” extension is standard for most PHP configurations.

    3) According to https://wordpress.stackexchange.com/a/42141/161843 and https://www.ulduzsoft.com/2012/01/247/ the mbstring extension is required for WordPress if you don’t use UTF8.

    Currently your options are the following.
    A. Uninstall the plugin and find a different one.
    B. Ask your hosting provider to turn on the mbstring extension in PHP.
    C. Wait.

    In any case, I’ll let you know if anything changes.

    • This reply was modified 5 years, 7 months ago by Aaron.

    I’m not sure why you would release this update without including some kind of warning that it might bring down your entire website. It doesn’t work with GoDaddy’s managed WordPress setup, which is a fairly popular hosting solution – who knows how many sites are nonfunctional because of this?

    Plugin Author Aaron

    (@aaron13100)

    If godaddy is your host you can actvate mbstring by following the instructions at https://www.godaddy.com/help/enabling-apache-or-php-modules-using-easyapache-6237 or https://stackoverflow.com/a/54101852/222564

    Plugin Author Aaron

    (@aaron13100)

    The fix for this should be available sometime Saturday.

    Thread Starter alexjc347

    (@alexjc347)

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal error v2.16’ is closed to new replies.