Ocorreu um erro no banco de dados

Error Number: 1140

In aggregated query without GROUP BY, expression #3 of SELECT list contains nonaggregated column 'esdicapt_aecister.menu.id'; this is incompatible with sql_mode=only_full_group_by

SELECT MIN(`ordem`) AS ordem, MIN(`ordem`) AS ordem, `id`, `slug` FROM (`menu`) WHERE `lang` = 'pt' AND `parent_id` = '50' LIMIT 1

Filename: /home/esdicapt/public_html/aecister.pt/models/pages_model.php

Line Number: 52