Desculpe
Nosso servidor se comportou de maneira inesperada. Já recebemos o comunicado do erro e estamos trabalhando para que isso não aconteça novamente.
DESCRIÇÃO DO ERRO: Erro Desconhecido. exception 'PDOException' 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 ') ORDER BY `ordem` ASC' at line 1' in /usr/lib/php/Zend/Db/Statement/Pdo.php:228
Stack trace:
#0 /usr/lib/php/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#1 /usr/lib/php/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#2 /usr/lib/php/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#3 /usr/lib/php/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array)
#4 /usr/lib/php/Zend/Db/Table/Abstract.php(1577): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select))
#5 /usr/lib/php/Zend/Db/Table/Abstract.php(1392): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select))
#6 /home2/lookmidi/app/primage/models/ProdutosImagens.php(33): Zend_Db_Table_Abstract->fetchAll(Object(Zend_Db_Table_Select))
#7 /home2/lookmidi/app/default/controllers/MidiasController.php(25): ProdutosImagens->BuscarImagens(NULL)
#8 /usr/lib/php/Zend/Controller/Action.php(516): MidiasController->midiaAction()
#9 /usr/lib/php/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('midiaAction')
#10 /usr/lib/php/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#11 /home2/lookmidi/app/bootstrapping.php(115): Zend_Controller_Front->dispatch()
#12 /home2/lookmidi/public_html/index.php(8): Bootstrap->runApp()
#13 {main}
Next 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 ') ORDER BY `ordem` ASC' at line 1, query was: SELECT `produtos_imagens`.* FROM `produtos_imagens` WHERE (vinculo = ) ORDER BY `ordem` ASC' in /usr/lib/php/Zend/Db/Statement/Pdo.php:235
Stack trace:
#0 /usr/lib/php/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#1 /usr/lib/php/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#2 /usr/lib/php/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array)
#3 /usr/lib/php/Zend/Db/Table/Abstract.php(1577): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select))
#4 /usr/lib/php/Zend/Db/Table/Abstract.php(1392): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select))
#5 /home2/lookmidi/app/primage/models/ProdutosImagens.php(33): Zend_Db_Table_Abstract->fetchAll(Object(Zend_Db_Table_Select))
#6 /home2/lookmidi/app/default/controllers/MidiasController.php(25): ProdutosImagens->BuscarImagens(NULL)
#7 /usr/lib/php/Zend/Controller/Action.php(516): MidiasController->midiaAction()
#8 /usr/lib/php/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('midiaAction')
#9 /usr/lib/php/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 /home2/lookmidi/app/bootstrapping.php(115): Zend_Controller_Front->dispatch()
#11 /home2/lookmidi/public_html/index.php(8): Bootstrap->runApp()
#12 {main}