split() depreciated (GuMaxVN 2.1)

If you are having problems with GuMax, post here.
Post Reply
User avatar
SwooshyCueb
Rank 0
Rank 0
Posts: 1
Joined: October 21st, 2011, 12:23 pm

split() depreciated (GuMaxVN 2.1)

Post 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.
Attachments
Screngrab of error
Screngrab of error
split.png (75.18 KiB) Viewed 2626 times
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: split() depreciated (GuMaxVN 2.1)

Post by Paul »

Thanks for sharing, it was reported by other users too.
Post Reply