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.
I am trying to use this module with location module as per README.txt. But when ever I am creative node, I am getting 4 errors & then when I check my vocab, I am finding empty terms created.
Notice: Undefined index: province in location_taxonomize_make_longname() (line 318 of /home/$BASE_FOLDER/sites/all/modules/location_taxonomize/location_taxonomize.module).
Notice: Trying to get property of non-object in _find_term() (line 250 of /home/$BASE_FOLDER/sites/all/modules/location_taxonomize/location_taxonomize.module).
Notice: Undefined index: province in location_taxonomize_make_longname() (line 318 of /home/$BASE_FOLDER/sites/all/modules/location_taxonomize/location_taxonomize.module).
Notice: Undefined index: city in location_taxonomize_make_longname() (line 324 of /home/$BASE_FOLDER/sites/all/modules/location_taxonomize/location_taxonomize.module).
Comment | File | Size | Author |
---|---|---|---|
#1 | property_non_object-2144313-1.patch | 7.21 KB | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedCreated a patch for integration with addressfield, and attempt to prevent instances of the error happening (with the old code), as well as updating _find_term() to do some checking so it won't raise errors.
Comment #2
ptmkenny CreditAttribution: ptmkenny commented