I am using Drupal 7.14.
I have successfully created a new computed field and it works great. I try to create another one and I receive these errors:

Notice: Undefined index: field_name in field_update_instance() (line 524 of /usr/home/fdanconia/www/modules/field/field.crud.inc).

Notice: Undefined index: field_name in field_update_instance() (line 526 of /usr/home/fdanconia/www/modules/field/field.crud.inc).

FieldException: Attempt to update an instance of a nonexistent field . in field_update_instance() (line 526 of /usr/home/fdanconia/www/modules/field/field.crud.inc).

Steps:
I go to:
https://www.fdanconia.com/admin/store/settings/orders/fields

I delete the existing computed field:
I am able to add the computed field and set it up to work as desired.

I go to:
https://www.fdanconia.com/admin/store/settings/orders/fields

I attempt to create another computed field and it goes to a page:
"The website encountered an unexpected error. Please try again later."

Upon checking the logs, I find the three error messages from above.

The fields are for Ubercart 3.1 orders.

I cannot reproduce the error when I am adding fields for users.

Comments

dmstru’s picture

Same situation but in any field:

Notice: Undefined index: field_name в функции field_update_instance() (строка 523 в файле /home/u6389/domains/russia-optica.ru/modules/field/field.crud.inc).
Notice: Undefined index: field_name в функции field_update_instance() (строка 525 в файле /home/u6389/domains/russia-optica.ru/modules/field/field.crud.inc).
FieldException: Попытка обновления экземпляра несуществующего поля . в функции field_update_instance() (строка 525 в файле /home/u6389/domains/russia-optica.ru/modules/field/field.crud.inc).

moran’s picture

Assigned: Unassigned » moran

Subscribe

ewyglend’s picture

Same issue, though not related to computed field. Not sure how to reassign?

mgifford’s picture

I got it here - admin/structure/types/manage/event/fields

Computed fields 7.x-1.0-beta1 is enabled.

Not sure if it's related or not, sorry.

colan’s picture

Assigned: moran » Unassigned

@moran: Subscribing comments are no longer required. Use the "Follow" button at the top of the issue instead. Also, please don't assign the issue to yourself unless you plan on working on it & producing a patch.