MySQL error: Expression #73 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sunsales.actions_img.image_f_big' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
SELECT
actions.* , image_f_big,image_f_small
FROM
actions
LEFT JOIN
actions_img ON (actions.id = actions_img.action_id AND actions_img.main=1 AND actions.`lang`=actions_img.`lang`)
WHERE
actions.status = 3 AND
actions.`lang`='ru' AND
actions.start_date < NOW() AND end_date > Now()
GROUP BY actions.id ORDER BY post_date ASC