Hoặc
thay đổi:$criteria->select = "username" to ==> $criteria->select = "u.username"
HOẶC
loại bỏ:$criteria->alias = "u" and change $criteria->select = "username" to ==> $criteria->select = "t.username" and change all left join alias 'u.field_name' to ==> 't.field_name'