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 used devel generate to create dummy content which contains an address field:
Notice: Undefined offset: 8 in _addressfield_sample_addresses() (line 48 of /var/www/sites/all/modules/contrib/addressfield/addressfield.devel_generate.inc).
At the end, some of my content was missing required fields (such as the zipcode for a US address for example).
Comments
Comment #2
bojanz CreditAttribution: bojanz at Centarro commentedAre you running a recent -dev (1.2 or later)?
Are you sure your files are all up to date (did you replace addresses.txt when you updated the other files?)
We fixed a few devel_generate bugs, wondering if this is a new one.
Comment #3
vbouchetHi Bojanz,
You are right, I am using 1.1 I did not tried the new version. I just tried it right now and the issue is not here anymore.
Thanks for the very quick feedback, I will pay more attention next time ;-)