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 MySQL server version for the right syntax to use near ')' at line 1 in /home/boldoducpc/facilenfil.fr/production/library/mypdo.php:110
Stack trace:
#0 /home/boldoducpc/facilenfil.fr/production/library/mypdo.php(110): PDO->query('SELECT c.id, IF...')
#1 /home/boldoducpc/facilenfil.fr/production/app/front/controller/catalogue-controller.php(797): MyPDO->query('SELECT c.id, IF...')
#2 /home/boldoducpc/facilenfil.fr/production/library/frontcontroller.php(144): CatalogueController->listeAction()
#3 /home/boldoducpc/facilenfil.fr/production/public_html/index.php(41): FrontController::run()
#4 {main}
thrown in /home/boldoducpc/facilenfil.fr/production/library/mypdo.php on line 110