Internal Server Error

CDbCommand failed to execute the SQL statement: SQLSTATE[42803]: Grouping error: 7 ERROR: column "t.gid" must appear in the GROUP BY clause or be used in an aggregate function
LINE 1: SELECT * FROM "groups" "t" WHERE "t"."gid"='6' GROUP BY lang...
^

An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem.

Thank you.

2012-10-08 11:16:21