PHP notice

Undefined variable: stepInfo

/home/sondages.pro/htdocs/limesurvey_GIT/testing/answershtml/application/helpers/SurveyRuntimeHelper.php(288)

276                             $plus_qanda['finalgroup']=$ia[10];
277                         else
278                             $plus_qanda['finalgroup']=$ia[5];
279                         $qanda[] = $plus_qanda;
280                     }
281                     if ($plus_inputnames)
282                     {
283                         $inputnames = addtoarray_single($inputnames, $plus_inputnames);
284                     }
285 
286                     //Display the "mandatory" popup if necessary
287                     // TMSW - get question-level error messages - don't call **_popup() directly
288                     if ($okToShowErrors && $stepInfo['mandViolation'])
289                     {
290                         list($mandatorypopup, $popup) = mandatory_popup($ia, $notanswered);
291                     }
292 
293                     //Display the "validation" popup if necessary
294                     if ($okToShowErrors && !$stepInfo['valid'])
295                     {
296                         list($validationpopup, $vpopup) = validation_popup($ia, $notvalidated);
297                     }
298 
299                     // Display the "file validation" popup if necessary
300                     if ($okToShowErrors && isset($filenotvalidated))

Stack Trace

#0
+
 /home/sondages.pro/htdocs/limesurvey_GIT/testing/answershtml/application/controllers/survey/index.php(658): SurveyRuntimeHelper->run("33944", array("surveyid" => "33944", "thissurvey" => array("template" => "default", "language" => "fr", "sid" => "33944", "owner_id" => "1", ...), "thisstep" => null, "tokensexist" => 0, ...))
653         //Send local variables to the appropriate survey type
654         unset($redata);
655         $redata = compact(array_keys(get_defined_vars()));
656         Yii::import('application.helpers.SurveyRuntimeHelper');
657         $tmp = new SurveyRuntimeHelper();
658         $tmp->run($surveyid,$redata);
659 
660         if (App()->request->getPost('saveall') || isset($flashmessage))
661         {
662             App()->clientScript->registerScript("saveflashmessage","alert('".gT("Your responses were successfully saved.","js")."');",CClientScript::POS_READY);
663         }
#1
+
 /home/sondages.pro/htdocs/limesurvey_GIT/testing/answershtml/application/controllers/survey/index.php(73): index->action()
68             App()->getClientScript()->reset();
69             return $buffer;
70         });
71 
72         ob_implicit_flush(false);
73         $this->action();
74         ob_flush();
75     }
76 
77     function action()
78     {
#9
+
 /home/sondages.pro/htdocs/limesurvey_GIT/testing/answershtml/index.php(214): CApplication->run()
209         die (sprintf('%s should be writable by the webserver (766 or 776).', $sDefaultRuntimePath));
210     }
211 }
212 
213 Yii::$enableIncludePath = false;
214 Yii::createApplication('LSYii_Application', $config)->run();
215 
216 /* End of file index.php */
217 /* Location: ./index.php */
2016-11-21 08:26:00 Apache/2.2.22 (Debian) Yii Framework/1.1.17