Debugging information:
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 MariaDB server version for the right syntax to use near 'Y'' at line 1' in /home/logocont/public_html/library/Zend/Db/Statement/Pdo.php:475
Stack trace:
#0 /home/logocont/public_html/library/Zend/Db/Statement.php(565): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/logocont/public_html/library/Zend/Db/Adapter/Abstract.php(859): Zend_Db_Statement->execute(Array)
#2 /home/logocont/public_html/library/Zend/Db/Adapter/Pdo/Abstract.php(439): Zend_Db_Adapter_Abstract->query('SELECT * FROM s...', Array)
#3 /home/logocont/public_html/application/models/UsersModel.php(12): Zend_Db_Adapter_Pdo_Abstract->query('SELECT * FROM s...')
#4 /home/logocont/public_html/application/controllers/IndexController.php(1764): UsersModel->PAGESEO('www.logocontest...')
#5 /home/logocont/public_html/library/Zend/Controller/Action.php(1005): IndexController->contestportfolioAction()
#6 /home/logocont/public_html/library/Zend/Controller/Dispatcher/Standard.php(569): Zend_Controller_Action->dispatch('contestportfoli...')
#7 /home/logocont/public_html/library/Zend/Controller/Front.php(1867): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#8 /home/logocont/public_html/index.php(72): Zend_Controller_Front->dispatch()
#9 {main}