Page 1 of 1
Problem with Mediawiki 1.15.1
Posted: September 27th, 2009, 6:06 am
by yeahlang
Deprecated: Function split() is deprecated in D:\Program Files\xampp\htdocs\pkm\skins\GuMax.php on line 386
please help me, Paul.
Thanks!
Re: Problem with Mediawiki 1.15.1
Posted: September 27th, 2009, 8:12 am
by Paul
Thanks for reporting this issue...
Since PHP 5.3 the function split() is deprecated (see
http://ca3.php.net/manual/en/function.split.php). A alternative function is preg_split (see
http://ca2.php.net/manual/en/function.preg-split.php).
So just search
Code: Select all
$pageClasses = split(" ", $this->data['pageclass']);
and replace with
Code: Select all
$pageClasses = preg_split("/[\s]+/", $this->data['pageclass']);
I will update the existing version and release it soon...
Re: Problem with Mediawiki 1.15.1
Posted: September 27th, 2009, 8:19 am
by yeahlang
Thank you so much, It works.