A Database Error Occurred

Error Number: 1055

Expression #13 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'dau_dancers.ecard_categories.title' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

SELECT `ecard_photos`.*, `ecard_categories`.`title` AS category_title, `ecard_categories`.`url_title` AS category_url_title FROM (`ecard_photos`, `ecard_categories`) WHERE FIND_IN_SET( ecard_categories.id, REPLACE( ecard_photos.categories, '|', ',') ) <> 0 AND `ecard_photos`.`published` = '1' AND `ecard_categories`.`published` = '1' GROUP BY `ecard_photos`.`id` ORDER BY `ecard_photos`.`sort_order` ASC, `ecard_categories`.`sort_order` ASC

Filename: /home/dau/public_html/models/ecards_model.php

Line Number: 319