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.
FieldException: Attempt to create a field of unknown type addressfield. in field_create_field();
Comments
Comment #1
michfuer CreditAttribution: michfuer commentedDid you enable the addressfield module?
Comment #2
jusdavi CreditAttribution: jusdavi commentedAh, I know what happened. I enabled the Google Store Locator Module and didn't have any of the required modules enabled. So Drupal asked if I wanted it to enable the required modules. I said okay and it enabled them all and I got the error. Looks like you need to enable the required modules prior to enabling the Google Store Locator.
I fixed it by disabling Google Store Locator and then uninstalling that module. All the required dependent modules were still enabled so I just enabled the Google Store Locator after the unistall and it worked like a charm. Thanks
Comment #3
TheodorosPloumisIf you are using Drush to enable the module you have to enable first the required modules and then the google_store_location because Drush does this with its own order.