SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #49 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'p3luss2_ecommerce2019.categories.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by (SQL: select `products`.*, `brands`.`title` as `brands_name`, `categories`.`id` as `categories_id`, `categories`.`title` as `categories_name`, `categories`.`discount` as `categories_discount`, `categories`.`start_date` as `categories_start_date`, `categories`.`end_date` as `categories_end_date` from `products_categories` inner join `products` on `products_categories`.`products_id` = `products`.`id` inner join `categories` on `products_categories`.`categories_id` = `categories`.`id` inner join `brands` on `products`.`brands_id` = `brands`.`id` where `categories`.`active` = 1 and `categories`.`parent_id` = 0 and `categories`.`id` <> 36 and `products`.`active` = 1 and `products`.`offer` = 1 and `products`.`offer_price` > 0 and (`categories`.`discount` > 0 or `categories`.`end_date` >= 2021-09-22 02:02:29 or `categories`.`start_date` <= 2021-09-22 02:02:29) group by `products`.`id` order by RAND() limit 8)