Fatal error: Uncaught exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: ""' in /home/adegacur/library/Zend/Db/Statement/Pdo.php:238
Stack trace:
#0 /home/adegacur/library/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/adegacur/library/Zend/Db/Adapter/Abstract.php(430): Zend_Db_Statement->execute(Array)
#2 /home/adegacur/library/Zend/Db/Adapter/Pdo/Abstract.php(220): Zend_Db_Adapter_Abstract->query('SELECT v_produt...', Array)
#3 /home/adegacur/library/Zend/Db/Adapter/Abstract.php(641): Zend_Db_Adapter_Pdo_Abstract->query('SELECT v_produt...', Array)
#4 /home/adegacur/public_html/application/models/Produtos.php(1037): Zend_Db_Adapter_Abstract->fetchAll('SELECT v_produt...')
#5 /home/adegacur/public_html/application/controllers/ProdutosController.php(103): Produtos->v_produtoscategorias_detalhes('')
#6 /home/adegacur/library/Zend/Controller/Action.php(494): ProdutosController->detalhesAction()
#7 /home/ in /home/adegacur/library/Zend/Db/Statement/Pdo.php on line 238