I crashed the demo survey.

More
4 years 7 months ago - 4 years 7 months ago #89443 by totoro
totoro created the topic: I crashed the demo survey.
Hello, I just came here and was experimenting on the Demo survey - then it died. I guess this is an issue, the main thing I was doing which was not standard was trying to add multilingual info. I was making my first question group when I got the below php error dump. After this all of the Demo surveys disappeared from the list.


PHP notice

Trying to get property of non-object

application/controllers/admin/questiongroup.php(116)

104 {
105 $surveyid = sanitize_int($surveyid);
106 $aViewUrls = $aData = array();
107
108 if (hasSurveyPermission($surveyid, 'surveycontent', 'read'))
109 {
110 $clang = $this->getController()->lang;
111
112 Yii::app()->session = "create:group:{$surveyid}";
113
114 Yii::app()->loadHelper('admin/htmleditor');
115 Yii::app()->loadHelper('surveytranslator');
116 $grplangs = Survey::model()->findByPk($surveyid)->additionalLanguages;
117 $baselang = Survey::model()->findByPk($surveyid)->language;
118 $grplangs[] = $baselang;
119 $grplangs = array_reverse($grplangs);
120
121 $aData = 'addgroup';
122 $aData = $surveyid;
123 $aData = $aData = 'addgroup';
124 $aData = $grplangs;
125 $aData = $baselang;
126
127 $this->_renderWrappedTemplate('survey/QuestionGroups', 'addGroup_view', $aData);
128 }
Stack Trace
#0
unknown(0): questiongroup->add("382745")
#1

[....]
Last Edit: 4 years 7 months ago by c_schmitz.

Please Log in to join the conversation.

More
4 years 7 months ago #89445 by mdekker
mdekker replied the topic: I crashed the demo survey.
The Demo system is reset daily, you were probably active at the time that happened. If you can do it again (not at the same time of day please to rul eout the possibility of system reset) please file a bug report.

---
Menno Dekker

Please Log in to join the conversation.

Did you already participate in our customer survey?

Don't miss your chance for great prices.

Please click here to participate:

Start now

Start now!

Just create your account and start using Limesurvey today.

Register now