CException

Propiedad "Category"."prod" no se encuentra definida.

/var/www/html/www.casatorres.com/private/yii-1.1.13.e9e4a0/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
+
 /var/www/html/www.casatorres.com/webspace/protected/views/quefer/productDetall.php(286): CActiveRecord->__get("prod")
281                                 $url = Image::default_img;
282                                 $attributes = 'width="'.Image::small_img.'" height="'.Image::small_img.'"';
283                             }
284                     ?>
285                         <div class="slide">
286                             <a itemprop="isAccessoryOrSparePartFor" href="<?php echo Yii::app()->createUrl('site/product',array('slug'=>$c->prod[Yii::app()->session['id_lang']]->link_rewrite));?>">
287                                 <img src="<?php echo $url;?>" alt="" <?php echo $attributes ?> />
288                             </a>
289                             <p class="slider-description light-blue" itemprop="name"><?php echo $c->prod[Yii::app()->session['id_lang']]->name;?></p>
290                             <?php if($c->show_price==1): ?>
291                             <p class="price"><?php echo number_format($c->price+($c->price*$c->id_tax/100),2,',','.');?> €</p>
#6
+
 /var/www/html/www.casatorres.com/webspace/protected/controllers/QueferController.php(68): CController->render("productDetall", array("model" => Product, "review" => array(), "specificPrice" => array(), "full_slug" => array("Creaciones de bisutería que puedoi hacer " => "/es/category/creaciones-de-bisuteria-que-puedoi-hacer", 0 => "Collar con cordón trenzado, perlas y bola facetada")))
63         $full_slug[]=$model->product_lang->name;
64         
65         $review = ProductReview::getReviewWithIdProduct($model->id_product);
66         $specificPrice=SpecificPrice::getSpecificPrice($model->id_product);
67         
68         $this->render('productDetall',array('model'=>$model,'review'=>$review,'specificPrice'=>$specificPrice,'full_slug'=>$full_slug));
69     }
70 
71 }
72 ?>
#14
+
 /var/www/html/www.casatorres.com/webspace/index.php(15): CApplication->run()
10 // specify how many levels of call stack should be shown in each log message
11 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
12 
13 require_once($yii);
14 
15 Yii::createWebApplication($config)->run();
16 
17         Yii::import('ext.yiiexcel.YiiExcel', true);
18         Yii::registerAutoloader(array('YiiExcel', 'autoload'), true);
19 ?>
2024-03-28 22:36:16 Apache Yii Framework/1.1.13