Upgrading from Masquerade 6.x to the latest 7.x, I get the following error when upgrading the database:

WD php: Recoverable fatal error: Argument 2 passed to db_update() must be an array, string given, called in                                   [error]
/var/www/sites/all/modules/masquerade/masquerade.install on line 184 and defined in db_update() (line 2330 of
/var/www/includes/database/database.inc).
Drush command terminated abnormally due to an unrecoverable error.                                                                            [error]
Recoverable fatal error: Argument 2 passed to db_update() must be an array, string given, called in /var/www/sites/all/modules/masquerade/masquerade.install on line 184 and defined in db_update() (line 2330 of /var/www/includes/database/database.inc).
CommentFileSizeAuthor
#1 1045834.patch604 bytesbfroehle

Comments

bfroehle’s picture

Status: Active » Needs review
StatusFileSize
new604 bytes

Attached is a patch. Note that this also fixes a misspelling -- masqurade => masquerade.

deekayen’s picture

Status: Needs review » Fixed

I'm feeling trusting tonight. Committed without testing to HEAD.

Status: Fixed » Closed (fixed)

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

  • Commit 4cff68e on master, 8.x-2.x, 8.x-2.x-admin-menu, 8.x-1.x-1836516 by deekayen:
    #1045834 by bfroehle: fix d7 upgrade breakage and spelling
    
    

  • Commit 4cff68e on master, 8.x-2.x, 8.x-2.x-admin-menu, 8.x-1.x-1836516 by deekayen:
    #1045834 by bfroehle: fix d7 upgrade breakage and spelling