Warning: Undefined array key 2 in /home/paccard/public_html/Paccard/entity/Voiture.php on line 35

Warning: Undefined array key 3 in /home/paccard/public_html/Paccard/entity/Voiture.php on line 35

Fatal error: Uncaught PDOException: 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 '' at line 1 in /home/paccard/public_html/Paccard/entity/Voiture.php:36 Stack trace: #0 /home/paccard/public_html/Paccard/entity/Voiture.php(36): PDO->query('SELECT v.id AS ...') #1 /home/paccard/public_html/Paccard/templates/voiture.php(10): Voiture->getdatas(Array) #2 {main} thrown in /home/paccard/public_html/Paccard/entity/Voiture.php on line 36