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.
Views UI (7.x-3.3+122-dev), when enabled triggers these errors (whether or not it is causing the errors or just making them surface is undetermined):
Notice: Undefined index: relation in field_info_instances() (line 687 of /home/account/public_html/drupal/modules/field/field.info.inc).
Notice: Undefined index: reply in field_info_instances() (line 687 of /home/account/public_html/drupal/modules/field/field.info.inc).
Any advice?
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedHm. Views UI by itself doesn't do much with fields. I'm not sure how it could be responsible for a notice like that.
Do you have the 'relation' module by chance?
Comment #2
deanflory CreditAttribution: deanflory commentedYes, Relation is installed an enabled.
Comment #3
dawehnerMaybe the folks from relation module has an idea where this error comes from.
Comment #4
radoeka CreditAttribution: radoeka commentedI've a similar warning, but for the index "file";
Notice: Undefined index: file in field_info_instances() (line 687 of modules/field/field.info.inc)
After disabling the views UI module, the warning is gone.
Right after enabling the views UI module the warning is displayed.
I've the module 'file' installed and active.
Comment #5
kinkajous1 CreditAttribution: kinkajous1 commentedI'm getting this error message and having server errors when moving around from content to structure etc. I have Views UI enabled and am just learning how to create my site. I do not have the most recent version of 7 - it is the previous iteration.
There may also be a hosting problem causing the server errors. At this point I am trying to pinpoint what the problem is in order to find a fix. Any advice is most welcome!
Comment #6
katannshaw CreditAttribution: katannshaw commentedI'm receiving the same error, but instead of "relation", it says "file". This is what I see when editing and saving different views with the Views UI:
Notice: Undefined index: file in field_info_instances() (line 687 of ... \modules\field\field.info.inc).
Is there any advice on what this could be?