CException

Property "SurveyLanguageSetting.surveyls_alias" is not defined.

/home/limesurvey.shnoulle.net/www/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

#1
+
 /home/limesurvey.shnoulle.net/www/application/models/SurveyLanguageSetting.php(333): CActiveRecord->__get()
328 
329     protected function afterFind()
330     {
331         parent::afterFind();
332         $this->oldSurveyId = $this->surveyls_survey_id;
333         $this->oldAlias = $this->surveyls_alias;
334     }
335 }
#7
+
 /home/limesurvey.shnoulle.net/www/application/models/LSActiveRecord.php(77): CActiveRecord->query()
72      * @since 1.1.7
73      */
74     protected function query($criteria, $all = false, $asAR = true)
75     {
76         if ($asAR === true) {
77             return parent::query($criteria, $all);
78         } else {
79             $this->beforeFind();
80             $this->applyScopes($criteria);
81             if (!$all) {
82                 $criteria->limit = 1;
#9
+
 /home/limesurvey.shnoulle.net/www/application/models/Survey.php(2304): CActiveRecord->findAll()
2299      */
2300     public function findAllPublic()
2301     {
2302         $oCriteria = new CDbCriteria();
2303         $oCriteria->condition = "listpublic = 'Y' or listpublic = 'I'";
2304         $aSurveys = $this->findAll($oCriteria);
2305         $aSurveys = array_filter(
2306             $aSurveys,
2307             function ($s) {
2308                 return $s->isListPublic;
2309             }
2023-02-28 18:46:10 nginx/1.18.0 Yii Framework/1.1.27
Application Log
Timestamp Level Category Message
18:46:10.161813 error exception.CException
CException: Property "SurveyLanguageSetting.surveyls_alias" is not defined.
in
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/base/CComponent.php:130
Stack trace:
#0
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(145):
CComponent->__get()
#1
/home/limesurvey.shnoulle.net/www/application/models/SurveyLanguageSetting.php(333):
CActiveRecord->__get()
#2
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(1058):
SurveyLanguageSetting->afterFind()
#3
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveFinder.php(776):
CActiveRecord->afterFindInternal()
#4
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveFinder.php(778):
CJoinElement->afterFind()
#5
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveFinder.php(69):
CJoinElement->afterFind()
#6
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(1364):
CActiveFinder->query()
#7
/home/limesurvey.shnoulle.net/www/application/models/LSActiveRecord.php(77):
CActiveRecord->query()
#8
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(1478):
LSActiveRecord->query()
#9 /home/limesurvey.shnoulle.net/www/application/models/Survey.php(2304):
CActiveRecord->findAll()
#10
/home/limesurvey.shnoulle.net/www/application/controllers/SurveysController.php(38):
Survey->findAllPublic()
#11 [internal function]: SurveysController->actionPublicList()
#12
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/actions/CAction.php(115):
ReflectionMethod->invokeArgs()
#13
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/actions/CInlineAction.php(47):
CAction->runWithParamsInternal()
#14
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CController.php(308):
CInlineAction->runWithParams()
#15
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CController.php(286):
CController->runAction()
#16
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CController.php(265):
CController->runActionWithFilters()
#17
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CWebApplication.php(282):
CController->run()
#18
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/web/CWebApplication.php(141):
CWebApplication->runController()
#19
/home/limesurvey.shnoulle.net/www/vendor/yiisoft/yii/framework/base/CApplication.php(185):
CWebApplication->processRequest()
#20 /home/limesurvey.shnoulle.net/www/index.php(192): CApplication->run()
#21 {main}
REQUEST_URI=/
---