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.
It is valid to call addressfield_format_address_generate() without the $context parameter but if you do you get this error:
Notice: Undefined index: mode in addressfield_format_address_generate() (line 357 of /var/www/mirp/profiles/mirp/modules/contrib/addressfield/plugins/format/address.inc).
Comment | File | Size | Author |
---|---|---|---|
#1 | addressfield-undefined_index_mode-1664378-1.patch | 575 bytes | rooby |
Comments
Comment #1
rooby CreditAttribution: rooby commentedPatch ahoy.
Comment #2
rooby CreditAttribution: rooby commentedOops
Comment #3
andyg5000Related to http://drupal.org/node/1678800
Comment #4
rooby CreditAttribution: rooby commentedMarking as duplicate of #1678800: Notice: Undefined index: mode in addressfield_generate() (line 127 of addressfield.module)