* warning: array_merge() [function.array-merge]: Argument #2 is not an array in /.../core/update.php on line 309.
* warning: Invalid argument supplied for foreach() in /.../core/update.php on line 542.

Using PHP 5.2.4.

CommentFileSizeAuthor
#3 patch.patch499 byteswebernet

Comments

phani’s picture

i've got the same warnings, but nothing critical happened; the update went through, modifiyng all tables as supposed, and i haven't seen any further errors since...

stevenpatz’s picture

I can confirm.

webernet’s picture

Status: Active » Needs review
StatusFileSize
new499 bytes

Update 1010 is missing a mandatory return value. Attached patch is untested.

See also: #167610: Standardize the return values of updates

yched’s picture

Status: Needs review » Fixed

Hm, that and #304118: 1.8 release - Parse error: unexpected ',' in nodereference.module , I did a great job, really.
Fixed in 1.9...

To the people that were bitten by this : these warnings are harmless - your db is fine, and there's no need to re-run update.php

Sorry about that.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.