I have successfully loaded an object using EntityFieldQuery and entity_load. I can see that the node object is there by using dpm().
$query = new EntityFieldQuery();
->fieldCondition('myfieldtype', 'value', '250', '=')
$returnedresults = $query->execute();
$node = entity_load('node', array_keys($returnedresults['node']));
But I can't access anything in the $node, for example I use:
$test = $node->title;
When I try to do this I get the error:
Notice: Trying to get property of non-object in include_once()
Can anyone tell me what I am doing wrong here? Every google search seem to indicated that this should work...