PHP notice

Undefined variable: answertypeclass

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

3057                 $integeronly=1;
3058             }
3059             else
3060             {
3061                 $integeronly=0;
3062             }
3063 
3064             if(!$sliders)
3065             {
3066             $sRows .= Yii::app()->getController()->renderPartial('/survey/questions/multiplenumeric/rows/input/answer_row', array(
3067                 'qid'                    => $ia[0],
3068                 'extraclass'             => $extraclass,
3069                 'answertypeclass'        => $answertypeclass,
3070                 'sDisplayStyle'          => $sDisplayStyle,
3071                 'kpclass'                => $kpclass,
3072                 'alert'                  => $alert,
3073                 'theanswer'              => $theanswer,
3074                 'labelname'              => 'answer'.$myfname,
3075                 'prefixclass'            => $prefixclass,
3076                 'prefix'                 => $prefix,
3077                 'suffix'                 => $suffix,
3078                 'tiwidth'                => $tiwidth,
3079                 'myfname'                => $myfname,
3080                 'dispVal'                => $sValue,
3081                 'maxlength'              => $maxlength,

Stack Trace

#0
+
 /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/helpers/qanda_helper.php(212): do_multiplenumeric(array("13094", "649162X499X13094", "Q", "Multiples entrées numériques", ...))
207         case 'Q': //MULTIPLE SHORT TEXT
208             $values=do_multipleshorttext($ia);
209             break;
210 
211         case 'K': //MULTIPLE NUMERICAL QUESTION
212             $values=do_multiplenumeric($ia);
213             break;
214 
215         case 'N': //NUMERICAL QUESTION TYPE
216             $values=do_numerical($ia);
217             break;
#1
+
 /home/sondages.pro/htdocs/limesurvey_GIT/LimeSurvey/application/helpers/SurveyRuntimeHelper.php(1025): retrieveAnswers(array("13094", "649162X499X13094", "Q", "Multiples entrées numériques", ...), "649162")
1020                     }
1021 
1022                     //Get the answers/inputnames
1023                     // TMSW - can content of retrieveAnswers() be provided by LEM?  Review scope of what it provides.
1024                     // TODO - retrieveAnswers is slow - queries database separately for each question. May be fixed in _CI or _YII ports, so ignore for now
1025                     list($plus_qanda, $plus_inputnames) = retrieveAnswers($ia, $surveyid);
1026                     if ($plus_qanda)
1027                     {
1028                         $plus_qanda[] = $ia[4];
1029                         $plus_qanda[] = $ia[6]; // adds madatory identifyer for adding mandatory class to question wrapping div
1030                         // 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(614): SurveyRuntimeHelper->run("649162", array("surveyid" => "649162", "thissurvey" => array("template" => "default", "language" => "en", "sid" => "649162", "owner_id" => "1", ...), "thisstep" => "1", "tokensexist" => 0, ...))
609         //Send local variables to the appropriate survey type
610         unset($redata);
611         $redata = compact(array_keys(get_defined_vars()));
612         Yii::import('application.helpers.SurveyRuntimeHelper');
613         $tmp = new SurveyRuntimeHelper();
614         $tmp->run($surveyid,$redata);
615 
616         if (App()->request->getPost('saveall') || isset($flashmessage))
617         {
618             App()->clientScript->registerScript("saveflashmessage","alert('".gT("Your responses were successfully saved.","js")."');",CClientScript::POS_READY);
619         }
2016-04-19 10:10:58 Apache/2.2.22 (Debian) Yii Framework/1.1.17