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.
Invalid argument supplied for foreach() taxonomy_place.module:49
This occurs on install because there are no set fields. Need to add an !empty check on fields variable.
Comment | File | Size | Author |
---|---|---|---|
#5 | invalid_argument_supplied_foreach_304640_4.patch | 2.14 KB | brooke_heaton |
Comments
Comment #2
brooke_heaton CreditAttribution: brooke_heaton as a volunteer commentedPatch taxonomy_place.module to add !empty on $fields to prevent invalid argument warning.
Comment #3
brooke_heaton CreditAttribution: brooke_heaton as a volunteer commentedFix patch.
Comment #4
brooke_heaton CreditAttribution: brooke_heaton as a volunteer commentedComment #5
brooke_heaton CreditAttribution: brooke_heaton as a volunteer commentedUpdate patch.
Comment #6
brooke_heaton CreditAttribution: brooke_heaton as a volunteer commentedComment #8
KarenS CreditAttribution: KarenS at Lullabot commentedI don't think this will be a problem now that another patch added initial configuration for the settings, but it never hurts to check so I'm adding it. Thanks!