PHP notice

Undefined property: TemplateConfiguration::$options

/home/shnoulle/Public/webdev/5XLTS/application/models/TemplateConfiguration.php(1514)

1502             'cssframework_name',
1503             'cssframework_css',
1504             'cssframework_js',
1505             'packages_to_load'
1506         );
1507 
1508         if (in_array($name, $aAttributesThatCanBeInherited) && $this->bUseMagicInherit) {
1509             // Full inheritance of the whole field
1510             $sAttribute = parent::__get($name);
1511             if ($sAttribute === 'inherit') {
1512                 // NOTE: this is object recursive (if parent configuration field is set to inherit,
1513                 // then it will lead to this method again.)
1514                 $sAttribute = $this->getParentConfiguration()->$name;
1515             }
1516         } else {
1517             $sAttribute = parent::__get($name);
1518         }
1519 
1520         return $sAttribute;
1521     }
1522 
1523     /**
1524      * @todo document me
1525      * @return string
1526      */

Stack Trace

#0
+
 /home/shnoulle/Public/webdev/5XLTS/application/models/TemplateConfiguration.php(1514): TemplateConfiguration->__get("options")
1509             // Full inheritance of the whole field
1510             $sAttribute = parent::__get($name);
1511             if ($sAttribute === 'inherit') {
1512                 // NOTE: this is object recursive (if parent configuration field is set to inherit,
1513                 // then it will lead to this method again.)
1514                 $sAttribute = $this->getParentConfiguration()->$name;
1515             }
1516         } else {
1517             $sAttribute = parent::__get($name);
1518         }
1519 
#1
+
 /home/shnoulle/Public/webdev/5XLTS/application/models/TemplateConfiguration.php(1295): TemplateConfiguration->__get("options")
1290      * @return void
1291      */
1292     protected function setOptions()
1293     {
1294         $this->oOptions = new stdClass();
1295         if (!empty($this->options)) {
1296             $this->oOptions = json_decode($this->options);
1297         }
1298         // unset "comment" property which is auto generated from HTML comments in xml file
1299         unset($this->oOptions->comment);
1300 
#2
+
 /home/shnoulle/Public/webdev/5XLTS/application/models/TemplateConfiguration.php(1250): TemplateConfiguration->setOptions()
1245         $this->filesPath        = $this->path . $this->getTemplateConfigurationForAttribute($this, 'files_folder')
1246                 ->template->files_folder . DIRECTORY_SEPARATOR;
1247         $this->generalFilesPath = App()->getConfig("userthemerootdir")
1248             . DIRECTORY_SEPARATOR . 'generalfiles' . DIRECTORY_SEPARATOR;
1249         // Options are optional
1250         $this->setOptions();
1251 
1252         // Not mandatory (use package dependances)
1253         $this->setCssFramework();
1254         $this->packages = $this->getDependsPackages($this);
1255         if (!empty($this->packages_to_load)) {
2023-06-22 18:22:45 nginx/1.18.0 Yii Framework/1.1.28