PHP notice

Undefined property: TemplateConfiguration::$cssframework_css

/mnt/data/shnoulle/nginx/www/master/application/models/TemplateConfiguration.php(1249)

1237     {
1238         $aAttributesThatCanBeInherited = array('files_css', 'files_js', 'options', 'cssframework_name', 'cssframework_css', 'cssframework_js', 'packages_to_load');
1239 
1240         if (in_array($name, $aAttributesThatCanBeInherited) && $this->bUseMagicInherit) {
1241             // Full inheritance of the whole field
1242             $sAttribute = parent::__get($name);
1243             if ($sAttribute === 'inherit') {
1244                 // NOTE: this is object recursive (if parent configuration field is set to inherit, then it will lead to this method again.)
1245                 if(!isset($this->getParentConfiguration()->$name)) {
1246                     // recursive but no parent, return null. Mantis issue #14250 (quick fix)
1247                     return null;
1248                 }
1249                 $sAttribute = $this->getParentConfiguration()->$name;
1250             }
1251         } else {
1252             $sAttribute = parent::__get($name);
1253         }
1254 
1255         return $sAttribute;
1256     }
1257 
1258     /**
1259      * @return string
1260      */
1261     public function getTemplateAndMotherNames()

Stack Trace

#0
+
 /mnt/data/shnoulle/nginx/www/master/application/models/TemplateConfiguration.php(1249): TemplateConfiguration->__get("cssframework_css")
1244                 // NOTE: this is object recursive (if parent configuration field is set to inherit, then it will lead to this method again.)
1245                 if(!isset($this->getParentConfiguration()->$name)) {
1246                     // recursive but no parent, return null. Mantis issue #14250 (quick fix)
1247                     return null;
1248                 }
1249                 $sAttribute = $this->getParentConfiguration()->$name;
1250             }
1251         } else {
1252             $sAttribute = parent::__get($name);
1253         }
1254 
#1
+
 /mnt/data/shnoulle/nginx/www/master/application/models/TemplateConfiguration.php(1128): TemplateConfiguration->__get("cssframework_css")
1123         }
1124 
1125         $this->aFrameworkAssetsToReplace[$sType] = array();
1126 
1127         $sFieldName  = 'cssframework_'.$sType;
1128         $aFieldValue = (array) json_decode($this->$sFieldName);
1129 
1130         if (!empty($aFieldValue) && !empty($aFieldValue['replace'])) {
1131             $this->aFrameworkAssetsToReplace[$sType] = (array) $aFieldValue['replace'];
1132 
1133             // Inner field inheritance
#2
+
 /mnt/data/shnoulle/nginx/www/master/application/models/TemplateConfiguration.php(1164): TemplateConfiguration->getFrameworkAssetsToReplace("css")
1159         if (empty($this->aReplacements)) {
1160             $this->aReplacements = array();
1161         }
1162         $this->aReplacements[$sType] = array();
1163 
1164         $aFrameworkAssetsToReplace = $this->getFrameworkAssetsToReplace($sType);
1165 
1166         foreach ($aFrameworkAssetsToReplace as $key => $aAsset) {
1167             $aReplace = $aAsset[1];
1168             $this->aReplacements[$sType][] = $aReplace;
1169         }
2018-11-21 13:38:06 nginx/1.12.1 Yii Framework/1.1.19