Page 1 of 1

split() depreciated (GuMaxVN 2.1)

Posted: October 21st, 2011, 12:40 pm
by SwooshyCueb
I just installed GuMaxVN 2.1 on a fresh MediaWiki install, and it tells me

Code: Select all

Deprecated: Function split() is deprecated in /home/swooshy/public_html/mainsite/skins/GuMaxVN.php on line 234
towards the top of the page. Attached is a screenshot. Happens with 1.17 and 1.16.1.

I just did a quick google, and it seems that preg_split() does the same thing with the same arguments. I replaced it myself, and everything seems to work fine now. Just posting this here in case others run across this problem as well.

Re: split() depreciated (GuMaxVN 2.1)

Posted: October 21st, 2011, 10:32 pm
by Paul
Thanks for sharing, it was reported by other users too.