Error Number: 1055
Expression #6 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'literasi2021new.b.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
SELECT `a`.`id`, `a`.`title`, `a`.`from_events_date`, `c`.`events_id`, `c`.`mitra_id`, `b`.`id` as `idgal`, `b`.`file_name`, `b`.`events_id` FROM `events` `a` LEFT JOIN `events_gallery` `b` ON `a`.`id` = `b`.`events_id` LEFT JOIN `events_mitra` `c` ON `c`.`events_id` = `a`.`id` WHERE `c`.`mitra_id` = '8' AND `a`.`active` = 1 GROUP BY `a`.`id` ORDER BY `a`.`from_events_date` DESC
Filename: views/layouts/includes/mitra_detail.php
Line Number: 51