Magento 2.1.6 Cannot save shipment Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm 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
Is it fair for a professor to grade us on the possession of past papers?
How does the math work when buying airline miles?
Find 108 by using 3,4,6
What is the meaning of 'breadth' in breadth first search?
How much damage would a cupful of neutron star matter do to the Earth?
Morning, Afternoon, Night Kanji
Question about debouncing - delay of state change
Project Euler #1 in C++
Why is Nikon 1.4g better when Nikon 1.8g is sharper?
Using audio cues to encourage good posture
Illegal assignment from sObject to Id
How to write this math term? with cases it isn't working
How fail-safe is nr as stop bytes?
Do wooden building fires get hotter than 600°C?
Trademark violation for app?
Why wasn't DOSKEY integrated with COMMAND.COM?
How to react to hostile behavior from a senior developer?
Drawing without replacement: why is the order of draw irrelevant?
How to write the following sign?
Can anything be seen from the center of the Boötes void? How dark would it be?
AppleTVs create a chatty alternate WiFi network
Is there a kind of relay that only consumes power when switching?
How do I use the new nonlinear finite element in Mathematica 12 for this equation?
Why do we need to use the builder design pattern when we can do the same thing with setters?
Magento 2.1.6 Cannot save shipment
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm 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;
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
add a comment |
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
add a comment |
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
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
magento-2.1 php database sales-order
edited 2 days ago
Anas Mansuri
167
167
asked May 26 '17 at 13:22
Vin.FVin.F
185
185
add a comment |
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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