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 /customers/9/3/5/qualityweb.be/httpd.www/nieuws-heusden-zolder/bundles/formbundle/model/Database.php:165 Stack trace: #0 /customers/9/3/5/qualityweb.be/httpd.www/nieuws-heusden-zolder/bundles/formbundle/model/Database.php(165): PDO->query('SELECT * FROM m...') #1 /customers/9/3/5/qualityweb.be/httpd.www/nieuws-heusden-zolder/bundles/api/controller/facebookcontroller.php(19): Database->getById(Object(PDO), 'members', NULL) #2 /customers/9/3/5/qualityweb.be/httpd.www/nieuws-heusden-zolder/routing/routing.php(48): facebookcontroller->indexAction() #3 /customers/9/3/5/qualityweb.be/httpd.www/nieuws-heusden-zolder/index.php(35): require('/customers/9/3/...') #4 {main} thrown in /customers/9/3/5/qualityweb.be/httpd.www/nieuws-heusden-zolder/bundles/formbundle/model/Database.php on line 165