Problem/Motivation

 drush updb
 ------------ ----------- --------------- --------------------------------------
  Module       Update ID   Type            Description
 ------------ ----------- --------------- --------------------------------------
  nodeaccess   9002        hook_update_n   9002 - Migrates nodeaccess.settings.
 ------------ ----------- --------------- --------------------------------------


 Do you wish to run the specified pending updates? (yes/no) [yes]:
 > y

>  [notice] Update started: nodeaccess_update_9002
>  [warning] foreach() argument must be of type array|object, null given nodeaccess.install:166
>  [error]  array_keys(): Argument #1 ($array) must be of type array, null given
>  [error]  Update failed: nodeaccess_update_9002
 [error]  Update aborted by: nodeaccess_update_9002
 [error]  Finished performing updates.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 3340692-2.patch541 bytesadil_siddiqui

Comments

tjtj created an issue. See original summary.

adil_siddiqui’s picture

Status: Active » Needs review
StatusFileSize
new541 bytes

Patch created

  • jungle committed 0cdd08d4 on 2.0.x authored by Adil_Siddiqui
    Issue #3340692 by Adil_Siddiqui: Database update fails:  array_keys():...
jungle’s picture

Status: Needs review » Fixed

Thanks!

tjtj’s picture

Please issue a new version with the patch

jungle’s picture

Status: Fixed » Closed (fixed)

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