2
votes

When I try to install the Pagebuilder plugin for WordPress running on PHP5.4.33 I get the following error:

Fatal error: Call to undefined function mb_split() in /home/***/public_html/mytheme/wp-content/plugins/page-builder/class/PB.PageBuilder.class.php on line 955

The full function in B.PageBuilder.class.php is as follows (see line 955 below)

function formatName($oName)
{
    $nName=null;
    $data=mb_split('_',$oName);  /*** This is line 955 ***/

    foreach($data as $value) $nName.=ucfirst($value);

    return($nName);
}

How can I fix this?

2
Have you enabled mbstring in your php.ini file? nl1.php.net/manual/en/mbstring.installation.php - Mark Baker

2 Answers

6
votes

This worked for me on fresh AWS install of Ubuntu 18.04.1, PHP 7.2.10

sudo apt-get install php7.2-mbstring
1
votes

You have to enabled mbstring in your php.ini file

see http://nl1.php.net/manual/en/mbstring.installation.php