When I updated it showed this error:

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

It seems to work fine on my site though... just thought I would mention it in case it is useful to you.

Comments

solotandem’s picture

Version: 6.x-1.0 » 7.x-1.x-dev
Assigned: Unassigned » solotandem
Status: Active » Fixed

I get the same warning when I run the update.php script. As you write, it does not affect the workings of the module.

This warning is in the update code that is always looking for a database schema change to make and wants the update hook to return an array. Taxonomy filter does not make any schema changes (and does not return an array) and this warning always displays. In other words, it is a core issue / bug.

However, in the next dev release created after this post, I have added a dummy 'return array();' line to the code in each update hook.

Thanks.

Status: Fixed » Closed (fixed)

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