I have a 'repeats' tab appearing on all nodes, no matter what content type (date or not).
this is linked to the date repeat/date repeat api, as if I disable these the tabs disappear.

Clicking it leads to a wsod, and this error :
Notice: Undefined index: in _field_invoke_multiple() (line 310 of /var/www/html/modules/field/field.attach.inc)

Using Drupal 7.12 and date 7x.2-2

Comments

llepere’s picture

I have a similar problem. I am new to Drupal and have a very simple site: just one main page and a calendar view.

I get a repeats tab on my page, but only when I am logged in as the administrator. If I click it I get this error:
Fatal error: Cannot access empty property in /home/public_html/modules/field/field.attach.inc on line 325

If I go back and then click on my calendar view, I get the following notice twice:
Notice: Undefined index: in _field_invoke_multiple() (line 310 of /home/public_html/modules/field/field.attach.inc).

If I refresh the calendar view the notices disappear.

willkaxu’s picture

Notice: Undefined index: in _field_invoke_multiple() (line 310 of /var/www/html/modules/field/field.attach.inc)
This error tells you that the content type you accessed doesn't have date_repeat_filed, so when you click the "repeat" tab, views can't invoke any date.

I've met the same error here.

karens’s picture

Status: Active » Closed (duplicate)

Duplicate of several other reports of this. It has been fixed in dev.

ahimsauzi’s picture

Still exists in 7.17 Notice: Undefined index: in _field_invoke_multiple() (line 310 of /modules/field/field.attach.inc). My issue seems to come up when using an image field.

ahimsauzi’s picture

My issue ended up being related to a field that does not include in the content type visited but checked for in node.tpl.php. Adding if (isset($field_name) before rendering the field solved it.

Cheers,

Uzi