Экзаменационные группы

Error: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'pnzgu.students_list_old.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
Fatal error: Uncaught exception 'DbException' with message 'Sorry for convinience. Database is down. Please visit us later. In query 'SELECT * from `students_list_old` WHERE `group_title`='а10' GROUP BY `lastname`,'firtsname','secondname' ORDER BY `lastname` ' ' in /home/web/pnzgu.ru/html/core/class/database/DB.class.php:50 Stack trace: #0 /home/web/pnzgu.ru/html/core/class/database/DB.class.php(124): DB->query('SELECT * from `...') #1 /home/web/pnzgu.ru/html/modules/apply/class/ApplylistHome.class.php(602): DB->getListData('SELECT * from `...', Array) #2 /home/web/pnzgu.ru/html/modules/apply/src/index.inc.php(759): ApplylistHome->getStudentsListByGroup('??10') #3 /home/web/pnzgu.ru/html/scripts/index.php(146): include('/home/web/pnzgu...') #4 /home/web/pnzgu.ru/html/index.php(131): include('/home/web/pnzgu...') #5 {main} thrown in /home/web/pnzgu.ru/html/core/class/database/DB.class.php on line 50