Nacrem
Member
- Joined
- Jul 25, 2012
- Messages
- 33
Could you post the line? Im on a different version
i got the same error too...
Code:
21 'value'=>function($data,$row){ // declare signature so that we can use $data, and $row within this function
$chat = Chat::model()->countByAttributes(array('bot_id'=>$data->id),'sended > :last',array('last'=>$data->lastvisit));
$status = Status::model()->countByAttributes(array('bot_id'=>$data->id),'latestupdate > :last AND message NOT LIKE "Xp gain: %"',array('last'=>$data->lastvisit));
$ret = $chat+$status;
return $ret;
but this worked fine for me : http://domain.com/buddy/index.php?r=bot/view&id=1
this aint workin : http://domain.com/buddy/index.php?r=bot/index
Last edited: