Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'GROUP BY g.id' at line 9 in /var/www/canhack/includes/db.php:107 Stack trace: #0 /var/www/canhack/includes/db.php(107): mysqli_query() #1 /var/www/canhack/includes/class_garage_vehicle.php(1678): sql_db->sql_query() #2 /var/www/canhack/garage.php(1896): garage_vehicle->select_vehicle_data() #3 {main} thrown in /var/www/canhack/includes/db.php on line 107