CException

CException

A propriedade "Categoria.imagem" não está definida.

/home/storage/b/45/8d/idealog/public_html/suabios/yii/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/storage/b/45/8d/idealog/public_html/suabios/de/radio.php(61): CActiveRecord->__get("imagem")
56              ?>
57             <h1 class="titulos-internos fonte-opensans-bold">Radio - <?=$radio->nome_de;?></h1>
58 
59             <div class="row margin20">
60                 <?php
61                 $file = "http://suabios.s3.amazonaws.com/uploads/".$radio->imagem;
62                 ?>
63                 <div class="col-md-5">
64                     <img src="<?=$file?>" class="img-responsive center-block" alt="R&aacute;dio - <?=$radio->nome_de;?>" title="<?=$radio->nome_de?>">
65                 </div>
66                 <div class="col-md-7 text-justify">
#2
+
–
 /home/storage/b/45/8d/idealog/public_html/suabios/de/RequestManager.php(171): require_once("/home/storage/b/45/8d/idealog/public_html/suabios/de/radio.php")
166             $html = ob_get_clean();
167             echo $html;
168             exit;
169         }
170 
171         require_once($require_file);
172         exit;
173 
174     }
175 
176 }
#3
+
–
 /home/storage/b/45/8d/idealog/public_html/suabios/de/index_site.php(92): RequestManager->run(array("/" => "inicial.php", "/index" => "inicial.php", "/inicial" => "inicial.php", "/projetos" => "projetos.php", ...))
87         //'/(?P<url>\S+)'=>'inicial.php',
88     );
89     //determinarRota($rotas);
90     include_once("RequestManager.php");
91     $request_manager = new RequestManager();
92     $request_manager->run($rotas);
93 }
2019-03-20 10:01:57 Apache Yii Framework/1.1.13