Closed (fixed)
Project:
Entity API
Version:
7.x-1.x-dev
Component:
Code - misc
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2011 at 12:18 UTC
Updated:
16 Jan 2013 at 10:50 UTC
I have got this error:
Notice: Undefined index: entity type in entity_plugin_row_entity_view->init() (line 21 of /hsphere/local/home/........./....../modules/entity/views/plugins/entity_plugin_row_entity_view.inc).
Comments
Comment #1
fagoupdate your views installation and/or clear caches.
Comment #2
yurg commentedSorry for re-opening this, but guess it's relevant. Faced with almost the same error after updating to Drupal 7.9 and Entity API
7.x-1.0-rc1:
According to fago's suggestion: do I have to change my Views from 7.x-3.0-rc1 (2011-Jun-17) to 7.x-3.x-dev (2011-Nov-10) ? Or there is something else here to fix?
Thank you for reply!
Comment #3
yurg commentedComment #4
kaizerking commentedif you are using , Entity API and Ctools,Use Dev versions only,
D 7.x require a clear cache operation more than once,that will solve most of the notices
Comment #5
havabeer commentedI went from 7.x-1.0-beta10 to 7.x-1.0-rc1 and now I'm getting a similar error when trying to view any user profile (I cleared cache three times, but it didn't help):
Fatal error: Call to undefined method views_plugin_query_default::get_result_entities() in C:\...\sites\all\modules\contrib\entity\views\plugins\entity_views_plugin_row_entity_view.inc on line 72The user profile includes a simple Profile2 view: Show- Profile, then set Format to "Rendered entity" with a UserID contextual filter. The rendered entity is a view mode generated with display suite.
Comment #6
kaizerking commentedif you have not changed to dev versions please follow fago's suggestion
Date, ctools, Entity API all theses three modules use dev versions ONLY
Comment #7
rlmumfordI have the issue in #5 with the dev versions of all the modules mentioned.
Have a simple view of 'model' entities with a node_id field, displaying fields, with a node_id contextual filter.
Comment #8
fagoI never said or meant only dev version are supported. If it does not work with the latest Views release it would qualify as bug. Fortunately, just Views rc3 came out so I don't think it's still worth it to add some conditional checks for older views versions.
Thus, please upgrade to Views rc3 or later and re-open if problems persist.
Comment #9
kaizerking commentedI did not mean that it is not supported, i meant that you should try dev and then come back
Yes, I do agree,If it is a bug then it is bug, let it be in any version.
At least we will know the cause
Comment #11
frank ralf commentedI'm not sure whether to re-open this issue but I get the following notice with the current dev release of Views (7.x-3.5+37-dev) on Drupal 7.18 (admittedly with an broken imported view from another system):