Last modified: 2010-05-15 15:56:52 UTC
Some articles (without an apparent connection) on an in-development wiki have begun rendering the following warnings at the top of the page: Warning: array_slice(): The first argument should be an array in /home/bnlwiki/public_html/wikwik/languages/Language.php on line 858 Warning: Invalid argument supplied for foreach() in /home/bnlwiki/public_html/wikwik/includes/MagicWord.php on line 183 The warnings appear at the top of the browser behind the images and buttons of the wiki - it is the first text in the rendered html of the pages it appears on.
Thorough investigation seems to indicate the source of this issue is the "switch" parser function. I'm assuming this has some sort of issue with mediawiki 1.6.8.
Parser functions were more than likely broken with MediaWiki < 1.7.x in their most recent updates, so roll back in SVN until you find one that works.
Mediawiki 1.6.8 came out July 8; I've been all the way back to the first parsers that introduced 'switch' and it's still having the issue. My hope is still to get php5 going so I can get to the newest wiki and hopefully this will not be an issue there, but right now it's acting somewhat randomly. Depending on the editing of some pages (not necessarily the one with the switch), I'm getting the php message. I've taken to just commmenting the switch out for now.