Um erro no Banco de Dados aconteceu

Error Number: 1055

Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'congresso_alergia.o.ordem' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

SELECT `t`.*, `c`.`nome` as coordenador, `c`.`estado`, `c`.`pais`, `p`.`paisNome` as pais_nome FROM (`temas` t) LEFT JOIN `temas_ordem` o ON `o`.`tema_id` = `t`.`id` JOIN `coordenadores` c ON `c`.`id` = `t`.`coord_id` JOIN `paises` p ON `p`.`paisId` = `c`.`pais` GROUP BY `t`.`id` ORDER BY `o`.`ordem` asc

Filename: /html/html/eep/eep/alergia/models/crud_model.php

Line Number: 284