Fatal error: Uncaught QDB_Query_Exception: Query failed: 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 Query: SELECT COUNT(id) FROM `product` WHERE `categorie_id`= in /data/vhosts/interperformance/beterwitgoed.nl/index.php on line 160 #0 /data/vhosts/interperformance/beterwitgoed.nl/index.php(160): QDB_MySQL->query('SELECT COUNT(id...') #1 {main} thrown in /data/vhosts/interperformance/lib/class/QDB/MySQL.php on line 536