I got this error when upgrading from 1.3 to 2.0.

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

Is there a special upgrade path to 2.0? Normally I just take the site offline, remove the old module folder, copy in the new module, and run update. However, when I did that flag 2.0 threw the above error.

Files: 
CommentFileSizeAuthor
#1 1800108.flag_.missing-ret-update-N.patch945 bytesjoachim

Comments

joachim’s picture

Title:error when upgrading from 1.3 to 2.0» missing $return in flag_update_6209 -- error when upgrading from 1.3 to 2.0
Version:6.x-2.0» 6.x-2.x-dev
Status:Active» Fixed
StatusFileSize
new945 bytes

Thanks for reporting.

I'm pretty certain what's causing this. Committing this patch.

The error messages are in no way harmful, and your update should all have worked fine.

webservant316’s picture

Thanks - I just updated to 1.4 instead. I'll catch 2.x the next time.

Status:Fixed» Closed (fixed)

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