Array ( [data] => 2024-04-29 09:18:46 [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`, CONSTRAINT `fk_om_clientes` FOREIGN KEY (`clientes_id`) REFERENCES `clientes` (`id`)), query was: DELETE FROM `clientes` WHERE (id = 4673) #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 `cl...', 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 `cl...') #4 /home/wiseformaturas/public_html/montagem/vendor/zendframework/zendframework1/library/Zend/Db/Table/Abstract.php(1203): Zend_Db_Adapter_Abstract->delete('clientes', 'id = 4673') #5 /home/wiseformaturas/public_html/montagem/library/Fgsl/Db/Table/Abstract.php(383): Zend_Db_Table_Abstract->delete('id = 4673') #6 /home/wiseformaturas/public_html/montagem/application/modules/admin/controllers/ClientesController.php(217): Fgsl_Db_Table_Abstract->delete('id = 4673') #7 /home/wiseformaturas/public_html/montagem/vendor/zendframework/zendframework1/library/Zend/Controller/Action.php(516): Admin_ClientesController->removeAction() #8 /home/wiseformaturas/public_html/montagem/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('removeAction') #9 /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)) #10 /home/wiseformaturas/public_html/montagem/vendor/zendframework/zendframework1/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch() #11 /home/wiseformaturas/public_html/montagem/vendor/zendframework/zendframework1/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run() #12 /home/wiseformaturas/public_html/montagem/index.php(42): Zend_Application->run() #13 {main} Zend_Controller_Request_Http Object ( [_paramSources:protected] => Array ( [0] => _GET [1] => _POST ) [_requestUri:protected] => /montagem/admin/clientes/remove [_baseUrl:protected] => https://www.wiseformaturas.com.br/montagem [_basePath:protected] => [_pathInfo:protected] => /admin/clientes/remove [_params:protected] => Array ( [controller] => clientes [action] => remove [module] => admin ) [_rawBody:protected] => [_aliases:protected] => Array ( ) [_dispatched:protected] => 1 [_module:protected] => admin [_moduleKey:protected] => module [_controller:protected] => clientes [_controllerKey:protected] => controller [_action:protected] => remove [_actionKey:protected] => action ) [parameters] => {"controller":"clientes","action":"remove","module":"admin","error_handler":{"exception":{},"type":"EXCEPTION_OTHER","request":{}},"noViewRenderer":true,"id":"4673"} [sessao] => {"session":{"post":{},"data_auth":{"id":"2","nome":"Montagem","login":"montagem","ultimo_acesso":"2024-04-29 08:11:09"},"is_mobile":false,"acl":{},"montador_auth":{},"client_auth":null},"cliente":{"carrinho":null},"page":"principal","logado":true,"nome_usuario":"digitacao","id_usuario":"69","parceiros_id":"0","grupo":null,"tipo":"padrao","ultimo_acesso":"2024-04-29","datatable":{"clientes":"s:71:\"(excluido = '0') AND (clientes.nome LIKE '%Rosimeiri Holanda e Silva%')\";"},"where":{"where":{"clientes":"","om":"(CONCAT(nome, ' ', sobrenome) LIKE '%GABRIELA MILENE CAZISSI%')","produtos":"(produtos.excluido = 0)"}}} )