Announcement

#1 2021-06-19 15:25:38

TheDoc
Member
Munich / Germany
2015-10-18
173

Uncaught Error: Call to undefined function mb_split()

HI,

in order to dry-run the migration to 11.5 I'm currently setting upa alocal instance of piwigo to check compatibility of all the extensions I'm using.

So far database has been restored but when I try to start piwigo I get

Uncaught Error: Call to undefined function mb_split() in piwigo\include\smarty\libs\plugins\shared.mb_str_replace.php:48

Which is strange since phpinfo tells me "--enable-mbstring=shared" and I can also see extension=php_mbstring.dll in my php.ini

I know this is probably more an issue with my php setup but maybe someone has a tip here since the php-side of things seems to be fine...

Thanks,
Thomas

Offline

 

#2 2021-06-19 16:03:04

k5
Member
2017-11-05
68

Re: Uncaught Error: Call to undefined function mb_split()

Hello everyone
Try replace it line 48 by
$parts = preg_split('~preg_quote($search)~', $subject);
Thanks

Last edited by k5 (2021-06-19 16:05:45)

Offline

 

#3 2021-06-20 17:19:50

TheDoc
Member
Munich / Germany
2015-10-18
173

Re: Uncaught Error: Call to undefined function mb_split()

Thanks, thats what I've done to make it work in my local installation.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact