Closed (fixed)
Project:
Entity API
Version:
7.x-1.x-dev
Component:
Views integration
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Nov 2011 at 18:40 UTC
Updated:
22 Nov 2011 at 16:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
zabelc commentedBit of an update: I was able to get rid of the error, but only by removing entity.views.inc from entity.info, *and* by deleting the entity.views.inc file. I would have thought the first would have prevented the file from being read, but I had to perform the second as well.
Comment #2
ipsec commentedsubscribe
Comment #3
pgrond commentedYep, having the same problem. Did a quick fix with
module_load_include('inc', 'entity', 'views/handlers/entity_views_field_handler_helper');just before the EntityFieldHandlerHelper gets called.But I don't know much about the internals of the Entity API module, so I'm am not sure where this should be done, and if this is the right solution.
Comment #4
peterpoe commentedSame problem. I found that after applying the solution in #3, if you flush the cache you can remove the hack and the problem won't reappear.
Comment #5
BeaPower commentedFrom the line - module_load_include('inc', 'entity', 'views/handlers/entity_views_field_handler_helper'); remove inc?
Comment #6
kaizerking commentedsame here
Fatal error: Class 'EntityFieldHandlerHelper' not found in /hsphere/local/home/..../modules/entity/views/entity.views.inc on line 134
Comment #7
fagoouch yet another registry update problem.
Looks like views-data is rebuilt on update.php via a theme() call before update.php can run. I've added a workaround to load the class manually in that case + an update routine to trigger rebuilding the registry. See attached patch.
Committed. Please test.
Comment #8
tabestan commentedThat patch did not work for me.
In module/entity
Edit: updating to the latest dev release today solved it for me.
Thanks a lot.
Comment #9
zabelc commentedI'll second Tabestan: the latest dev works fine.