FieldException: Attempt to create a field of unknown type addressfield. in field_create_field();

Comments

michfuer’s picture

Did you enable the addressfield module?

jusdavi’s picture

Assigned: Unassigned » jusdavi
Priority: Major » Minor
Status: Active » Closed (fixed)

Ah, 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

TheodorosPloumis’s picture

If 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.