My instance of drupal is throwing an error. The file that is throwing the error is modules/field/field.crud.inc
The error is
FieldException: Cannot change an existing field's type. in field_update_field() (line 240 of modules/field/field.crud.inc).
A local var dump displays the following results.
Variable $field
array (
'active' => 1,
'cardinality' => 1,
'deleted' => 0,
'entity_types' =>
array (
),
'field_name' => 'field_address',
'foreign keys' =>
array (
'format' =>
array (
'columns' =>
array (
'format' => 'format',
),
'table' => 'filter_format',
),
),
'indexes' =>
array (
'format' =>
array (
0 => 'format',
),
),
'locked' => 0,
'module' => 'text',
'settings' =>
array (
'max_length' => 255,
),
'translatable' => 0,
'type' => 'text',
)
Variable $prior_field
array (
'translatable' => '0',
'entity_types' =>
array (
),
'settings' =>
array (
),
'storage' =>
array (
'type' => 'field_sql_storage',
'settings' =>
array (
),
'module' => 'field_sql_storage',
'active' => '1',
'details' =>
array (
'sql' =>
array (
'FIELD_LOAD_CURRENT' =>
array (
'field_data_field_address' =>
array (
'country' => 'field_address_country',
'administrative_area' => 'field_address_administrative_area',
'sub_administrative_area' => 'field_address_sub_administrative_area',
'locality' => 'field_address_locality',
'dependent_locality' => 'field_address_dependent_locality',
'postal_code' => 'field_address_postal_code',
'thoroughfare' => 'field_address_thoroughfare',
'premise' => 'field_address_premise',
'sub_premise' => 'field_address_sub_premise',
'organisation_name' => 'field_address_organisation_name',
'name_line' => 'field_address_name_line',
'first_name' => 'field_address_first_name',
'last_name' => 'field_address_last_name',
'data' => 'field_address_data',
),
),
'FIELD_LOAD_REVISION' =>
array (
'field_revision_field_address' =>
array (
'country' => 'field_address_country',
'administrative_area' => 'field_address_administrative_area',
'sub_administrative_area' => 'field_address_sub_administrative_area',
'locality' => 'field_address_locality',
'dependent_locality' => 'field_address_dependent_locality',
'postal_code' => 'field_address_postal_code',
'thoroughfare' => 'field_address_thoroughfare',
'premise' => 'field_address_premise',
'sub_premise' => 'field_address_sub_premise',
'organisation_name' => 'field_address_organisation_name',
'name_line' => 'field_address_name_line',
'first_name' => 'field_address_first_name',
'last_name' => 'field_address_last_name',
'data' => 'field_address_data',
),
),
),
),
),
'foreign keys' =>
array (
),
'indexes' =>
array (
),
'id' => '132',
'field_name' => 'field_address',
'type' => 'text',
'module' => 'text',
'active' => '1',
'locked' => '0',
'cardinality' => '1',
'deleted' => '0',
'columns' =>
array (
'value' =>
array (
'type' => 'varchar',
'length' => NULL,
'not null' => false,
),
'format' =>
array (
'type' => 'varchar',
'length' => 255,
'not null' => false,
),
),
)