PHP notice

Undefined variable: coreClass

/var/www/lime25/limesurvey/application/views/survey/questions/answer/list_dropdown/answer.php(20)

08  * @var $name
09  * @var $dropdownSize
10  * @var $checkconditionFunction
11  * @var $select_show_hide
12  *
13  */
14 ?>
15 
16 <!-- List Dropdown -->
17 
18 <!-- answer-->
19 
20 <div class="<?php echo $coreClass ?>  form-group form-inline">
21     <select
22             class="form-control list-question-select"
23             name="<?php echo $name; ?>"
24             id="answer<?php echo $name; ?>"
25             <?php  echo ($dropdownSize) ? "size=$dropdownSize" : "" ; ?>
26             aria-labelledby="ls-question-text-<?php echo $basename; ?>"
27     >
28         <?php
29             // rows/option.php
30             echo $sOptions;
31         ?>
32     </select>

Stack Trace

#3
+
 /var/www/lime25/limesurvey/application/core/LSETwigViewRenderer.php(136): CController->renderPartial("/survey/questions/answer/list_dropdown/answer", array("sOptions" => " <!-- option --> <option value='1' > Reading</option> <!--...", "sOther" => "<label for="othertext82556X6X192" class="sr-only"> Other:</l...", "name" => "82556X6X192", "basename" => "82556X6X192", ...), true)
131             $aData['this'] = Yii::app()->getController();
132             $aData['question_template_attribute'] = $oQuestionTemplate->getCustomAttributes();
133             $template = $this->_twig->loadTemplate($sView.'.twig')->render($aData);
134             return $template;
135         }else{
136             return Yii::app()->getController()->renderPartial($sView, $aData, true);
137         }
138     }
139 
140     /**
141      * Only use for renderTemplateFromString for now, to force the path of included twig files (in renderTemplateFromString: the template files)
#4
+
 /var/www/lime25/limesurvey/application/helpers/qanda_helper.php(6511): LSETwigViewRenderer->renderQuestion("/survey/questions/answer/list_dropdown/answer", array("sOptions" => " <!-- option --> <option value='1' > Reading</option> <!--...", "sOther" => "<label for="othertext82556X6X192" class="sr-only"> Other:</l...", "name" => "82556X6X192", "basename" => "82556X6X192", ...))
6506  * @param array     $aData      data to be extracted into PHP variables and made available to the view script
6507  * @param boolean   $bReturn    whether the rendering result should be returned instead of being displayed to end users (should be always true)
6508  */
6509 function doRender($sView, $aData, $bReturn=true)
6510 {
6511     return App()->twigRenderer->renderQuestion( $sView, $aData);
6512 }
#5
+
 /var/www/lime25/limesurvey/application/helpers/qanda_helper.php(1518): doRender("/survey/questions/answer/list_dropdown/answer", array("sOptions" => " <!-- option --> <option value='1' > Reading</option> <!--...", "sOther" => "<label for="othertext82556X6X192" class="sr-only"> Other:</l...", "name" => "82556X6X192", "basename" => "82556X6X192", ...), true)
1513         'basename'               => $ia[1],
1514         'dropdownSize'           => $dropdownSize,
1515         'checkconditionFunction' => $checkconditionFunction,
1516         'value'                  => htmlspecialchars($value),
1517         'select_show_hide'       => $select_show_hide,
1518     ), true);
1519 
1520 
1521     $inputnames[]=$ia[1];
1522 
1523     //Time Limit Code
2017-04-27 15:15:43 Apache/2.4.10 (Ubuntu) Yii Framework/1.1.17