exception 'Exception' with message 'Expression #5 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'stradapp_website.Workflow.OUser' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by Query: SELECT YEAR(DataOrdinamento) as AnnoNews ,YEAR(DataOrdinamento) as Grouping ,Workflow.Object as Object ,Workflow.State as State ,Workflow.OUser as OUser ,Workflow.OGroup as OGroup ,Workflow.ModifyUser as ModifyUser ,Workflow.CreateUser as CreateUser ,Workflow.ID as wfID ,Workflow.CreationDate as CreationDate ,Workflow.ModificationDate as ModificationDate ,Workflow.WorkflowKEY as WorkflowKEY FROM `News` JOIN Workflow ON Workflow.Object in ('News[It]') AND Workflow.ID=NewsKEY AND Workflow.State in ('online') GROUP BY YEAR(DataOrdinamento) ORDER BY DataOrdinamento DESC' in /home/stradappenninobo/public_html/libs/dlibs/ActiveDB/MySQLDbWrapper.php:73 Stack trace: #0 /home/stradappenninobo/public_html/libs/dlibs/ActiveDB/ActiveDB.php(713): MysqlDBWrapper->doQuery('SELECT YEAR(Dat...') #1 /home/stradappenninobo/public_html/libs/dlibs/ActiveDB/ActiveDB.php(581): ActiveDB->findAll(Array) #2 /home/stradappenninobo/public_html/website/models/autoload/News.php(69): ActiveDB->getAll(Array) #3 /home/stradappenninobo/public_html/website/models/autoload/News.php(35): News->getGroupedList('YEAR') #4 /home/stradappenninobo/public_html/website/controllers/News_Controller.php(11): News->getList('year') #5 /home/stradappenninobo/public_html/libs/dsite/DSite_CallableController.php(10): News_Controller->beforeRun() #6 /home/stradappenninobo/public_html/libs/dsite/DSiteManager.php(302): DSite_CallableController->run() #7 /home/stradappenninobo/public_html/libs/dsite/DSiteManager.php(371): DSiteManager->handleSiteController() #8 /home/stradappenninobo/public_html/website/index.php(89): DSiteManager->run() #9 {main}