Application 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 1
Stack trace:
#0 /home/speciall/lib196/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/speciall/lib196/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute(Array)
#2 /home/speciall/lib196/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array)
#3 /home/speciall/lib196/Zend/Db/Table/Abstract.php(1509): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select))
#4 /home/speciall/lib196/Zend/Db/Table/Abstract.php(1325): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select))
#5 /home/speciall/public_html/application/models/Categorias.php(101): Zend_Db_Table_Abstract->fetchAll('categoria_pai =...')
#6 /home/speciall/public_html/application/models/Produtos.php(116): Model_Categorias->getSubcatsArray(NULL)
#7 /home/speciall/public_html/application/modules/default/controllers/ProdutosController.php(37): Model_Produtos->getDataByCategoria('produto_destaqu...', NULL, NULL, 8)
#8 /home/speciall/lib196/Zend/Controller/Action.php(513): ProdutosController->listarAction()
#9 /home/speciall/lib196/Zend/Controller/Dispatcher/Standard.php(289): Zend_Controller_Action->dispatch('listarAction')
#10 /home/speciall/lib196/Zend/Controller/Front.php(946): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#11 /home/speciall/lib196/Zend/Application/Bootstrap/Bootstrap.php(77): Zend_Controller_Front->dispatch()
#12 /home/speciall/lib196/Zend/Application.php(358): Zend_Application_Bootstrap_Bootstrap->run()
#13 /home/speciall/public_html/index.php(19): Zend_Application->run()
#14 {main}
Request Parameters:
array(4) {
["categoria"]=>
string(28) "transparente-specialprodutos"
["module"]=>
string(7) "default"
["controller"]=>
string(8) "produtos"
["action"]=>
string(6) "listar"
}