PHP notice

Undefined index: 696427X1932X42024SQ001

/home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/helpers/qanda_helper.php(4659)

4647             $answertext = $ansrow['question'];
4648             $answertextsave=$answertext;
4649             if (strpos($answertext,'|'))
4650             {
4651                 $answertext=substr($answertext,0, strpos($answertext,'|'));
4652             }
4653             /* Check if this item has not been answered: the 'notanswered' variable must be an array,
4654             containing a list of unanswered questions, the current question must be in the array,
4655             and there must be no answer available for the item in this session. */
4656 
4657             if (strpos($answertext,'|')) {$answerwidth=$answerwidth/2;}
4658 
4659             if ($ia[6]=='Y' && (is_array($notanswered)) && (array_search($myfname, $notanswered) !== FALSE) && ($_SESSION['survey_'.Yii::app()->getConfig('surveyID')][$myfname] == '') ) {
4660                 $answertext = '<span class="errormandatory">'.$answertext.'</span>';
4661             }
4662             // Get array_filter stuff
4663             //
4664             // TMSW - is this correct?
4665             $trbc = alternation($trbc , 'row');
4666             list($htmltbody2, $hiddenfield)=return_array_filter_strings($ia, $aQuestionAttributes, $thissurvey, $ansrow, $myfname, $trbc, $myfname,"tr","$trbc answers-list radio-list");
4667             $fn++;
4668             $answer .= $htmltbody2;
4669 
4670             $answer .= "\t<th class=\"answertext\">\n$answertext"
4671             . $hiddenfield

Stack Trace

#0
+
 /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/helpers/qanda_helper.php(265): do_array(array("42024", "696427X1932X42024", "ARRAY", "An array : this launch undefined notice with index", ...))
260             break;
261         case 'E': //ARRAY (Increase/Same/Decrease) radio-buttons
262             $values=do_array_increasesamedecrease($ia);
263             break;
264         case 'F': //ARRAY (Flexible) - Row Format
265             $values=do_array($ia);
266             break;
267         case 'H': //ARRAY (Flexible) - Column Format
268             $values=do_arraycolumns($ia);
269             break;
270         case ':': //ARRAY (Multi Flexi) 1 to 10
#1
+
 /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/helpers/SurveyRuntimeHelper.php(860): retrieveAnswers(array("42024", "696427X1932X42024", "ARRAY", "An array : this launch undefined notice with index", ...), "696427")
855                     }
856 
857                     //Get the answers/inputnames
858                     // TMSW - can content of retrieveAnswers() be provided by LEM?  Review scope of what it provides.
859                     // TODO - retrieveAnswers is slow - queries database separately for each question. May be fixed in _CI or _YII ports, so ignore for now
860                     list($plus_qanda, $plus_inputnames) = retrieveAnswers($ia, $surveyid);
861                     if ($plus_qanda)
862                     {
863                         $plus_qanda[] = $ia[4];
864                         $plus_qanda[] = $ia[6]; // adds madatory identifyer for adding mandatory class to question wrapping div
865                         // Add a finalgroup in qa array , needed for random attribute : TODO: find a way to have it in new quanda_helper in 2.1
#2
+
 /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/controllers/survey/index.php(571): SurveyRuntimeHelper->run("696427", array("surveyid" => "696427", "thissurvey" => array("sid" => "696427", "owner_id" => "1", "admin" => "Denis Chenu", "active" => "Y", ...), "thisstep" => "1", "tokensexist" => 0, ...))
566         //Send local variables to the appropriate survey type
567         unset($redata);
568         $redata = compact(array_keys(get_defined_vars()));
569         Yii::import('application.helpers.SurveyRuntimeHelper');
570         $tmp = new SurveyRuntimeHelper();
571         $tmp->run($surveyid,$redata);
572 
573         if (isset($_POST['saveall']) || isset($flashmessage))
574         {
575             echo "<script type='text/javascript'> $(document).ready( function() { alert('".$clang->gT("Your responses were successfully saved.","js")."');}) </script>";
576         }
2014-10-08 10:48:38 Apache/2.2.22 (Debian) Yii Framework/1.1.15