Recoverable error

Object of class MeetingReview could not be converted to string

/membri/cmif/framework/zii/widgets/CDetailView.php(238)

226             echo CHtml::closeTag($this->tagName);
227     }
228 
229     /**
230      * This method is used by run() to render item row
231      *
232      * @param array $options config options for this item/attribute from {@link attributes}
233      * @param string $templateData data that will be inserted into {@link itemTemplate}
234      * @since 1.1.11
235      */
236     protected function renderItem($options,$templateData)
237     {
238         echo strtr(isset($options['template']) ? $options['template'] : $this->itemTemplate,$templateData);
239     }
240 
241     /**
242      * @return CFormatter the formatter instance. Defaults to the 'format' application component.
243      */
244     public function getFormatter()
245     {
246         if($this->_formatter===null)
247             $this->_formatter=Yii::app()->format;
248         return $this->_formatter;
249     }
250 

Stack Trace

#1
+
 /membri/cmif/public/protected/extensions/zii/widgets/ButtonView.php(123): CDetailView->renderItem(array("name" => "review", "value" => null, "type" => "raw"), array("{label}" => "Rassegna", "{class}" => "odd", "{value}" => MeetingReview))
118     */
119     protected function renderItem($options,$templateData)
120     {
121         $a = 12;
122     if($this->showEmptyValues || !empty($templateData['{value}']))
123           return parent::renderItem($options,$templateData);
124     }
125 }
126 ?>
#3
+
 /membri/cmif/public/protected/extensions/zii/widgets/ButtonView.php(49): CDetailView->run()
44      * This is the main entry of the whole button view rendering.
45      */
46     public function run()
47     {
48         ob_start();
49         parent::run();
50         $result = ob_get_clean();
51         if($this->portlet)
52           $result = $this->renderPortlet($result);
53         else 
54           $result = $this->renderSimple($result);
#5
+
 /membri/cmif/public/protected/views/meeting/default/_details.php(49): CBaseController->widget("ext.zii.widgets.ButtonView", array("data" => Meeting, "showEmptyValues" => false, "attributes" => array(array("name" => "id", "value" => "241", "visible" => false), array("name" => "review", "value" => null, "type" => "raw"), "title", array("name" => "type", "value" => "Letture"), ...)))
44         'value' => $model->getRelatorName(LinkType::LinkPage),
45         'type' => 'raw',
46       ),
47       'attendance',
48       ),
49   ));
50 
51 ?>
2024-03-19 10:37:47 Apache Yii Framework/1.1.14