diff --git a/includes/runtime/BaseModel.php b/includes/runtime/BaseModel.php
index 8493b73d97ec9e9d17e738838c2725bd15bc982d..b4ba0845116e59da46b99de67e4b3f656710aeff 100644
--- a/includes/runtime/BaseModel.php
+++ b/includes/runtime/BaseModel.php
@@ -11,6 +11,7 @@
 /**
  * Base Model Class
  */
+#[\AllowDynamicProperties]
 class Vtiger_Base_Model {
 	protected $valueMap;
 
@@ -95,4 +96,4 @@ class Vtiger_Base_Model {
 		return (!isset($this->valueMap[$key]) || empty($this->valueMap[$key]));
 	}
 
-}
\ No newline at end of file
+}
diff --git a/includes/runtime/cache/Connectors.php b/includes/runtime/cache/Connectors.php
index 98005e43181cfb2907c1d567e596478564496b09..683ff533fdada9a1c6b7a9f60af9f124d0b3f1b2 100644
--- a/includes/runtime/cache/Connectors.php
+++ b/includes/runtime/cache/Connectors.php
@@ -8,6 +8,7 @@
  * All Rights Reserved.
  *************************************************************************************/
 
+#[\AllowDynamicProperties]
 class Vtiger_Cache_Connector_Memory {
 	function set($key, $value) {
 		$this->$key = $value;