Closed (fixed)
Project:
Taxonomy Filter
Version:
7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
1 Jun 2009 at 21:13 UTC
Updated:
16 Jun 2009 at 04:10 UTC
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
Comment #1
solotandem commentedI 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.