CException

Property "Answers.title" is not defined.

/home/soundguy95/surveys.lyceum.ws/ls/framework/db/ar/CActiveRecord.php(144)

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

Stack Trace

#2
+
 /home/soundguy95/surveys.lyceum.ws/ls/application/controllers/admin/conditionsaction.php(799): CModel->offsetGet("title")
794 
795                     foreach ($y_axis_db->readAll() as $arow)
796                     {
797                         foreach($x_axis as $key=>$val)
798                         {
799                             $shortquestion=$rows['title'].":{$arows['title']}:$key: [".strip_tags($arows['question']). "][" .strip_tags($val). "] " . flattenText($rows['question']);
800                             $cquestions[]=array($shortquestion, $rows['qid'], $rows['type'], $rows['sid'].$X.$rows['gid'].$X.$rows['qid'].$arows['title']."_".$key);
801 
802                             if ($rows['type'] == ":")
803                             {
804                                 for($ii=$minvalue; $ii<=$maxvalue; $ii+=$stepvalue)
#5
+
 /home/soundguy95/surveys.lyceum.ws/ls/application/core/Survey_Common_Action.php(82): CAction->runWithParamsInternal(conditionsaction, ReflectionMethod, array("subaction" => "editconditionsform", "surveyid" => "917871", "gid" => "5", "qid" => "165", ...))
77             $oMethod = new ReflectionMethod($this, $sDefault);
78         }
79 
80         // We're all good to go, let's execute it
81         // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params
82         return parent::runWithParamsInternal($this, $oMethod, $params);
83     }
84 
85     /**
86     * Some functions have different parameters, which are just an alias of the
87     * usual parameters we're getting in the url. This function just populates
#9
+
 /home/soundguy95/surveys.lyceum.ws/ls/application/controllers/AdminController.php(158): CController->run("conditions")
153                 Yii::app()->session['redirectopage'] = Yii::app()->request->requestUri;
154 
155                 $this->redirect($this->createUrl('/admin/authentication/login'));
156             }
157 
158             return parent::run($action);
159     }
160 
161     /**
162     * Routes all the actions to their respective places
163     *
2012-07-23 12:10:48 Apache Yii Framework/1.1.10