Złe zapytanie: SELECT p.id as p_id, p.*, i.* FROM pages as p LEFT JOIN pages_img as i ON p.id = i.page_id WHERE p.menu_id = 12 AND p.visible = 1 GROUP BY p.id ORDER BY i.wiodace DESC, p.date_publication_from DESC, p.id DESC LIMIT 0, 12

Expression #24 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'rf150155_ktd.i.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

Brak tabeli: pagesaspLEFTJOINpages_imgasiONp.id=i.page_id


main.class.php