PHP warning

Use of undefined constant s - assumed 's' (this will throw an Error in a future version of PHP)

/home/ivanwilmington/public_html/protected/views/report/alerts.php(41)

29                     }
30                 </script>
31                 <script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
32             
33                 <h1>Get Local Reports Alerts</h1>
34                 
35                 <?php $form=$this->beginWidget('CActiveForm', array(
36                         'id'=>'alerts-form',
37                         // Please note: When you enable ajax validation, make sure the corresponding
38                         // controller action is handling ajax validation correctly.
39                         // There is a call to performAjaxValidation() commented in generated controller code.
40                         // See class documentation of CActiveForm for details on this.
41                         'enableAjaxValidation'=>s,
42                 )); ?>
43 
44                 <p class="note">Fields with <span class="required">*</span> are required.</p>
45                 
46                 <div class="form-group">
47                         <?php echo $form->labelEx($alert,'name'); ?>
48                         <?php echo $form->textField($alert,'name',array('size'=>60,'maxlength'=>255,'placeholder'=>'Full Name')); ?>
49                         <?php echo $form->error($alert,'name'); ?>
50                 </div>
51                 
52                 <div class="form-group">
53                         <?php echo $form->labelEx($alert,'email'); ?>

Stack Trace

#4
+
 /home/ivanwilmington/public_html/protected/controllers/ReportController.php(605): CController->render("alerts", array("alert" => Alert, "alert_category" => AlertCategory))
600             }
601         }
602         
603         $this->render('alerts', array(
604             'alert' => $alert,
605             'alert_category' => $alert_category
606         ));
607     }
608 
609 
610     public function actionAlertsConfirm(){
#17
+
 /home/ivanwilmington/public_html/index.php(13): CApplication->run()
08 defined('YII_DEBUG') or define('YII_DEBUG',true);
09 // specify how many levels of call stack should be shown in each log message
10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
11 
12 require_once($yii);
13 Yii::createWebApplication($config)->run();
2024-03-19 06:59:48 Apache Yii Framework/1.1.20