PHP notice

Undefined variable: closeUrl

/mnt/data/shnoulle/nginx/www/master/application/extensions/TopbarWidget/views/includes/statisticsTopbarRight_view.php(22)

10     </a>
11     <button class="btn btn-success" name="view-button" id="view-button" data-submit-form=1>
12         <span class="fa"></span>
13         <?php eT("View statistics"); ?>
14     </button>
15 
16     <a class="btn btn-default" href="<?php echo Yii::app()->createUrl("admin/statistics/sa/index/",array('surveyid'=>$surveyid)) ?>" id="clear-button">
17         <span class="fa fa-refresh text-success"></span>
18         <?php eT("Clear"); ?>
19     </a>
20 <?php endif; ?>
21 
22 <a class="btn btn-danger" href="<?php echo $closeUrl; ?>" role="button">
23     <span class="fa fa-close"></span>
24     <?php eT("Close");?>
25 </a>

Stack Trace

#3
+
 /mnt/data/shnoulle/nginx/www/master/application/extensions/TopbarWidget/TopbarWidget.php(42): CWidget->render("includes/statisticsTopbarRight_view", array("imageurl" => "/master/assets/images", "surveyid" => "199893", "language" => "en", "display" => array("menu_bars" => array("browse" => "Browse responses")), ...), true)
37 
38         // If the view for the right side is set, render the content and add it to the main view data
39         $rightSideView = $this->config->getRightSideView();
40         if (!empty($rightSideView)) {
41             $rightSideData = array_merge($this->config->getRightSideData(), $aTopbarData);
42             $aTopbarData['rightSideContent'] = $this->render('includes/' . $rightSideView, $rightSideData, true);
43         }
44 
45         $aTopbarData['topbarId'] = $this->config->getId();
46         $aTopbarData = array_merge($this->config->getData(), $aTopbarData);
47 
#4
+
 /mnt/data/shnoulle/nginx/www/master/application/extensions/TopbarWidget/TopbarWidget.php(21): TopbarWidget->renderTopbar()
16         parent::init();
17 
18         if (is_null($this->config)) return;
19         
20         // Render the topbar
21         $this->renderTopbar();
22     }
23 
24     /**
25      * Renders the topbar
26      */
#7
+
 /mnt/data/shnoulle/nginx/www/master/application/helpers/LayoutHelper.php(469): CBaseController->widget("ext.TopbarWidget.TopbarWidget", array("config" => TopbarConfiguration, "aData" => array("imageurl" => "/master/assets/images", "surveyid" => "199893", "language" => "en", "display" => array("menu_bars" => array("browse" => "Browse responses")), ...)), true)
464             'ext.TopbarWidget.TopbarWidget',
465             array(
466                 'config' => $oTopbarConfig,
467                 'aData' => $aData,
468             ),
469             true
470         );
471     }
472 
473     /**
474      * Vue Topbar
2021-02-02 14:00:37 nginx/1.18.0 Yii Framework/1.1.22-dev