Fatal error: Uncaught exception 'Zend_Db_Statement_Exception' with message '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 ') ORDER BY `promotion` DESC, `name` ASC' at line 12' in /home/limarco/htdocs/library/Zend/Db/Statement/Pdo.php:227 Stack trace: #0 /home/limarco/htdocs/library/Zend/Db/Statement.php(298): Zend_Db_Statement_Pdo->_execute(Array) #1 /home/limarco/htdocs/library/Zend/Db/Adapter/Abstract.php(262): Zend_Db_Statement->execute(Array) #2 /home/limarco/htdocs/library/Zend/Db/Adapter/Pdo/Abstract.php(206): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Select), Array) #3 /home/limarco/htdocs/library/Zend/Db/Table/Abstract.php(1105): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Select)) #4 /home/limarco/htdocs/library/Zend/Db/Table/Abstract.php(978): Zend_Db_Table_Abstract->_fetch('categories_id =...', Array, NULL, NULL) #5 /home/limarco/htdocs/application/models/ in /home/limarco/htdocs/library/Zend/Db/Statement/Pdo.php on line 227