Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 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 ') AND ( debut >= '2018-12-19' OR ( debut <= '2018-12-19' AND fin >= '2018-12-19'' at line 1' in /data/www/baguette-box.com/classes/classe_boulangerie_fermeture_exceptionnelle.php:169 Stack trace: #0 /data/www/baguette-box.com/classes/classe_boulangerie_fermeture_exceptionnelle.php(169): PDO->query('SELECT * FROM `...') #1 /data/www/baguette-box.com/planning.php(102): boulangerie_fermeture_exceptionnelle->getListe(Array, false) #2 {main} thrown in /data/www/baguette-box.com/classes/classe_boulangerie_fermeture_exceptionnelle.php on line 169