Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
taxonomy.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Aug 2012 at 12:53 UTC
Updated:
12 Oct 2015 at 20:07 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rmfleet commentedI have received this same error code on the same line while displaying a specific content type in a view as a blog roll.
I changed the pager output from 'full' to 'mini' and the error disappeared. If pager items per page is larger than the number of nodes to be displayed, the error does not occur when using the full pager. I am using 7.16.
Comment #2
giorgosktry drupal 7 patch in #19 #1161708: Problem with function _field_invoke when used on a content type with no field instance
otherwise try this view issue #1461536: Fatal error when using aggregation and a field is not attached to all entities in the view
Comment #3
rszrama commentedI believe this is a result of a bug I discovered in the entity info for taxonomy terms. The entity keys array uses the correct bundle key name for taxonomy terms (vocabulary_machine_name), but the bundle keys array that's used by a couple API functions like this uses a wrong name (machine_name). Attached patch updates these to match and fixes my issue - and I'm guessing yours.
Comment #5
wgsimon commentedI had a similar problem when calling field_extract_bundle() on a taxonomy_term entity type. The patch seems to have solved the problem.
Comment #6
wgsimon commentedJust noticed that this breaks the call to field_extract_bundle( ) in field_ui_field_overview_form( ) in field_ui.admin.inc.
Comment #7
wodenx commentedI can confirm that the patch in #3 is definitely incorrect. See #2024813: hook_entity_info_alter on taxonomy_term "bundle keys" breaks "Manage Fields"
Comment #8
FranciscoLuz commented#6 seems to be right. I also had the same issue, that is, the taxonomy field ui breaks due to the following piece of code.
Comment #9
lachezar.valchev commentedHi,
Agreed with wodenx the difference between the
and
is intentional as described in #2024813: hook_entity_info_alter on taxonomy_term "bundle keys" breaks "Manage Fields"
Regards,
Lachezar