PHP notice

Undefined index: fr

/mnt/data/shnoulle/nginx/www/master/application/helpers/frontend_helper.php(1641)

1629 */
1630 function updateFieldArray()
1631 {
1632     global $surveyid;
1633 
1634 
1635     if (isset($_SESSION['survey_'.$surveyid]['fieldarray'])) {
1636         foreach ($_SESSION['survey_'.$surveyid]['fieldarray'] as $key => $value) {
1637             $questionarray = &$_SESSION['survey_'.$surveyid]['fieldarray'][$key];
1638             $arQuestion = Question::model()->findByPk($questionarray[0]);
1639             if (!empty($arQuestion)) {
1640                 $questionarray[2] = $arQuestion->title;
1641                 $questionarray[3] = $arQuestion->questionl10ns[$_SESSION['survey_'.$surveyid]['s_lang']]->question;
1642             }
1643             unset($questionarray);
1644         }
1645     }
1646 }
1647 
1648 /**
1649 * checkCompletedQuota() returns matched quotas information for the current response
1650 * @param integer $surveyid - Survey identification number
1651 * @param bool $return - set to true to return information, false do the quota
1652 * @return array|void - nested array, Quotas->Members->Fields, includes quota information matched in session.
1653 */

Stack Trace

#0
+
 /mnt/data/shnoulle/nginx/www/master/application/controllers/survey/index.php(301): updateFieldArray()
296             }
297 
298             // Update the Session var only if needed
299             if (App()->language != $sOldLang) {
300                 UpdateGroupList($surveyid, App()->language); // to refresh the language strings in the group list session variable
301                 updateFieldArray(); // to refresh question titles and question text
302             }
303         }
304 
305         //GET BASIC INFORMATION ABOUT THIS SURVEY
306         $thissurvey = getSurveyInfo($surveyid, $_SESSION['survey_'.$surveyid]['s_lang']);
#1
+
 /mnt/data/shnoulle/nginx/www/master/application/controllers/survey/index.php(24): index->action()
19     public $oTemplate;
20 
21     public function run()
22     {
23         useFirebug();
24         $this->action();
25     }
26 
27     public function action()
28     {
29         global $surveyid;
#9
+
 /mnt/data/shnoulle/nginx/www/master/index.php(182): CApplication->run()
177 require_once APPPATH . 'core/LSYii_Application' . EXT;
178 
179 $config = require_once(APPPATH . 'config/internal' . EXT);
180 
181 Yii::$enableIncludePath = false;
182 Yii::createApplication('LSYii_Application', $config)->run();
183 
184 /* End of file index.php */
185 /* Location: ./index.php */
2020-04-16 14:01:18 nginx/1.16.1 Yii Framework/1.1.22-dev