SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #40 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'm3oi4mo5_moimoi2020.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 `category_discount`, `categories`.`start_date` as `categories_start_date`, `categories`.`end_date` as `categories_end_date`, `products_combinations`.`discount`, `products_combinations`.`start_date`, `products_combinations`.`end_date`, `products_combinations`.`normal_price`, `products_combinations`.`offer_price`, `products_combinations`.`stock_control`, `products_combinations`.`stock`, `products_combinations`.`id` as `combination_id`, `products_combinations`.`combination` from `products_combinations` inner join `products` on `products_combinations`.`products_id` = `products`.`id` inner join `products_categories` on `products_categories`.`products_id` = `products`.`id` inner join `categories` on `products_categories`.`categories_id` = `categories`.`id` LEFT OUTER join `brands` on `products`.`brands_id` = `brands`.`id` where `categories`.`active` = 1 and `products`.`active` = 1 and `products_combinations`.`active` = 1 and `products`.`featured` = 1 and `products`.`offer` = 0 group by `products`.`id` order by RAND() limit 8)