CException

La proprietà "Reading"."season" non è definita.

/membri/cmif/framework/db/ar/CActiveRecord.php(145)

133      */
134     public function __get($name)
135     {
136         if(isset($this->_attributes[$name]))
137             return $this->_attributes[$name];
138         elseif(isset($this->getMetaData()->columns[$name]))
139             return null;
140         elseif(isset($this->_related[$name]))
141             return $this->_related[$name];
142         elseif(isset($this->getMetaData()->relations[$name]))
143             return $this->getRelated($name);
144         else
145             return parent::__get($name);
146     }
147 
148     /**
149      * PHP setter magic method.
150      * This method is overridden so that AR attributes can be accessed like properties.
151      * @param string $name property name
152      * @param mixed $value property value
153      */
154     public function __set($name,$value)
155     {
156         if($this->setAttribute($name,$value)===false)
157         {

Stack Trace

#1
+
 /membri/cmif/public/protected/models/ModelFiles/ReadingFiles.php(82): CActiveRecord->__get("season")
77   * Returns the season folder
78   * @return string the season folder
79   */
80     public function getSeasonFolder()
81     {
82         return $this->_meeting->season;
83     }
84 }
85 
#2
+
 /membri/cmif/public/protected/models/ModelFiles/ModelFiles.php(309): ReadingFiles->getSeasonFolder()
304   * @return string the tail path of the files of type $type
305     */
306     protected function getTailPath($type)
307     {
308         return Path::buildPath(array(
309           $this->getSeasonFolder(), 
310             $this->getFileName($type)
311         ));
312     }
313 
314     /**
#3
+
 /membri/cmif/public/protected/models/ModelFiles/ModelFiles.php(220): ModelFiles->getTailPath("text")
215     */
216     public function getFilePath($type)
217     {
218     $result = Path::buildPath(array(
219           $this->getSectionPath($type), 
220             $this->getTailPath($type)
221         ));
222         return $result;
223     }
224 
225     /**
2024-03-19 06:37:58 Apache Yii Framework/1.1.14