Array ( [data] => 2023-12-18 10:43:17 [mensagem] => 500: Erro interno [trace] => SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`wiseformaturas_montagem`.`om_itens_laminas`, CONSTRAINT `fk_om_itens_laminas_om_itens` FOREIGN KEY (`om_itens_id`) REFERENCES `om_itens` (`id`)), query was: DELETE FROM `produtos` WHERE (id = 350) #0 /home/wiseformaturas/public_html/montagem/vendor/zendframework/zendframework1/library/Zend/Db/Statement.php(323): Zend_Db_Statement_Pdo->_execute(Array) #1 /home/wiseformaturas/public_html/montagem/vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #2 /home/wiseformaturas/public_html/montagem/vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('DELETE FROM `pr...', Array) #3 /home/wiseformaturas/public_html/montagem/vendor/zendframework/zendframework1/library/Zend/Db/Adapter/Abstract.php(664): Zend_Db_Adapter_Pdo_Abstract->query('DELETE FROM `pr...') #4 /home/wiseformaturas/public_html/montagem/vendor/zendframework/zendframework1/library/Zend/Db/Table/Abstract.php(1203): Zend_Db_Adapter_Abstract->delete('produtos', 'id = 350') #5 /home/wiseformaturas/public_html/montagem/library/Fgsl/Db/Table/Abstract.php(383): Zend_Db_Table_Abstract->delete('id = 350') #6 /home/wiseformaturas/public_html/montagem/application/models/Produtos.php(193): Fgsl_Db_Table_Abstract->delete('id = 350') #7 /home/wiseformaturas/public_html/montagem/application/modules/admin/controllers/ProdutosController.php(461): Model_Produtos->_delete('id = 350') #8 /home/wiseformaturas/public_html/montagem/vendor/zendframework/zendframework1/library/Zend/Controller/Action.php(516): Admin_ProdutosController->removeAction() #9 /home/wiseformaturas/public_html/montagem/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('removeAction') #10 /home/wiseformaturas/public_html/montagem/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #11 /home/wiseformaturas/public_html/montagem/vendor/zendframework/zendframework1/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch() #12 /home/wiseformaturas/public_html/montagem/vendor/zendframework/zendframework1/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run() #13 /home/wiseformaturas/public_html/montagem/index.php(42): Zend_Application->run() #14 {main} Zend_Controller_Request_Http Object ( [_paramSources:protected] => Array ( [0] => _GET [1] => _POST ) [_requestUri:protected] => /montagem/admin/produtos/remove [_baseUrl:protected] => https://www.wiseformaturas.com.br/montagem [_basePath:protected] => [_pathInfo:protected] => /admin/produtos/remove [_params:protected] => Array ( [controller] => produtos [action] => remove [module] => admin ) [_rawBody:protected] => [_aliases:protected] => Array ( ) [_dispatched:protected] => 1 [_module:protected] => admin [_moduleKey:protected] => module [_controller:protected] => produtos [_controllerKey:protected] => controller [_action:protected] => remove [_actionKey:protected] => action ) [parameters] => {"controller":"produtos","action":"remove","module":"admin","error_handler":{"exception":{},"type":"EXCEPTION_OTHER","request":{}},"noViewRenderer":true,"id":"350|351"} [sessao] => {"session":{"post":{},"data_auth":{"id":"2","nome":"Montagem","login":"montagem","ultimo_acesso":"2023-12-18 08:44:46"},"client_auth":null,"montador_auth":null,"is_mobile":false,"acl":{}},"cliente":{"carrinho":null},"where":{"where":{"produtos":"(produtos.excluido = 0)"}}} )