A Database Error Occurred

Error Number: 1055

Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'qsv222.hr.ht_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

SELECT *, `p`.`id` AS `id`, `pp`.`pub_picto` FROM `web_product_hotel_relation` `hr` JOIN `web_hotels` `h` ON `h`.`id` = `hr`.`ht_id` JOIN `web_products` `p` ON `p`.`id` = `hr`.`pr_id` AND `p`.`pr_enabled` = 1 JOIN `web_product_publics` `pp` ON `pp`.`id` = `p`.`pr_public` JOIN `web_product_categories` `pc` ON `pc`.`id` = `p`.`pr_category` WHERE `h`.`hot_city` = '1' GROUP BY `hr`.`pr_id`

Filename: models/Front_model.php

Line Number: 175