Fejl! ERROR: SQLSTATE[42000]: Syntax error or access violation: 1140 In aggregated query without GROUP BY, expression #1 of SELECT list contains nonaggregated column 'pontoppidan_db.person_HPSMedl.MedlAar'; this is incompatible with sql_mode=only_full_group_by type: ukendt fejltype, fil: _, ln: _