Closed (duplicate)
Project:
Date
Version:
7.x-2.2
Component:
Date Repeat API
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Mar 2012 at 14:46 UTC
Updated:
28 Dec 2012 at 20:01 UTC
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
Comment #1
llepere commentedI 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.
Comment #2
willkaxu commentedNotice: 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.
Comment #3
karens commentedDuplicate of several other reports of this. It has been fixed in dev.
Comment #4
ahimsauziStill 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.
Comment #5
ahimsauziMy 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