При обращении к http://localhost/testdrive/comment/index выскакивает ошибка Trying to get property of non-object
public function actionIndex()
126 {
127 $dataProvider=new CActiveDataProvider('Comment', array(
128 'criteria'=>array(
129 'condition'=>'post_id=:postId',
130 'params'=>array(':postId'=>$this->_post->id), //здесь ошибка
131 ),
132 ));