diff --git a/includes/entity.wrapper.inc b/includes/entity.wrapper.inc
index 4ee1c3a..a128cbc 100644
--- a/includes/entity.wrapper.inc
+++ b/includes/entity.wrapper.inc
@@ -156,7 +156,7 @@ abstract class EntityMetadataWrapper {
   }
 
   public function __toString() {
-    return isset($this->info) ? 'Property ' . $this->info['name'] : $this->type;
+    return isset($this->info) && isset($this->info['name']) ? 'Property ' . $this->info['name'] : $this->type;
   }
 
   /**
