warnings during update
mariuss - September 25, 2008 - 19:20
| Project: | Taxonomy Redirect |
| Version: | 5.x-1.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
When updating the module the following warnings showed up:
- warning: array_merge() [function.array-merge]: Argument #2 is not an array in /.../update.php on line 309.
- warning: Invalid argument supplied for foreach() in /.../update.php on line 542.
Everything seems to be running fine, not sure if any update steps were skipped.
Using PHP Version 5.2.4.
This is the table structure after the update:
CREATE TABLE taxonomy_redirect (
vid int(10) unsigned NOT NULL default '0',
module varchar(255) NOT NULL default '',
path text NOT NULL,
tid int(10) unsigned default NULL,
separator_replace varchar(1) default '',
remove_text varchar(250) default NULL,
filter int(4) default '1',
KEY vid (vid)
);Is that correct?

#1
That is the correct table structure.
Will look into the error.
#2
The install file has been fixed so you no longer get the warning.
The install it was doing before was still alright though, it was just the warnings.
#3
Automatically closed -- issue fixed for two weeks with no activity.