Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
field system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Oct 2012 at 13:03 UTC
Updated:
4 Oct 2012 at 04:20 UTC
We are using static cache in this function, which on line foreach (field_info_bundles() as $entity_type => $bundles) { gets cleared so the $info array has no $info['fields'] key.
The backtrace shows this chain:
->_field_info_collate_fields(FALSE)
->field_info_bundles()
->field_info_bundles
->entity_get_info
->drupal_alter
->entity_entity_info_alter
->_field_info_collate_fields(TRUE).
While this is a notice, I've left it on normal priority because we lose the half of the returned array. :)
Related issues:
#1040790: _field_info_collate_fields() memory usage
#1759614: Undefined index: fields field.info.inc:596
Comments
Comment #0.0
podarokUpdated issue summary.
Comment #1
yched commentedDuplicate of the 2nd issue you link to, and fixed bin the 1st issue.
Comment #1.0
yched commentedFixed typo.