Error

Object of class stdClass could not be converted to string

/home/itip/web/bestactor.ru/public_html/framework/yiilite.php(9555)

9543             $this->_statement->bindParam($name,$value,$dataType);
9544         elseif($driverOptions===null)
9545             $this->_statement->bindParam($name,$value,$dataType,$length);
9546         else
9547             $this->_statement->bindParam($name,$value,$dataType,$length,$driverOptions);
9548         $this->_paramLog[$name]=&$value;
9549         return $this;
9550     }
9551     public function bindValue($name, $value, $dataType=null)
9552     {
9553         $this->prepare();
9554         if($dataType===null)
9555             $this->_statement->bindValue($name,$value,$this->_connection->getPdoType(gettype($value)));
9556         else
9557             $this->_statement->bindValue($name,$value,$dataType);
9558         $this->_paramLog[$name]=$value;
9559         return $this;
9560     }
9561     public function bindValues($values)
9562     {
9563         $this->prepare();
9564         foreach($values as $name=>$value)
9565         {
9566             $this->_statement->bindValue($name,$value,$this->_connection->getPdoType(gettype($value)));
9567             $this->_paramLog[$name]=$value;

Stack Trace

#5
+
 /home/itip/web/bestactor.ru/public_html/app/views/frontend/actor/events/_eventsList.php(4): CActiveRecord->findAll()
1 <div class="b-inner-biography-facts">
2     <?php
3 
4     $items = ActorEvents::model()->published()->applyActors($this->model)->findAll();
5 
6     if(!empty($items)):
7     ?>
8         <h2>Факты, связанные с актёром и его жизнью, добавленные пользователями</h2>
9 
#9
+
 /home/itip/web/bestactor.ru/public_html/app/views/frontend/actor/biography.php(10): CController->renderPartial()
05 <div class="b-cms b-inner-biography-content">
06     <h2>Биография <?php echo $this->model->fullname?></h2>
07     <?php echo $this->model->biography?>
08 </div>
09 
10 <?php $this->renderPartial('events/_eventsList')?>
11 
12 <div class="b-inner-biography-refers">
13 
14     <div class="<?php echo (empty($_POST[get_class($this->model->events)]) ? 'hide' : '')?>">
15         <?php $this->renderPartial('events/_form')?>
#14
+
 /home/itip/web/bestactor.ru/public_html/app/components/BaseController.php(63): CController->render()
58     public function render($view,$data=null,$return=false)
59     {
60         if (Yii::app()->request->isAjaxRequest === true) {
61             parent::renderPartial($view, $data, $return, false);
62         } else {
63             parent::render($view, $data, $return);
64         }
65     }
66 
67 
68     public function filters() {
2024-03-29 03:48:44 Apache/2.4.57 (Debian) mod_fcgid/2.3.9 OpenSSL/1.1.1n Yii Framework/1.1.22