Er is een fout opgetreden in de query:

Query = SELECT *, main.* ,main.id AS main_id ,tv.id AS edit_id FROM portfolio AS main LEFT JOIN portfolio AS tv ON tv.main_id=main.id AND tv.taalversie='nl' INNER JOIN portfolio_images ON portfolio_images.portfolio_id=main.id WHERE main.taalversie='nl' AND main.portfolio='1' GROUP BY main.id ORDER BY main.datum DESC, main.id DESC

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