Error Detected

In file: /usr/share/php/ZendFramework-1.11.11-minimal/library/Zend/Db/Statement/Pdo.php On line: 234 Code: 42000 Trace error: #0 /usr/share/php/ZendFramework-1.11.11-minimal/library/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array) #1 /usr/share/php/ZendFramework-1.11.11-minimal/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array) #2 /usr/share/php/ZendFramework-1.11.11-minimal/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('??????SELECT???...', Array) #3 /usr/share/php/ZendFramework-1.11.11-minimal/library/Zend/Db/Adapter/Abstract.php(736): Zend_Db_Adapter_Pdo_Abstract->query('??????SELECT???...', Array) #4 /var/www/moslerchallenge.nl/www/docs/templates/modules/drivers/pages/sub_page_driver.php(75): Zend_Db_Adapter_Abstract->fetchAll('??????SELECT???...') #5 /var/www/moslerchallenge.nl/www/docs/templates/modules/drivers/pages/driver.php(17): require('/var/www/mosler...') #6 /var/www/moslerchallenge.nl/www/docs/templates/modules/drivers/drivers.php(8): require('/var/www/mosler...') #7 [internal function]: drivers->showDriver() #8 /var/www/moslerchallenge.nl/www/docs/classes/Core/ApplicationProxy.php(273): call_user_func_array(Array, Array) #9 /var/www/moslerchallenge.nl/www/docs/index.php(53): ApplicationProxy->start() #10 {main} Message error: 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 6