A Database Error Occurred

Error Number: 1055

Expression #6 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'abhaf_bilingual.file_gallery.file_name' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

SELECT award.award_id,title,awardee_name,designation, awardee_profile,file_name,award.perma_link FROM award LEFT JOIN file_gallery ON file_gallery.type_id=award.award_id and file_gallery.language_id = 1 AND file_gallery.type=5 WHERE award.status=1 and award.language_id = 1 AND award.year = '2015' GROUP BY award.award_id ORDER BY award_order ASC limit 0,7

Filename: models/Awards_model.php

Line Number: 37