HERE’S WHAT I DID:
Re-installed all of the files from the 2.5.1 distribution (including /system/installer just to be safe).
Pointed my browser at the control panel. It told me everything was updated.
Went to Content > Publish > [channel_name].
HERE’S WHAT I EXPECTED:
The control panel to open so I can add an article.
HERE’S WHAT HAPPENED:
I received two instances of the following error:
A PHP Error was encountered
Severity: Warning
Message: Wrong parameter count for array_unique()
Filename: libraries/EE_Javascript.php
Line Number: 68
I’m unable to add an image to the draft article. My {image] field is a channel field in my “default” field group. Field settings type is “file” and field options file type is “image.”
As others have noted below, I’m also getting the above error (but only a single instance of it) in the File Manager.
I’m also suddenly getting a bunch of other PHP warnings all of a sudden that I can’t replicate just now.
Update: Here’s a sampling of the PHP warnings; most are repeated at least twice:
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: plugin_info
Filename: models/addons_model.php
Line Number: 145
A PHP Error was encountered
Severity: Warning
Message: array_unique() [function.array-unique]: The argument should be an array
Filename: models/addons_model.php
Line Number: 145
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: plugin_info
Filename: models/addons_model.php
Line Number: 183
{/code]
[code]
A PHP Error was encountered
Severity: Warning
Message: array_unique() [function.array-unique]: The argument should be an array
Filename: models/addons_model.php
Line Number: 183
And yes, there’s boat-loads of third-party stuff involved; I’ve tried turning off all of it that I can, with the same problem resulting.
Let me know if you want me to provide you with an admin login.