CException

Property "Promo.fulltext" is not defined.

/home/blogarama/new/framework/yiilite.php(7249)

7237     }
7238     public function __get($name)
7239     {
7240         if(isset($this->_attributes[$name]))
7241             return $this->_attributes[$name];
7242         elseif(isset($this->getMetaData()->columns[$name]))
7243             return null;
7244         elseif(isset($this->_related[$name]))
7245             return $this->_related[$name];
7246         elseif(isset($this->getMetaData()->relations[$name]))
7247             return $this->getRelated($name);
7248         else
7249             return parent::__get($name);
7250     }
7251     public function __set($name,$value)
7252     {
7253         if($this->setAttribute($name,$value)===false)
7254         {
7255             if(isset($this->getMetaData()->relations[$name]))
7256                 $this->_related[$name]=$value;
7257             else
7258                 parent::__set($name,$value);
7259         }
7260     }
7261     public function __isset($name)

Stack Trace

#1
+
 /home/blogarama/new/protected/views/site/promotion.php(32): CActiveRecord->__get("fulltext")
27         </form>
28         <br />
29         <img src="/img/payment_options.png" alt="" height="26" width="130" />
30     </div>
31 </div>
32 <? echo $model->fulltext; ?>
33 
#6
+
 /home/blogarama/new/protected/controllers/SiteController.php(1812): CController->render("promotion", array("model" => Promo, "rawTitle" => "blogging-riches-unleashed"))
1807 
1808         $model = Promo::model()->find('title = ?', array($title));
1809         if ($model == null)
1810             $this->render('404', array());
1811         else
1812             $this->render('promotion', array('model' => $model, 'rawTitle' => $rawTitle));
1813     }
1814 
1815     private function parseSearchQuery($query)
1816     {
1817         $aSearch = explode(' ', $query);
#17
+
 /home/blogarama/new/index.php(230): CApplication->run()
225 
226 // print_r($_SERVER);
227 // print_r($_REQUEST);
228 
229 // create a Web application instance and run
230 Yii::createWebApplication($config)->run();
231 
232 
233  //print_r($_SESSION);
234 
235 /*
2024-03-19 04:41:27 Apache/2.4.6 (CentOS) PHP/7.0.23 Yii Framework/1.1.14