Page MenuHomePhabricator

Array Slice warning
Closed, DeclinedPublic

Description

Author: lpritchard

Description:
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.


Version: 1.9.x
Severity: major
OS: Windows XP
Platform: PC
URL: http://www.epeoplepress.com/index.php?title=Main_Page

Details

Reference
bz8851

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 9:31 PM
bzimport set Reference to bz8851.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

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.

lpritchard wrote:

Nothing changed first install. Check to make sure all language files come through
they appear to be there.

ssanbeg wrote:

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.

ayg wrote:

*** Bug 8853 has been marked as a duplicate of this bug. ***