Hi.

Today I update a site from D6.24 to 6.25 and some other modules. When I ran the update of the database, I noticed these warning messages:

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

The update was realized and the website works perfectly, but i like to register this.

Tks

Comments

chales’s picture

This is a very common error with simple updates that don't have changes via update.php and is usually harmless. Arg 2 in the array_merge call mentioned can end up being NULL so an error is reported.


DrupalVoodoo