diff --git a/src/LiveProperty.php b/src/LiveProperty.php
index <HASH>..<HASH> 100644
--- a/src/LiveProperty.php
+++ b/src/LiveProperty.php
@@ -23,7 +23,8 @@ trait LiveProperty {
 			return $this->$methodName();
 		}
 
-		if(isset(self::PROPERTY_ATTRIBUTE_MAP[$name])) {
+		if(defined("static::PROPERTY_ATTRIBUTE_MAP")
+		&& isset(self::PROPERTY_ATTRIBUTE_MAP[$name])) {
 			$attribute = self::PROPERTY_ATTRIBUTE_MAP[$name];
 			if($attribute === true) {
 				return $this->hasAttribute($name);
Check property attribute map (#<I>)

* Update fixes for CssXPath



* Use get/set attribute for value elements



* Check for property map, allowing for non-html documents