A Database Error Occurred

Error Number: 1055

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

SELECT DISTINCT url.path, url.path_ids, url.full_path_ids, group_concat(url2.path separator ';') as url_paths, group_concat(url2.lang separator ';') as url_langs, page.id_page as id, page_lang.*, page.* FROM (page) LEFT JOIN `url` as url ON `page`.`id_page` = `url`.`id_entity` AND (url.type = 'page' AND url.active = 1 AND url.lang = 'en') LEFT JOIN `url` as url2 ON `page`.`id_page` = `url2`.`id_entity` AND (url2.type = 'page' AND url2.active = 1 ) LEFT JOIN page_lang ON page_lang.id_page = page.id_page AND page_lang.lang = 'en' WHERE `page`.`online` = '1' AND `page_lang`.`online` = '1' AND ((publish_off > now() OR publish_off = 0) AND (publish_on < now() OR publish_on = 0)) GROUP BY `page`.`id_page` ORDER BY `page`.`level` ASC, `page`.`ordering` ASC

Filename: models/base_model.php

Line Number: 629