CException

Property "Survey.preselectnoanswer" is not defined.

/media/shnoulle/data/www/master/vendor/yiisoft/yii/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

#5
+
–
 /media/shnoulle/data/www/master/application/models/Survey.php(1037): CActiveRecord->save()
1032             if ($attempts > 50) {
1033                 throw new Exception("Unable to get a valid survey ID after 50 attempts");
1034             }
1035         }
1036 
1037         if (!$survey->save()) {
1038             $survey->sid = null;
1039         }
1040         return $survey;
1041     }
1042 
#6
+
–
 /media/shnoulle/data/www/master/application/helpers/admin/import_helper.php(2320): Survey->insertNewSurvey()
2315         $insertdata = array_intersect_key($insertdata, $aSurveyModelsColumns);
2316         // Fill a optional array of error
2317         foreach ($aBadData as $key => $value) {
2318             $results['importwarnings'][] = sprintf(gT("This survey setting has not been imported: %s => %s"), $key, $value);
2319         }
2320         $newSurvey = Survey::model()->insertNewSurvey($insertdata);
2321         if ($newSurvey->sid) {
2322             $iNewSID = $results['newsid'] = $newSurvey->sid;
2323             $results['surveys']++;
2324             if (!empty($iDesiredSurveyId) && $iNewSID != $iDesiredSurveyId) {
2325                 $results['importwarnings'][] = gT("The desired survey ID was already in use, therefore a random one was assigned.");
#7
+
–
 /media/shnoulle/data/www/master/application/helpers/admin/import_helper.php(1436): XMLImportSurvey()
1431             }
1432             // Step 1 - import the LSS file and activate the survey
1433             foreach ($files as $filename) {
1434                 if (pathinfo((string) $filename, PATHINFO_EXTENSION) == 'lss') {
1435                     //Import the LSS file
1436                     $aImportResults = XMLImportSurvey(Yii::app()->getConfig('tempdir') . DIRECTORY_SEPARATOR . $filename, null, $sNewSurveyName, null, true, false, $targetSurveyGroup);
1437                     if ($aImportResults && $aImportResults['newsid']) {
1438                         $SurveyIntegrity = new LimeSurvey\Models\Services\SurveyIntegrity(Survey::model()->findByPk($aImportResults['newsid']));
1439                         $SurveyIntegrity->fixSurveyIntegrity();
1440                     }
1441                     // Activate the survey
2026-09-14 06:34:20 nginx/1.26.3 Yii Framework/1.1.32