Last modified: 2010-05-15 15:48:17 UTC
We have a warning message on every wiki page on our server. Warning: array_slice() ['function.array-slice'>function.array-slice]: The first argument should be an array in /home/epeople/public_html/languages/Language.php on line 1115 ALso an invalid argument warning: Warning:invalid argument supplied for foreach() in /home/epeople/public_html/includes/SpecialPage.php on line 199 Anyone have a solutions to this problem? The main pages come up fine, check every file to make sure im not missed one but they all seem to have ftp'd over fine.
What changed? Upgrade? If so, were you using precompiled serialized language files before? Either delete them from serialized/ or re-make them. (Note: Don't delete UtfNormal.ser!) If that's not the case, then check that all the language files were completely updated.
Nothing changed first install. Check to make sure all language files come through they appear to be there.
Could be a buggy extension. If a parser function doesn't initialze properly, later extensions will break; I think you'd get an error message like that.
*** Bug 8853 has been marked as a duplicate of this bug. ***