I just upgraded to latest 6.x-2.x-dev snapshot that comes with update step 6200, and I got the following:

* warning: array_merge(): Argument #2 is not an array in /path/to/drupal/update.php on line 174.
* warning: Invalid argument supplied for foreach() in /path/to/drupal/update.php on line 339.

Attached patch should fix this.

CommentFileSizeAuthor
jquery_update_update_6200.patch446 bytesmarkus_petrux

Comments

markus_petrux’s picture

Title: PHP notices in update.php do to jquery_update_update_6200() not returning array » PHP notices in update.php due to jquery_update_update_6200() not returning array

typo in title, sorry

markus_petrux’s picture

Just marked the following issue as a duplicate of this one.

#451216: Missing return for update 6200.

markus_petrux’s picture

It would be nice to get this committed, to avoid adding confusion to users upgrading from previous versions.

gorcon’s picture

Amen. Just upgraded to 6.x-2.0-alpha1 and have same problem. At this point I suppose I should just go with the latest dev build and apply the patch, but I was hoping for something a little more "official." :)

markus_petrux’s picture

Status: Needs review » Reviewed & tested by the community
scott m. sanders’s picture

subscribe

roderik’s picture

+1 RTBC; no reason to keep this in the queue.

aaron’s picture

bump

sun’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for reporting, reviewing, and testing! Committed to 2.x.

A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.

Status: Fixed » Closed (fixed)

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