PHP notice

Undefined index: fr

/home/sondages.pro/htdocs/limesurvey_GIT/testing/develop/application/models/Survey.php(194)

182     }
183 
184 
185     /**
186      * The Survey languagesettings in currently active language. Falls back to the surveys' default language if the current language is not available.
187      * @return SurveyLanguageSetting
188      */
189     public function getCurrentLanguageSettings()
190     {
191         if (isset($this->languagesettings[App()->language])) {
192             return $this->languagesettings[App()->language];
193         } else {
194             return $this->languagesettings[$this->language];
195         }
196     }
197 
198     /**
199      * Expires a survey. If the object was invoked using find or new surveyId can be ommited.
200      * @param int $surveyId
201      * @return bool
202      */
203     public function expire($surveyId = null)
204     {
205         $dateTime = dateShift(date("Y-m-d H:i:s"), "Y-m-d H:i:s", Yii::app()->getConfig('timeadjust'));
206         $dateTime = dateShift($dateTime, "Y-m-d H:i:s", '-1 minute');

Stack Trace

#2
+
 /home/sondages.pro/htdocs/limesurvey_GIT/testing/develop/application/controllers/admin/questions.php(109): CActiveRecord->__get("currentLanguageSettings")
104         $aData['sidemenu']['state'] = true;
105         $aData['sidemenu']['explorer']['state'] = true;
106         $aData['sidemenu']['explorer']['gid'] = (isset($gid))?$gid:false;
107         $aData['sidemenu']['explorer']['qid'] = (isset($qid))?$qid:false;
108 
109         $aData['title_bar']['title'] = $survey->currentLanguageSettings->surveyls_title." (".gT("ID").":".$iSurveyID.")";
110 
111         // Last question visited : By user (only one by user)
112         $setting_entry = 'last_question_'.Yii::app()->user->getId();
113         setGlobalSetting($setting_entry, $qid);
114 
#5
+
 /home/sondages.pro/htdocs/limesurvey_GIT/testing/develop/application/core/Survey_Common_Action.php(87): CAction->runWithParamsInternal(questions, ReflectionMethod, array("surveyid" => "854471", "gid" => "3", "qid" => "3", "sa" => "view", ...))
82             $oMethod = new ReflectionMethod($this, $sDefault);
83         }
84 
85         // We're all good to go, let's execute it
86         // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params
87         return parent::runWithParamsInternal($this, $oMethod, $params);
88     }
89 
90     /**
91      * Some functions have different parameters, which are just an alias of the
92      * usual parameters we're getting in the url. This function just populates
#9
+
 /home/sondages.pro/htdocs/limesurvey_GIT/testing/develop/application/controllers/AdminController.php(179): CController->run("questions")
174                     $this->redirect(array('/admin/authentication/sa/login'));
175                 }
176             }
177         }
178 
179         return parent::run($action);
180     }
181 
182     /**
183     * Routes all the actions to their respective places
184     *
2017-09-28 08:40:39 Apache/2.2.22 (Debian) Yii Framework/1.1.18