Deprecated: Function split() is deprecated in D:\Program Files\xampp\htdocs\pkm\skins\GuMax.php on line 386
please help me, Paul.
Thanks!
Problem with Mediawiki 1.15.1
Problem with Mediawiki 1.15.1
- Attachments
-
- 2009-9-27 18-01-21.jpg (99.33 KiB) Viewed 3401 times
Re: Problem with Mediawiki 1.15.1
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
and replace with
I will update the existing version and release it soon...
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']);
Code: Select all
$pageClasses = preg_split("/[\s]+/", $this->data['pageclass']);
Re: Problem with Mediawiki 1.15.1
Thank you so much, It works.