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 ')' at line 10' in /var/www/vhosts/smartbuyglasses.com/httpdocs/library/Zend/Db/Statement/Pdo.php:238
Stack trace:
#0 /var/www/vhosts/smartbuyglasses.com/httpdocs/library/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array)
#1 /var/www/vhosts/smartbuyglasses.com/httpdocs/library/Zend/Db/Adapter/Abstract.php(405): Zend_Db_Statement->execute(Array)
#2 /var/www/vhosts/smartbuyglasses.com/httpdocs/library/Zend/Db/Adapter/Pdo/Abstract.php(205): Zend_Db_Adapter_Abstract->query('SELECT c.name a...', Array)
#3 /var/www/vhosts/smartbuyglasses.com/httpdocs/library/Zend/Db/Adapter/Abstract.php(616): Zend_Db_Adapter_Pdo_Abstract->query('SELECT c.name a...', Array)
#4 /var/www/vhosts/smartbuyglasses.com/httpdocs/application/models/Window.php(547): Zend_Db_Adapter_Abstract->fetchAll('SELECT c.name a...')
#5 /var/www/vhosts/smartbuyglasses.com/httpdocs/application/models/Window.php(77): Window->component('rightMenu')
#6 /var/www/vhosts/smartbuyglasses.com/httpdocs/include/window_config.php(16): Window->right_menu()
#7 /var/www/vhosts/smartbuyglasses.com/httpdocs/application/controllers/ErrorController.php(36): include_once('/var/www/vhosts...')
#8 /var/www/vhosts/smartbuyglasses.com/httpdocs/library/Zend/Controller/Action.php(501): ErrorController->preDispatch()
#9 /var/www/vhosts/smartbuyglasses.com/httpdocs/library/Zend/Controller/Dispatcher/Standard.php(293): Zend_Controller_Action->dispatch('errorAction')
#10 /var/www/vhosts/smartbuyglasses.com/httpdocs/library/Zend/Controller/Front.php(914): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#11 /var/www/vhosts/smartbuyglasses.com/httpdocs/index.php(831): Zend_Controller_Front->dispatch()
#12 {main}