Информация о количестве поданных заявлений

Error: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'pnzgu.st.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 st.* FROM students_list_old st GROUP BY st.lastname, st.firstname, st.secondname ' ' 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 st.*????...') #1 /home/web/pnzgu.ru/html/modules/apply/class/ApplylistHome.class.php(23): DB->getListData('SELECT st.*????...', Array) #2 /home/web/pnzgu.ru/html/modules/apply/src/index.inc.php(649): ApplylistHome->getNewListApp() #3 /home/web/pnzgu.ru/html/scripts/index.php(146): include('/home/web/pnzgu...') #4 /home/web/pnzgu.ru/html/index.php(134): include('/home/web/pnzgu...') #5 {main} thrown in /home/web/pnzgu.ru/html/core/class/database/DB.class.php on line 50