PHP notice

Undefined index: 578129X282X2377CAT1

C:\etc\Apache\htdocs\MSSQL\application\helpers\qanda_helper.php(3376)

3364                 if (isset($answer_and_slider_array[2]))
3365                     $sliderright=$answer_and_slider_array[2];
3366                 else
3367                     $sliderright = '';
3368 
3369                 $sliderleft="<div class=\"slider_lefttext\">$sliderleft</div>";
3370                 $sliderright="<div class=\"slider_righttext\">$sliderright</div>";
3371             }
3372 
3373             // color code missing mandatory questions red
3374             if ($ia[6]=='Y' && (($_SESSION['survey_'.Yii::app()->getConfig('surveyID')]['step'] == $_SESSION['survey_'.Yii::app()->getConfig('surveyID')]['prevstep'])
3375                     || ($_SESSION['survey_'.Yii::app()->getConfig('surveyID')]['maxstep'] > $_SESSION['survey_'.Yii::app()->getConfig('surveyID')]['step']))
3376                     && $_SESSION['survey_'.Yii::app()->getConfig('surveyID')][$myfname] === '') {
3377                 $theanswer = "<span class='errormandatory'>{$theanswer}</span>";
3378             }
3379 
3380             list($htmltbody2, $hiddenfield)=return_array_filter_strings($ia, $aQuestionAttributes, $thissurvey, $ansrow, $myfname, '', $myfname, "li","question-item answer-item text-item numeric-item".$extraclass);
3381             $answer_main .= "\t$htmltbody2\n";
3382             if ($slider_layout === false)
3383             {
3384                 $answer_main .= "<label for=\"answer$myfname\">{$theanswer}</label>\n";
3385             }
3386             else
3387             {
3388                 $answer_main .= "<label for=\"answer$myfname\" class=\"slider-label\">{$theanswer}</label>\n";

Stack Trace

#0
+
 C:\etc\Apache\htdocs\MSSQL\application\helpers\qanda_helper.php(225): do_multiplenumeric(array("2377", "578129X282X2377", "CAT_GROUP", "<p> This questionnaire will help you and your healthcare profe...", ...))
220             break;
221         case 'Q': //MULTIPLE SHORT TEXT
222             $values=do_multipleshorttext($ia);
223             break;
224         case 'K': //MULTIPLE NUMERICAL QUESTION
225             $values=do_multiplenumeric($ia);
226             break;
227         case 'N': //NUMERICAL QUESTION TYPE
228             $values=do_numerical($ia);
229             break;
230         case 'S': //SHORT FREE TEXT
#1
+
 C:\etc\Apache\htdocs\MSSQL\application\helpers\SurveyRuntimeHelper.php(678): retrieveAnswers(array("2377", "578129X282X2377", "CAT_GROUP", "<p> This questionnaire will help you and your healthcare profe...", ...), "578129")
673                     }
674 
675                     //Get the answers/inputnames
676                     // TMSW - can content of retrieveAnswers() be provided by LEM?  Review scope of what it provides.
677                     // TODO - retrieveAnswers is slow - queries database separately for each question. May be fixed in _CI or _YII ports, so ignore for now
678                     list($plus_qanda, $plus_inputnames) = retrieveAnswers($ia, $surveyid);
679                     if ($plus_qanda)
680                     {
681                         $plus_qanda[] = $ia[4];
682                         $plus_qanda[] = $ia[6]; // adds madatory identifyer for adding mandatory class to question wrapping div
683                         $qanda[] = $plus_qanda;
#2
+
 C:\etc\Apache\htdocs\MSSQL\application\controllers\survey\index.php(651): SurveyRuntimeHelper->run("578129", array("surveyid" => "578129", "thissurvey" => array("sid" => "578129", "owner_id" => "1", "admin" => "Bruce Taggart", "active" => "N", ...), "thisstep" => "", "tokensexist" => 0, ...))
646         //Send local variables to the appropriate survey type
647         unset($redata);
648         $redata = compact(array_keys(get_defined_vars()));
649         Yii::import('application.helpers.SurveyRuntimeHelper');
650         $tmp = new SurveyRuntimeHelper();
651         $tmp->run($surveyid,$redata);
652 
653         if (isset($_POST['saveall']) || isset($flashmessage))
654         {
655             echo "\t\t<script type='text/javascript'>
656                 $(document).ready( function() {
2013-02-04 09:06:43 Apache/2.4.3 (Win32) OpenSSL/0.9.8x PHP/5.4.8 Yii Framework/1.1.10