#1 2016-03-09 15:52:35


php 5.6 and : Call to undefined function mb_split()


I just upgraded my piwigo gallery from version 2.5 to version 2.8 as Free does not allow php 5.6 while adding a config file at the root level.

Everything went fine, the upgrade is done without error, I can view the admin interface and configure my gallerie. But no one can browse the gallery as there is an error :


Fatal error</b>:  Call to undefined function mb_split() in <b>/var/www/sda/6/c/photos/include/smarty/libs/plugins/shared.mb_str_replace.php</b> on line <b>48</b><br />

I think that all php function are not allowed at, and mb_split() seems to be one of them.

Do you have any information about that? Is it planned that add the support of this php function?

Do I have to downgrade my version of Piwigo? To which version should I downgrade ? How can I downgrade as downgrading is not well documented?

Thanks everyone!

Piwigo version: 2.8.0
PHP version: 5.6.8
MySQL version: 5.0.83
Piwigo URL: http://

Last edited by oupala (2016-03-09 15:56:43)



#2 2016-09-04 18:37:15


Re: php 5.6 and : Call to undefined function mb_split()

try to change line 48 of file include/smarty/libs/plugins/shared.mb_str_replace.php by following line
      $parts = preg_split('~preg_quote($search)~', $subject);

I add the same symptom, I have made this modification and now it works great
I am using as Internet Service Provider.


Board footer

Powered by FluxBB

github twitter newsletter Donate © 2002-2022 · Contact