When I save the module admin page I get this:

Notice: Undefined index: view modes in field_view_mode_settings() (line 627 of /home/www2/drupal-7.16/modules/field/field.module).
Warning: Invalid argument supplied for foreach() in field_view_mode_settings() (line 627 of /home/www2/drupal-7.16/modules/field/field.module).

Comments

katannshaw’s picture

Hi NancyDru,

I'm having the same issue when creating a new node that uses fields connected to the Field Collection module, and found another issue report titled Notice: Undefined index: view modes in field_view_mode_settings() (line 649.

Are you using that module with this node type?

(Side note: I love what you do for the community.)

NancyDru’s picture

Version: 7.16 » 7.22

Yes.

a.milkovsky’s picture

I have the same issue!

a.milkovsky’s picture

If you have field_collection_table enabled this can help: field_view_mode_settings

katannshaw’s picture

Thanks a.milkovsky! That patch seems to have worked for me. I'll make note of it on that issue report as well.

NancyDru’s picture

I have that patch installed, but am still seeing the error.

NancyDru’s picture

Version: 7.22 » 7.36
Issue summary: View changes

Seeing this when Cron runs

Version: 7.36 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.