Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Am seeing this on a site when running update scripts after updating to the latest release:
Invalid argument supplied for foreach() media_gallery.install:1344
It seems to stem from the update script being ran a second time as a result of the changes in #2368433: update_hook should be only for 7.x-2.x.
Comment | File | Size | Author |
---|---|---|---|
#2 | media_gallery-n2675048-2.patch | 797 bytes | DamienMcKenna |
Comments
Comment #2
DamienMcKennaThis will skip the update if there are no 'media_gallery_media' fields in the site, which should be appropriate.
Comment #3
ivnish CreditAttribution: ivnish commented