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 5 in /datas/www/bevouak.fr/monvillage/model/categorie.model.php:65
Stack trace:
#0 /datas/www/bevouak.fr/monvillage/model/categorie.model.php(65): PDOStatement->execute()
#1 /datas/www/bevouak.fr/monvillage/produits.php(25): CategorieModel->getIDCategoriesBySousCategories('Restaurant')
#2 {main}
thrown in /datas/www/bevouak.fr/monvillage/model/categorie.model.php on line 65