Hello,

trying to update from version 1.15 to 1.18 fails by giving the following errormessage:

warning: array_merge(): Argument #3 is not an array in /data/customers/webs/nwmedia/familienhundeverein/sites/all/modules/gallery_assist/gallery_assist.install on line 821.

What is the reason for it, an how can it be fixed??
Thanks for helping

Comments

jfinkel’s picture

The update also fails with these errors:

Duplicate column name 'aid' query: ALTER TABLE gallery_assist_item ADD `aid` INT NOT NULL DEFAULT 0 in C:\inetpub\wwwroot\drupal_jas\includes\database.mysql-common.inc on line 307.

Table 'gallery_assist_modules_settings' already exists query: CREATE TABLE gallery_assist_modules_settings ( `gam` INT unsigned NOT NULL auto_increment, `nid` INT unsigned NOT NULL, `ref` INT unsigned NOT NULL, `gid` INT unsigned NOT NULL, `gref` INT unsigned NOT NULL, `module` VARCHAR(150) NOT NULL DEFAULT '', `data` LONGTEXT NOT NULL, PRIMARY KEY (gam) ) /*!40100 DEFAULT CHARACTER SET utf8 */ in C:\inetpub\wwwroot\drupal_jas\includes\database.inc on line 551.

Can't DROP 'shadow'; check that column/key exists query: ALTER TABLE gallery_assist DROP shadow in C:\inetpub\wwwroot\drupal_jas\includes\database.mysql-common.inc on line 331.

Unknown column 'shadow' in 'field list' query: SELECT gref, shadow, data from gallery_assist in C:\inetpub\wwwroot\drupal_jas\sites\all\modules\gallery_assist\gallery_assist.install on line 578.

Table 'cache_gallery_assist_data' already exists query: CREATE TABLE cache_gallery_assist_data ( `cid` VARCHAR(255) NOT NULL DEFAULT '', `data` LONGBLOB DEFAULT NULL, `expire` INT NOT NULL DEFAULT 0, `created` INT NOT NULL DEFAULT 0, `headers` TEXT DEFAULT NULL, `serialized` SMALLINT NOT NULL DEFAULT 1, PRIMARY KEY (cid), INDEX expire (expire) ) /*!40100 DEFAULT CHARACTER SET utf8 */ in C:\inetpub\wwwroot\drupal_jas\includes\database.inc on line 551.

This update basically destroyed all four of my galleries. Now I have to restore the database from backup.