A Database Error Occurred

Error Number: 1055

Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'dark_cm_main.tblscraps.SCRAPID' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

SELECT `SCRAPID`, `PROJNAME`, `ADDEDBY`, `ADDEDON`, `LASTEDITBY`, `LASTEDITED`, `SCRAPWRITER`, `AUTHOR`, `SCRAPTITLE`, `SCRAP`, `PUBLICDISPLAY`, `DISPTYPE`, `COMMENT`, `WRITER_LAST_NAME`, `GAM_ID` FROM (`tblscraps`) WHERE `PUBLICDISPLAY` = 1 GROUP BY `GAM_ID` ORDER BY `PROJNAME` asc

Filename: models/scraps_admin_model.php

Line Number: 255