Whenever I try to use $_SESSION or variable_set it breaks the Entity API. It says
"Fatal error: Call to undefined function entity_get_info() in mydrupal\sites\all\modules\entity\includes\entity.inc on line 55"
And then I have to reinstall the entire website because this fatal error shows up on every page. So I can't even access any of the adminscreens or anything to uninstall the modules or anything.
Does anybody here know if this is just a bug or am I doing something wrong? I was just filling the session with an entity.