Wedge

Public area => Bug reports => The Pub => Archived fixes => Topic started by: txcas on January 23rd, 2014, 06:02 PM

Title: Errors from ManageServer.php
Post by: txcas on January 23rd, 2014, 06:02 PM
I got the following errors:

2: array_combine() [<a href='function.array-combine'>function.array-combine</a>]: Both parameters should have at least 1 element

2: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #3 is not an array
Title: Re: Errors from ManageServer.php
Post by: Nao on January 24th, 2014, 04:07 PM
Why does no one ever post line numbers for these error messages..?

Or *even* just how to reproduce? Like, what page were you visiting..? -_-
Title: Re: Errors from ManageServer.php
Post by: txcas on January 24th, 2014, 05:03 PM
You can close this one, I have not being able to repro and I deleted the logs.
Title: Re: Errors from ManageServer.php
Post by: Nao on January 24th, 2014, 05:39 PM
It was already closed.

Also, this bug was reported by someone else earlier, I was simply waiting for the line numbers to come up -- and there you go, a second identical bug report, and again, no error lines. Not helpful.
So, as such --> I looked into it myself, and it's very likely you got the error on the Cache settings page. Basically, if it can't find a non-file cache system available, it'll try to combine two empty arrays into one, and this generates an error. Problem is, my PHP doesn't spit out any warnings or errors, and yes, I don't have any cache systems either.
Yet, the latest version should no longer exhibit this behavior.

Still, any errors that are reported at least twice = probably something to look into.