this is a minor issue.

i get this warning when running drush updb

Invalid argument supplied for foreach() content_access.install:50 [warning]

turns out this warning is triggered by an un-initialized variable in content_access_update_7101() during settings-conversion if no previous settings exist.

please see attached fix below.

CommentFileSizeAuthor
#1 content_access-2506559-2.patch487 byteswidukind
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

widukind’s picture

FileSize
487 bytes

please see attached patch.

  • widukind authored 3e6e6d4 on 7.x-1.x
    Issue #2506559 by widukind: Invalid argument warning when running db...
gisle’s picture

Version: 7.x-1.2-beta2 » 7.x-1.x-dev
Status: Active » Fixed

This is fixed in the latest snapshot 7.x-1.x-dev.

This issue has not received any updates in the previous 6 years. If you believe it to still be relevant, you are encouraged to reopen the issue and update it.

If you got an email about this Issue status update, it is because you at one time (possibly a very long time ago), subscribed to it. To learn how to unsubscribe yourself, please visit: https://www.drupal.org/project/webmasters/issues/3142987

Status: Fixed » Closed (fixed)

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