Query error: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'GROUP BY `users`.`id` ORDER BY `users`.`order` ASC' at line 6, query: SELECT `users`.`id`, `users`.* FROM `users` LEFT JOIN `users_products` ON `users`.`id` = `users_products`.`user_id` LEFT JOIN `module_blocks` ON `users_products`.`product_id` = `module_blocks`.`id` WHERE `users`.`visible` = 1 AND `users`.`region_id` = GROUP BY `users`.`id` ORDER BY `users`.`order` ASC