CException

Property "SurveyDynamic.138378X977X16179AND#0" is not defined.

/mnt/data/shnoulle/nginx/www/master/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      * @throws CException
154      */
155     public function __set($name,$value)
156     {
157         if($this->setAttribute($name,$value)===false)

Stack Trace

#2
+
 /mnt/data/shnoulle/nginx/www/master/application/models/SurveyDynamic.php(916): CModel->offsetGet("138378X977X16179AND#0")
911                 $aAnswerText[$value['code']] = $value['answer'];
912             }
913 
914             $tempFieldname = $fieldname.'#0';
915             $sAnswerCode = isset($oResponses[$tempFieldname]) ? $oResponses[$tempFieldname] : null;
916             $sAnswerText = isset($aAnswerText[$oResponses[$tempFieldname]]) ? $aAnswerText[$oResponses[$tempFieldname]] . ' (' . $sAnswerCode . ')' : null;
917             $aQuestionAttributes['answervalues'][0] = $sAnswerText;
918 
919             $tempFieldname = $fieldname.'#1';
920             $sAnswerCode = isset($oResponses[$tempFieldname]) ? $oResponses[$tempFieldname] : null;
921             $sAnswerText = isset($aAnswerText[$oResponses[$tempFieldname]]) ? $aAnswerText[$oResponses[$tempFieldname]] . ' (' . $sAnswerCode . ')' : null;
#3
+
 /mnt/data/shnoulle/nginx/www/master/application/models/SurveyDynamic.php(810): SurveyDynamic->getQuestionArray(Question, SurveyDynamic, 1, true)
805                 //dont collect scale_id > 0
806                 if ($oSubquestion->scale_id > 0) {
807                     continue;
808                 }
809 
810                 $subQuestionArray = $this->getQuestionArray($oSubquestion, $oResponses, $bHonorConditions, true);
811                 if ($oQuestion->type == "P") {
812                     $subQuestionArray['comment'] = $this->getQuestionArray($oSubquestion, $oResponses, $bHonorConditions, true, true);
813                 }
814 
815                 $aQuestionAttributes['subquestions'][$oSubquestion->qid] = $subQuestionArray;
#4
+
 /mnt/data/shnoulle/nginx/www/master/application/models/SurveyDynamic.php(985): SurveyDynamic->getQuestionArray(Question, SurveyDynamic, 1)
980             }
981 
982             $aAnswersArray = array();
983             $aQuestionArray = array_filter($oGroup->questions, function($oQuestion) use ($sLanguage) { return $oQuestion->language == $sLanguage;});
984             foreach ( $aQuestionArray as $oQuestion) {
985                 $aQuestionArray = $this->getQuestionArray($oQuestion, $oResponses, $bHonorConditions);
986 
987                 if ($aQuestionArray === false) {
988                     continue;
989                 }
990 
2019-09-04 15:33:14 nginx/1.16.1 Yii Framework/1.1.21