PHP notice

Undefined variable: aTabContents

/mnt/data/shnoulle/nginx/www/develop/application/views/admin/survey/subview/_create_survey_text.php(38)

26         $standardthemerooturl,
27         $templaterooturl,
28         $sAdminEmailAddressNeeded
29     ),
30     LSYii_ClientScript::POS_BEGIN
31 );
32 
33 $count = 0;
34 if (isset($scripts)) {
35     echo $scripts;
36 }
37 
38 $aSurveyLanguageSettings = $aTabContents['aSurveyLanguageSettings'];
39 $surveyid = $aTabContents['surveyid'];
40 ?>
41 
42 
43 <!-- Edition container -->
44 <div class="container-fluid">
45     <div class="row">
46         <div class="col-md-6">
47             <!-- Survey title -->
48             <div class="form-group">
49                 <label class=" question-group-title control-label" for="surveyls_title">
50                     <?php eT("Survey title:"); ?>

Stack Trace

#3
+
 /mnt/data/shnoulle/nginx/www/develop/application/views/admin/survey/subview/tabCreate_view.php(56): CController->renderPartial("/admin/survey/subview/_create_survey_text", array("action" => "newsurvey", "owner" => array("uid" => "1", "users_name" => "DenisChenu", "password" => "$2y$10$Kp4NfXVlEBJp1XEeoG1AzOzPo26KdGStaKZPDAcqgtPHx9UQL1Aj6", "full_name" => "inherit", ...), "sRadixDefault" => 1, "sDateFormatDefault" => 5, ...))
51     </div>
52     <div class="ls-flex-row align-items-center align-content-center">
53         <div class="grow-10 ls-space padding left-10 right-10">
54             <div class="tab-content">
55                 <div class="tab-pane active" id="texts" data-count="1">
56                     <?php echo $this->renderPartial('/admin/survey/subview/_create_survey_text', $edittextdata); ?>
57                 </div>
58                 <div class="tab-pane" id="general-settings" data-count="2">
59                     <?php echo $this->renderPartial('/admin/survey/subview/accordion/_generaloptions_panel', $generalsettingsdata); ?>
60                 </div>
61                 <div class="tab-pane" id="presentation" data-count="3">
#7
+
 /mnt/data/shnoulle/nginx/www/develop/application/views/admin/survey/newSurvey_view.php(34): CController->renderPartial("/admin/survey/subview/tabCreate_view", array("data" => array("action" => "newsurvey", "owner" => array("uid" => "1", "users_name" => "DenisChenu", "password" => "$2y$10$Kp4NfXVlEBJp1XEeoG1AzOzPo26KdGStaKZPDAcqgtPHx9UQL1Aj6", "full_name" => "inherit", ...), "sRadixDefault" => 1, "sDateFormatDefault" => 5, ...)))
29 
30         <!-- tabs content -->
31         <div class="tab-content">
32             <!-- General Tab (contains accrodion) -->
33             <div id="general" class="tab-pane fade in <?php if($active=='create'){echo ' active ';}?>">
34                 <?php $this->renderPartial('/admin/survey/subview/tabCreate_view',array('data'=>$data));?>
35             </div>
36 
37             <!-- Import -->
38             <div id='import'  class="tab-pane fade in <?php if($active=='import'){echo ' active ';}?>">
39                 <?php $this->renderPartial('/admin/survey/subview/tabImport_view',$data); ?>
#11
+
 /mnt/data/shnoulle/nginx/www/develop/application/core/Survey_Common_Action.php(267): CController->renderPartial("/admin/survey/newSurvey_view", array("oSurvey" => Survey, "data" => array("action" => "newsurvey", "owner" => array("uid" => "1", "users_name" => "DenisChenu", "password" => "$2y$10$Kp4NfXVlEBJp1XEeoG1AzOzPo26KdGStaKZPDAcqgtPHx9UQL1Aj6", "full_name" => "inherit", ...), "sRadixDefault" => 1, "sDateFormatDefault" => 5, ...), "title_bar" => array("title" => "Nouveau questionnaire"), "fullpagebar" => array("savebutton" => array("form" => "addnewsurvey"), "closebutton" => array("url" => "admin/index"))), true)
262         // Load views
263         $content = "";
264         foreach ($aViewUrls as $sViewKey => $viewUrl) {
265             if (empty($sViewKey) || !in_array($sViewKey, array('message', 'output'))) {
266                 if (is_numeric($sViewKey)) {
267                     $content .= Yii::app()->getController()->renderPartial($sViewPath.$viewUrl, $aData, true);
268                 } elseif (is_array($viewUrl)) {
269                     foreach ($viewUrl as $aSubData) {
270                         $aSubData = array_merge($aData, $aSubData);
271                         $content .= Yii::app()->getController()->renderPartial($sViewPath.$sViewKey, $aSubData, true);
272                     }
2019-04-04 07:44:28 nginx/1.14.2 Yii Framework/1.1.20