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 'LIMIT 1' at line 1 in /usr/local/phplib/zend/1.12.17/Zend/Db/Statement/Pdo.php:228
Stack trace:
#0 /usr/local/phplib/zend/1.12.17/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#1 /usr/local/phplib/zend/1.12.17/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#2 /usr/local/phplib/zend/1.12.17/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#3 /usr/local/phplib/zend/1.12.17/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT t.*,tags...', Array)
#4 /usr/local/phplib/zap/3.0.0/Zap/Model/BaseRevPeer.php(1598): Zend_Db_Adapter_Pdo_Abstract->query('SELECT t.*,tags...', Array)
#5 /usr/local/phplib/zap/3.0.0/Zap/Model/BaseRevPeer.php(1674): Zap_Model_BaseRevPeer->retrieve('SELECT t.*,tags...', Array)
#6 /var/www/1030cultuur.be/ in /usr/local/phplib/zend/1.12.17/Zend/Controller/Plugin/Broker.php on line 312