• Resolved Gray Beard

    (@gray-beard)


    It appears that the 4.3.0 update is causing a problem with my site. Any attempt to edit a post in the admin back end produces the following error:

    Fatal error: Call to undefined function mb_convert_encoding() in /home/******/public_html/wp-content/plugins/wpsso/lib/util.php on line 1248

    I have disabled all other plugins, and the problem is still there. I have examined the phpinfo output, and the php build does include multibyte support.

    Installation details are as follows:

    Apache Version 2.4.33
    PHP Version 5.6.36
    MySQL Version 5.5.59-cll
    WordPress Version 4.9.5
    WordPress Theme Twenty-Thirteen
    WPSSO Version 4.3.0

    Any help would be greatly appreciated.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author JS Morisset

    (@jsmoriss)

    You should contact your hosting provider – the mb_convert_encoding() function should be available if the mbstring PHP extension is loaded. It sounds like your hosting provider needs to fix their PHP. WPSSO checks that the mbstring PHP extension is loaded, and issues an error notice if it’s not, so perhaps your mbstring PHP extension is just compiled incorrectly.

    js.

    Thread Starter Gray Beard

    (@gray-beard)

    Thanks for the fast response. I will contact them and report the outcome.

    Thread Starter Gray Beard

    (@gray-beard)

    Our server has been upgraded to 7.1.17 but the problem persists, albeit in slightly different form. Now when I attempt to edit a post, I get a generic HTTP 500 error.

    Looking at the phpinfo() output, the Configure Command string contains the following:

    ‘–enable-mbstring=shared’ ‘–enable-mbregex’

    Are those settings correct?

    Plugin Author JS Morisset

    (@jsmoriss)

    An HTTP 500 error is a generic web server error – check your web server logs for more info. 😉

    I cannot comment on your compile options as I do not compile PHP and have not looked at the command line arguments required – I prefer to use standard Linux packages. 😉

    js.

    Plugin Author JS Morisset

    (@jsmoriss)

    There should be an mbstring package available for your distro. For example:

    $ yum search mbstring
    php72w-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
    
    Thread Starter Gray Beard

    (@gray-beard)

    Could it be a php.ini problem? It appears that all the multibyte string related options in php.ini are commented out. Could this be the problem? (although why this problem would only appear now is a mystery).

    Thread Starter Gray Beard

    (@gray-beard)

    Problem solved. Apparently, the mbstring module was not installed following a recent system update. The hosting service has corrected the problem.

    Thanks much for your excellent support!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Error with v4.3.0’ is closed to new replies.