Magento 2.1.6 Cannot save shipment Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?I created a custom module ,but getting error, not able to figure out what the error is about. How to get out of this error?PHP Fatal error: Uncaught Error: Call to a member function setEscapeMessageFlag() on booleanError on editing categories in Magento 2Something went wrong while saving the category in Magento 2.1.9Not able to add/update magento2 category post upgrade from 1.9 to 2.1.0Trying to uninstall moduleMagento-2.1 : Warning: Missing argument 2 for OAuthCommonConsumerCredentials::__construct()Magento 2 module error after version upgradeDeleted ShipperHQ module causing error in “All Customers” section of Magento 2Getting Errors after MySQL database import

Why not send Voyager 3 and 4 following up the paths taken by Voyager 1 and 2 to re-transmit signals of later as they fly away from Earth?

How can I prevent/balance waiting and turtling as a response to cooldown mechanics

Is it dangerous to install hacking tools on my private linux machine?

A proverb that is used to imply that you have unexpectedly faced a big problem

Why is the change of basis formula counter-intuitive? [See details]

A `coordinate` command ignored

Universal covering space of the real projective line?

Trying to understand entropy as a novice in thermodynamics

Why complex landing gears are used instead of simple,reliability and light weight muscle wire or shape memory alloys?

How can a team of shapeshifters communicate?

Special flights

Why is a lens darker than other ones when applying the same settings?

Does the Mueller report show a conspiracy between Russia and the Trump Campaign?

I can't produce songs

Is there public access to the Meteor Crater in Arizona?

A term for a woman complaining about things/begging in a cute/childish way

Should a wizard buy fine inks every time he want to copy spells into his spellbook?

Delete free apps from library

How do living politicians protect their readily obtainable signatures from misuse?

How were pictures turned from film to a big picture in a picture frame before digital scanning?

Was Kant an Intuitionist about mathematical objects?

What does 丫 mean? 丫是什么意思?

Why weren't discrete x86 CPUs ever used in game hardware?

How does light 'choose' between wave and particle behaviour?



Magento 2.1.6 Cannot save shipment



Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?I created a custom module ,but getting error, not able to figure out what the error is about. How to get out of this error?PHP Fatal error: Uncaught Error: Call to a member function setEscapeMessageFlag() on booleanError on editing categories in Magento 2Something went wrong while saving the category in Magento 2.1.9Not able to add/update magento2 category post upgrade from 1.9 to 2.1.0Trying to uninstall moduleMagento-2.1 : Warning: Missing argument 2 for OAuthCommonConsumerCredentials::__construct()Magento 2 module error after version upgradeDeleted ShipperHQ module causing error in “All Customers” section of Magento 2Getting Errors after MySQL database import



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















Been testing the payment function, there are some test orders I made myself as a guest and a signed-in customer.
But when I select Ship > Submit Shipment I get this error "Cannot save shipment.".



the error message in the exception.log is



[2017-05-26 06:06:55] main.CRITICAL: Exception: Rolled back transaction has not been completed correctly. in /var/www/cedweb.com/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:232



I've try Truncate order tables but it won't help.



Any help would be much appreciated~



the whole log like the following



2017-05-26 06:06:55] main.CRITICAL: Exception: Rolled back transaction has not been completed correctly. in /var/www/cedweb.com/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:232 Stack trace: #0 /var/www/cedweb.com/vendor/magento/framework/Model/ResourceModel/AbstractResource.php(49): MagentoFrameworkDBAdapterPdoMysql->beginTransaction() #1 /var/www/cedweb.com/vendor/magento/framework/Model/ResourceModel/Db/AbstractDb.php(386): MagentoFrameworkModelResourceModelAbstractResource->beginTransaction() #2 /var/www/cedweb.com/vendor/magento/module-sales/Model/Order/ItemRepository.php(178): MagentoFrameworkModelResourceModelDbAbstractDb->save(Object(MagentoSalesModelOrderItem)) #3 /var/www/cedweb.com/vendor/magento/module-sales/Model/ResourceModel/Order/Relation.php(74): MagentoSalesModelOrderItemRepository->save(Object(MagentoSalesModelOrderItem)) #4 /var/www/cedweb.com/vendor/magento/framework/Model/ResourceModel/Db/VersionControl/RelationComposite.php(48): MagentoSalesModelResourceModelOrderRelation->processRelation(Object(MagentoSalesModelOrder)) #5 /var/www/cedweb.com/vendor/magento/framework/Model/ResourceModel/Db/VersionControl/AbstractDb.php(57): MagentoFrameworkModelResourceModelDbVersionControlRelationComposite->processRelations(Object(MagentoSalesModelOrder)) #6 /var/www/cedweb.com/vendor/magento/framework/Model/ResourceModel/Db/AbstractDb.php(408): MagentoFrameworkModelResourceModelDbVersionControlAbstractDb->processAfterSaves(Object(MagentoSalesModelOrder)) #7 /var/www/cedweb.com/vendor/magento/module-sales/Model/ResourceModel/Order.php(174): MagentoFrameworkModelResourceModelDbAbstractDb->save(Object(MagentoSalesModelOrder)) #8 /var/www/cedweb.com/var/generation/Magento/Sales/Model/ResourceModel/Order/Interceptor.php(24): MagentoSalesModelResourceModelOrder->save(Object(MagentoSalesModelOrder)) #9 /var/www/cedweb.com/vendor/magento/framework/Model/AbstractModel.php(631): MagentoSalesModelResourceModelOrderInterceptor->save(Object(MagentoSalesModelOrder)) #10 /var/www/cedweb.com/vendor/magento/framework/DB/Transaction.php(129): MagentoFrameworkModelAbstractModel->save() #11 /var/www/cedweb.com/vendor/magento/module-shipping/Controller/Adminhtml/Order/Shipment/Save.php(79): MagentoFrameworkDBTransaction->save() #12 /var/www/cedweb.com/vendor/magento/module-shipping/Controller/Adminhtml/Order/Shipment/Save.php(153): MagentoShippingControllerAdminhtmlOrderShipmentSave->_saveShipment(Object(MagentoSalesModelOrderShipment)) #13 /var/www/cedweb.com/vendor/magento/framework/App/Action/Action.php(102): MagentoShippingControllerAdminhtmlOrderShipmentSave->execute() #14 /var/www/cedweb.com/vendor/magento/module-backend/App/AbstractAction.php(226): MagentoFrameworkAppActionAction->dispatch(Object(MagentoFrameworkAppRequestHttp)) #15 /var/www/cedweb.com/vendor/magento/framework/Interception/Interceptor.php(74): MagentoBackendAppAbstractAction->dispatch(Object(MagentoFrameworkAppRequestHttp)) #16 /var/www/cedweb.com/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor->___callParent('dispatch', Array) #17 /var/www/cedweb.com/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Shippin...', 'dispatch', Object(MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor), Array, 'adminAuthentica...') #18 /var/www/cedweb.com/vendor/magento/module-backend/App/Action/Plugin/Authentication.php(143): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChainclosure(Object(MagentoFrameworkAppRequestHttp)) #19 /var/www/cedweb.com/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoBackendAppActionPluginAuthentication->aroundDispatch(Object(MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp)) #20 /var/www/cedweb.com/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Shippin...', 'dispatch', Object(MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor), Array, 'adminMassaction...') #21 /var/www/cedweb.com/vendor/magento/module-backend/App/Action/Plugin/MassactionKey.php(33): MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor->MagentoFrameworkInterceptionclosure(Object(MagentoFrameworkAppRequestHttp)) #22 /var/www/cedweb.com/vendor/magento/framework/Interception/Interceptor.php(142): MagentoBackendAppActionPluginMassactionKey->aroundDispatch(Object(MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp)) #23 /var/www/cedweb.com/var/generation/Magento/Shipping/Controller/Adminhtml/Order/Shipment/Save/Interceptor.php(26): MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor->___callPlugins('dispatch', Array, Array) #24 /var/www/cedweb.com/vendor/magento/framework/App/FrontController.php(55): MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp)) #25 /var/www/cedweb.com/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppFrontController->dispatch(Object(MagentoFrameworkAppRequestHttp)) #26 /var/www/cedweb.com/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoFrameworkAppFrontControllerInterceptor->___callParent('dispatch', Array) #27 /var/www/cedweb.com/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'install') #28 /var/www/cedweb.com/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterceptionclosure(Object(MagentoFrameworkAppRequestHttp)) #29 /var/www/cedweb.com/vendor/magento/framework/Interception/Interceptor.php(142): MagentoFrameworkModulePluginDbStatusValidator->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp)) #30 /var/www/cedweb.com/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): MagentoFrameworkAppFrontControllerInterceptor->___callPlugins('dispatch', Array, Array) #31 /var/www/cedweb.com/vendor/magento/framework/App/Http.php(135): MagentoFrameworkAppFrontControllerInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp)) #32 /var/www/cedweb.com/vendor/magento/framework/App/Bootstrap.php(258): MagentoFrameworkAppHttp->launch() #33 /var/www/cedweb.com/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttp)) #34 main [] []









share|improve this question






























    2















    Been testing the payment function, there are some test orders I made myself as a guest and a signed-in customer.
    But when I select Ship > Submit Shipment I get this error "Cannot save shipment.".



    the error message in the exception.log is



    [2017-05-26 06:06:55] main.CRITICAL: Exception: Rolled back transaction has not been completed correctly. in /var/www/cedweb.com/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:232



    I've try Truncate order tables but it won't help.



    Any help would be much appreciated~



    the whole log like the following



    2017-05-26 06:06:55] main.CRITICAL: Exception: Rolled back transaction has not been completed correctly. in /var/www/cedweb.com/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:232 Stack trace: #0 /var/www/cedweb.com/vendor/magento/framework/Model/ResourceModel/AbstractResource.php(49): MagentoFrameworkDBAdapterPdoMysql->beginTransaction() #1 /var/www/cedweb.com/vendor/magento/framework/Model/ResourceModel/Db/AbstractDb.php(386): MagentoFrameworkModelResourceModelAbstractResource->beginTransaction() #2 /var/www/cedweb.com/vendor/magento/module-sales/Model/Order/ItemRepository.php(178): MagentoFrameworkModelResourceModelDbAbstractDb->save(Object(MagentoSalesModelOrderItem)) #3 /var/www/cedweb.com/vendor/magento/module-sales/Model/ResourceModel/Order/Relation.php(74): MagentoSalesModelOrderItemRepository->save(Object(MagentoSalesModelOrderItem)) #4 /var/www/cedweb.com/vendor/magento/framework/Model/ResourceModel/Db/VersionControl/RelationComposite.php(48): MagentoSalesModelResourceModelOrderRelation->processRelation(Object(MagentoSalesModelOrder)) #5 /var/www/cedweb.com/vendor/magento/framework/Model/ResourceModel/Db/VersionControl/AbstractDb.php(57): MagentoFrameworkModelResourceModelDbVersionControlRelationComposite->processRelations(Object(MagentoSalesModelOrder)) #6 /var/www/cedweb.com/vendor/magento/framework/Model/ResourceModel/Db/AbstractDb.php(408): MagentoFrameworkModelResourceModelDbVersionControlAbstractDb->processAfterSaves(Object(MagentoSalesModelOrder)) #7 /var/www/cedweb.com/vendor/magento/module-sales/Model/ResourceModel/Order.php(174): MagentoFrameworkModelResourceModelDbAbstractDb->save(Object(MagentoSalesModelOrder)) #8 /var/www/cedweb.com/var/generation/Magento/Sales/Model/ResourceModel/Order/Interceptor.php(24): MagentoSalesModelResourceModelOrder->save(Object(MagentoSalesModelOrder)) #9 /var/www/cedweb.com/vendor/magento/framework/Model/AbstractModel.php(631): MagentoSalesModelResourceModelOrderInterceptor->save(Object(MagentoSalesModelOrder)) #10 /var/www/cedweb.com/vendor/magento/framework/DB/Transaction.php(129): MagentoFrameworkModelAbstractModel->save() #11 /var/www/cedweb.com/vendor/magento/module-shipping/Controller/Adminhtml/Order/Shipment/Save.php(79): MagentoFrameworkDBTransaction->save() #12 /var/www/cedweb.com/vendor/magento/module-shipping/Controller/Adminhtml/Order/Shipment/Save.php(153): MagentoShippingControllerAdminhtmlOrderShipmentSave->_saveShipment(Object(MagentoSalesModelOrderShipment)) #13 /var/www/cedweb.com/vendor/magento/framework/App/Action/Action.php(102): MagentoShippingControllerAdminhtmlOrderShipmentSave->execute() #14 /var/www/cedweb.com/vendor/magento/module-backend/App/AbstractAction.php(226): MagentoFrameworkAppActionAction->dispatch(Object(MagentoFrameworkAppRequestHttp)) #15 /var/www/cedweb.com/vendor/magento/framework/Interception/Interceptor.php(74): MagentoBackendAppAbstractAction->dispatch(Object(MagentoFrameworkAppRequestHttp)) #16 /var/www/cedweb.com/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor->___callParent('dispatch', Array) #17 /var/www/cedweb.com/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Shippin...', 'dispatch', Object(MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor), Array, 'adminAuthentica...') #18 /var/www/cedweb.com/vendor/magento/module-backend/App/Action/Plugin/Authentication.php(143): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChainclosure(Object(MagentoFrameworkAppRequestHttp)) #19 /var/www/cedweb.com/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoBackendAppActionPluginAuthentication->aroundDispatch(Object(MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp)) #20 /var/www/cedweb.com/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Shippin...', 'dispatch', Object(MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor), Array, 'adminMassaction...') #21 /var/www/cedweb.com/vendor/magento/module-backend/App/Action/Plugin/MassactionKey.php(33): MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor->MagentoFrameworkInterceptionclosure(Object(MagentoFrameworkAppRequestHttp)) #22 /var/www/cedweb.com/vendor/magento/framework/Interception/Interceptor.php(142): MagentoBackendAppActionPluginMassactionKey->aroundDispatch(Object(MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp)) #23 /var/www/cedweb.com/var/generation/Magento/Shipping/Controller/Adminhtml/Order/Shipment/Save/Interceptor.php(26): MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor->___callPlugins('dispatch', Array, Array) #24 /var/www/cedweb.com/vendor/magento/framework/App/FrontController.php(55): MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp)) #25 /var/www/cedweb.com/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppFrontController->dispatch(Object(MagentoFrameworkAppRequestHttp)) #26 /var/www/cedweb.com/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoFrameworkAppFrontControllerInterceptor->___callParent('dispatch', Array) #27 /var/www/cedweb.com/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'install') #28 /var/www/cedweb.com/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterceptionclosure(Object(MagentoFrameworkAppRequestHttp)) #29 /var/www/cedweb.com/vendor/magento/framework/Interception/Interceptor.php(142): MagentoFrameworkModulePluginDbStatusValidator->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp)) #30 /var/www/cedweb.com/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): MagentoFrameworkAppFrontControllerInterceptor->___callPlugins('dispatch', Array, Array) #31 /var/www/cedweb.com/vendor/magento/framework/App/Http.php(135): MagentoFrameworkAppFrontControllerInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp)) #32 /var/www/cedweb.com/vendor/magento/framework/App/Bootstrap.php(258): MagentoFrameworkAppHttp->launch() #33 /var/www/cedweb.com/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttp)) #34 main [] []









    share|improve this question


























      2












      2








      2








      Been testing the payment function, there are some test orders I made myself as a guest and a signed-in customer.
      But when I select Ship > Submit Shipment I get this error "Cannot save shipment.".



      the error message in the exception.log is



      [2017-05-26 06:06:55] main.CRITICAL: Exception: Rolled back transaction has not been completed correctly. in /var/www/cedweb.com/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:232



      I've try Truncate order tables but it won't help.



      Any help would be much appreciated~



      the whole log like the following



      2017-05-26 06:06:55] main.CRITICAL: Exception: Rolled back transaction has not been completed correctly. in /var/www/cedweb.com/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:232 Stack trace: #0 /var/www/cedweb.com/vendor/magento/framework/Model/ResourceModel/AbstractResource.php(49): MagentoFrameworkDBAdapterPdoMysql->beginTransaction() #1 /var/www/cedweb.com/vendor/magento/framework/Model/ResourceModel/Db/AbstractDb.php(386): MagentoFrameworkModelResourceModelAbstractResource->beginTransaction() #2 /var/www/cedweb.com/vendor/magento/module-sales/Model/Order/ItemRepository.php(178): MagentoFrameworkModelResourceModelDbAbstractDb->save(Object(MagentoSalesModelOrderItem)) #3 /var/www/cedweb.com/vendor/magento/module-sales/Model/ResourceModel/Order/Relation.php(74): MagentoSalesModelOrderItemRepository->save(Object(MagentoSalesModelOrderItem)) #4 /var/www/cedweb.com/vendor/magento/framework/Model/ResourceModel/Db/VersionControl/RelationComposite.php(48): MagentoSalesModelResourceModelOrderRelation->processRelation(Object(MagentoSalesModelOrder)) #5 /var/www/cedweb.com/vendor/magento/framework/Model/ResourceModel/Db/VersionControl/AbstractDb.php(57): MagentoFrameworkModelResourceModelDbVersionControlRelationComposite->processRelations(Object(MagentoSalesModelOrder)) #6 /var/www/cedweb.com/vendor/magento/framework/Model/ResourceModel/Db/AbstractDb.php(408): MagentoFrameworkModelResourceModelDbVersionControlAbstractDb->processAfterSaves(Object(MagentoSalesModelOrder)) #7 /var/www/cedweb.com/vendor/magento/module-sales/Model/ResourceModel/Order.php(174): MagentoFrameworkModelResourceModelDbAbstractDb->save(Object(MagentoSalesModelOrder)) #8 /var/www/cedweb.com/var/generation/Magento/Sales/Model/ResourceModel/Order/Interceptor.php(24): MagentoSalesModelResourceModelOrder->save(Object(MagentoSalesModelOrder)) #9 /var/www/cedweb.com/vendor/magento/framework/Model/AbstractModel.php(631): MagentoSalesModelResourceModelOrderInterceptor->save(Object(MagentoSalesModelOrder)) #10 /var/www/cedweb.com/vendor/magento/framework/DB/Transaction.php(129): MagentoFrameworkModelAbstractModel->save() #11 /var/www/cedweb.com/vendor/magento/module-shipping/Controller/Adminhtml/Order/Shipment/Save.php(79): MagentoFrameworkDBTransaction->save() #12 /var/www/cedweb.com/vendor/magento/module-shipping/Controller/Adminhtml/Order/Shipment/Save.php(153): MagentoShippingControllerAdminhtmlOrderShipmentSave->_saveShipment(Object(MagentoSalesModelOrderShipment)) #13 /var/www/cedweb.com/vendor/magento/framework/App/Action/Action.php(102): MagentoShippingControllerAdminhtmlOrderShipmentSave->execute() #14 /var/www/cedweb.com/vendor/magento/module-backend/App/AbstractAction.php(226): MagentoFrameworkAppActionAction->dispatch(Object(MagentoFrameworkAppRequestHttp)) #15 /var/www/cedweb.com/vendor/magento/framework/Interception/Interceptor.php(74): MagentoBackendAppAbstractAction->dispatch(Object(MagentoFrameworkAppRequestHttp)) #16 /var/www/cedweb.com/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor->___callParent('dispatch', Array) #17 /var/www/cedweb.com/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Shippin...', 'dispatch', Object(MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor), Array, 'adminAuthentica...') #18 /var/www/cedweb.com/vendor/magento/module-backend/App/Action/Plugin/Authentication.php(143): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChainclosure(Object(MagentoFrameworkAppRequestHttp)) #19 /var/www/cedweb.com/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoBackendAppActionPluginAuthentication->aroundDispatch(Object(MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp)) #20 /var/www/cedweb.com/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Shippin...', 'dispatch', Object(MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor), Array, 'adminMassaction...') #21 /var/www/cedweb.com/vendor/magento/module-backend/App/Action/Plugin/MassactionKey.php(33): MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor->MagentoFrameworkInterceptionclosure(Object(MagentoFrameworkAppRequestHttp)) #22 /var/www/cedweb.com/vendor/magento/framework/Interception/Interceptor.php(142): MagentoBackendAppActionPluginMassactionKey->aroundDispatch(Object(MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp)) #23 /var/www/cedweb.com/var/generation/Magento/Shipping/Controller/Adminhtml/Order/Shipment/Save/Interceptor.php(26): MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor->___callPlugins('dispatch', Array, Array) #24 /var/www/cedweb.com/vendor/magento/framework/App/FrontController.php(55): MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp)) #25 /var/www/cedweb.com/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppFrontController->dispatch(Object(MagentoFrameworkAppRequestHttp)) #26 /var/www/cedweb.com/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoFrameworkAppFrontControllerInterceptor->___callParent('dispatch', Array) #27 /var/www/cedweb.com/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'install') #28 /var/www/cedweb.com/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterceptionclosure(Object(MagentoFrameworkAppRequestHttp)) #29 /var/www/cedweb.com/vendor/magento/framework/Interception/Interceptor.php(142): MagentoFrameworkModulePluginDbStatusValidator->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp)) #30 /var/www/cedweb.com/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): MagentoFrameworkAppFrontControllerInterceptor->___callPlugins('dispatch', Array, Array) #31 /var/www/cedweb.com/vendor/magento/framework/App/Http.php(135): MagentoFrameworkAppFrontControllerInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp)) #32 /var/www/cedweb.com/vendor/magento/framework/App/Bootstrap.php(258): MagentoFrameworkAppHttp->launch() #33 /var/www/cedweb.com/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttp)) #34 main [] []









      share|improve this question
















      Been testing the payment function, there are some test orders I made myself as a guest and a signed-in customer.
      But when I select Ship > Submit Shipment I get this error "Cannot save shipment.".



      the error message in the exception.log is



      [2017-05-26 06:06:55] main.CRITICAL: Exception: Rolled back transaction has not been completed correctly. in /var/www/cedweb.com/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:232



      I've try Truncate order tables but it won't help.



      Any help would be much appreciated~



      the whole log like the following



      2017-05-26 06:06:55] main.CRITICAL: Exception: Rolled back transaction has not been completed correctly. in /var/www/cedweb.com/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:232 Stack trace: #0 /var/www/cedweb.com/vendor/magento/framework/Model/ResourceModel/AbstractResource.php(49): MagentoFrameworkDBAdapterPdoMysql->beginTransaction() #1 /var/www/cedweb.com/vendor/magento/framework/Model/ResourceModel/Db/AbstractDb.php(386): MagentoFrameworkModelResourceModelAbstractResource->beginTransaction() #2 /var/www/cedweb.com/vendor/magento/module-sales/Model/Order/ItemRepository.php(178): MagentoFrameworkModelResourceModelDbAbstractDb->save(Object(MagentoSalesModelOrderItem)) #3 /var/www/cedweb.com/vendor/magento/module-sales/Model/ResourceModel/Order/Relation.php(74): MagentoSalesModelOrderItemRepository->save(Object(MagentoSalesModelOrderItem)) #4 /var/www/cedweb.com/vendor/magento/framework/Model/ResourceModel/Db/VersionControl/RelationComposite.php(48): MagentoSalesModelResourceModelOrderRelation->processRelation(Object(MagentoSalesModelOrder)) #5 /var/www/cedweb.com/vendor/magento/framework/Model/ResourceModel/Db/VersionControl/AbstractDb.php(57): MagentoFrameworkModelResourceModelDbVersionControlRelationComposite->processRelations(Object(MagentoSalesModelOrder)) #6 /var/www/cedweb.com/vendor/magento/framework/Model/ResourceModel/Db/AbstractDb.php(408): MagentoFrameworkModelResourceModelDbVersionControlAbstractDb->processAfterSaves(Object(MagentoSalesModelOrder)) #7 /var/www/cedweb.com/vendor/magento/module-sales/Model/ResourceModel/Order.php(174): MagentoFrameworkModelResourceModelDbAbstractDb->save(Object(MagentoSalesModelOrder)) #8 /var/www/cedweb.com/var/generation/Magento/Sales/Model/ResourceModel/Order/Interceptor.php(24): MagentoSalesModelResourceModelOrder->save(Object(MagentoSalesModelOrder)) #9 /var/www/cedweb.com/vendor/magento/framework/Model/AbstractModel.php(631): MagentoSalesModelResourceModelOrderInterceptor->save(Object(MagentoSalesModelOrder)) #10 /var/www/cedweb.com/vendor/magento/framework/DB/Transaction.php(129): MagentoFrameworkModelAbstractModel->save() #11 /var/www/cedweb.com/vendor/magento/module-shipping/Controller/Adminhtml/Order/Shipment/Save.php(79): MagentoFrameworkDBTransaction->save() #12 /var/www/cedweb.com/vendor/magento/module-shipping/Controller/Adminhtml/Order/Shipment/Save.php(153): MagentoShippingControllerAdminhtmlOrderShipmentSave->_saveShipment(Object(MagentoSalesModelOrderShipment)) #13 /var/www/cedweb.com/vendor/magento/framework/App/Action/Action.php(102): MagentoShippingControllerAdminhtmlOrderShipmentSave->execute() #14 /var/www/cedweb.com/vendor/magento/module-backend/App/AbstractAction.php(226): MagentoFrameworkAppActionAction->dispatch(Object(MagentoFrameworkAppRequestHttp)) #15 /var/www/cedweb.com/vendor/magento/framework/Interception/Interceptor.php(74): MagentoBackendAppAbstractAction->dispatch(Object(MagentoFrameworkAppRequestHttp)) #16 /var/www/cedweb.com/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor->___callParent('dispatch', Array) #17 /var/www/cedweb.com/vendor/magento/framework/Interception/Chain/Chain.php(63): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Shippin...', 'dispatch', Object(MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor), Array, 'adminAuthentica...') #18 /var/www/cedweb.com/vendor/magento/module-backend/App/Action/Plugin/Authentication.php(143): MagentoFrameworkInterceptionChainChain->MagentoFrameworkInterceptionChainclosure(Object(MagentoFrameworkAppRequestHttp)) #19 /var/www/cedweb.com/vendor/magento/framework/Interception/Chain/Chain.php(67): MagentoBackendAppActionPluginAuthentication->aroundDispatch(Object(MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp)) #20 /var/www/cedweb.com/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Shippin...', 'dispatch', Object(MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor), Array, 'adminMassaction...') #21 /var/www/cedweb.com/vendor/magento/module-backend/App/Action/Plugin/MassactionKey.php(33): MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor->MagentoFrameworkInterceptionclosure(Object(MagentoFrameworkAppRequestHttp)) #22 /var/www/cedweb.com/vendor/magento/framework/Interception/Interceptor.php(142): MagentoBackendAppActionPluginMassactionKey->aroundDispatch(Object(MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp)) #23 /var/www/cedweb.com/var/generation/Magento/Shipping/Controller/Adminhtml/Order/Shipment/Save/Interceptor.php(26): MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor->___callPlugins('dispatch', Array, Array) #24 /var/www/cedweb.com/vendor/magento/framework/App/FrontController.php(55): MagentoShippingControllerAdminhtmlOrderShipmentSaveInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp)) #25 /var/www/cedweb.com/vendor/magento/framework/Interception/Interceptor.php(74): MagentoFrameworkAppFrontController->dispatch(Object(MagentoFrameworkAppRequestHttp)) #26 /var/www/cedweb.com/vendor/magento/framework/Interception/Chain/Chain.php(70): MagentoFrameworkAppFrontControllerInterceptor->___callParent('dispatch', Array) #27 /var/www/cedweb.com/vendor/magento/framework/Interception/Interceptor.php(138): MagentoFrameworkInterceptionChainChain->invokeNext('Magento\Framewo...', 'dispatch', Object(MagentoFrameworkAppFrontControllerInterceptor), Array, 'install') #28 /var/www/cedweb.com/vendor/magento/framework/Module/Plugin/DbStatusValidator.php(69): MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterceptionclosure(Object(MagentoFrameworkAppRequestHttp)) #29 /var/www/cedweb.com/vendor/magento/framework/Interception/Interceptor.php(142): MagentoFrameworkModulePluginDbStatusValidator->aroundDispatch(Object(MagentoFrameworkAppFrontControllerInterceptor), Object(Closure), Object(MagentoFrameworkAppRequestHttp)) #30 /var/www/cedweb.com/var/generation/Magento/Framework/App/FrontController/Interceptor.php(26): MagentoFrameworkAppFrontControllerInterceptor->___callPlugins('dispatch', Array, Array) #31 /var/www/cedweb.com/vendor/magento/framework/App/Http.php(135): MagentoFrameworkAppFrontControllerInterceptor->dispatch(Object(MagentoFrameworkAppRequestHttp)) #32 /var/www/cedweb.com/vendor/magento/framework/App/Bootstrap.php(258): MagentoFrameworkAppHttp->launch() #33 /var/www/cedweb.com/index.php(39): MagentoFrameworkAppBootstrap->run(Object(MagentoFrameworkAppHttp)) #34 main [] []






      magento-2.1 php database sales-order






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 16 at 14:07









      Anas Mansuri

      167




      167










      asked May 26 '17 at 13:22









      Vin.FVin.F

      185




      185




















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "479"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f176255%2fmagento-2-1-6-cannot-save-shipment%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f176255%2fmagento-2-1-6-cannot-save-shipment%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Sum ergo cogito? 1 nng

          419 nièngy_Soadمي 19bal1.5o_g

          Queiggey Chernihivv 9NnOo i Zw X QqKk LpB