Closed (outdated)
Project:
Entity API
Version:
7.x-1.x-dev
Component:
Entity property wrapper
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Oct 2011 at 16:36 UTC
Updated:
5 Jun 2019 at 10:23 UTC
Jump to comment: Most recent
Comments
Comment #1
turingfan commentedComment #2
fagoWhy should the class be deleted, but the code still there? Is there a valid case this may happen?
Comment #3
turingfan commentedYes I'm sure there's a valid case for this because it broke my site after I disabled a module while having entity cache turned on. When I added the class_exists() condition to If statement, the problem went away. This case might be prevented from passing a false class beforehand or you can blame it on the entity cache module, I'm not a project contributor though (still a virgin to the open-source community), I just needed it fixed ASAP. I hope this helps. Cheers!
Comment #4
fagoI don't think it can be caused by entity-cache. entity-info is cached by core. What was the module you deactivated? Is it reproducable?
Comment #5
socialnicheguru commentedfor solution see this:
http://drupal.org/node/1570038#comment-5978024
Comment #6
bojanz commented