CException

Property "Intervention.keywords" is not defined.

/home/1223734.cloudwaysapps.com/rpamfzuxzw/public_html/shared/yii_1_1_13/framework/db/ar/CActiveRecord.php(143)

131      */
132     public function __get($name)
133     {
134         if(isset($this->_attributes[$name]))
135             return $this->_attributes[$name];
136         elseif(isset($this->getMetaData()->columns[$name]))
137             return null;
138         elseif(isset($this->_related[$name]))
139             return $this->_related[$name];
140         elseif(isset($this->getMetaData()->relations[$name]))
141             return $this->getRelated($name);
142         else
143             return parent::__get($name);
144     }
145 
146     /**
147      * PHP setter magic method.
148      * This method is overridden so that AR attributes can be accessed like properties.
149      * @param string $name property name
150      * @param mixed $value property value
151      */
152     public function __set($name,$value)
153     {
154         if($this->setAttribute($name,$value)===false)
155         {

Stack Trace

#1
+
 /home/1223734.cloudwaysapps.com/rpamfzuxzw/public_html/releases/20180313082839/protected/views/intervention/_view.php(25): CActiveRecord->__get()
20     <b><?php echo CHtml::encode($data->getAttributeLabel('published_status')); ?>:</b>
21     <?php echo CHtml::encode($data->published_status); ?>
22     <br />
23 
24     <b><?php echo CHtml::encode($data->getAttributeLabel('keywords')); ?>:</b>
25     <?php echo CHtml::encode($data->keywords); ?>
26     <br />
27 
28     <b><?php echo CHtml::encode($data->getAttributeLabel('based_on')); ?>:</b>
29     <?php echo CHtml::encode($data->based_on); ?>
30     <br />
#10
+
 /home/1223734.cloudwaysapps.com/rpamfzuxzw/public_html/releases/20180313082839/protected/views/intervention/index.php(19): CBaseController->widget()
14 
15 <h1>Interventions</h1>
16 
17 <?php $this->widget('zii.widgets.CListView', array(
18     'dataProvider'=>$dataProvider,
19     'itemView'=>'_view',
20 )); ?>
#15
+
 /home/1223734.cloudwaysapps.com/rpamfzuxzw/public_html/releases/20180313082839/protected/controllers/InterventionController.php(543): CController->render()
538      */
539     public function actionIndex()
540     {
541         $dataProvider=new CActiveDataProvider('Intervention');
542         $this->render('index',array(
543             'dataProvider'=>$dataProvider,
544         ));
545     }
546 
547     /**
548      * Manages all models.
2024-03-19 04:57:00 Apache/2.4.57 (Debian) Yii Framework/1.1.13