Magento 2 EE getting error when we try to save order from the backendgetting Fatal error: Class 'IntlDateFormatter' not found in magento 2.1.8Magento2: Error in order creation even after successful payment and redirectionhow to add product link on the checkout page order summary magento 2?free shipping method not listed when creating order from admin in Magento 2Virtual product Checkout issue, getting error on payment method selection in Magento 2Some products have catalog/product/view/id/2221/name-of-the-product from product URL magento 2.1.8?How to create magento 2 admin user from the root folder?Magento 2.1.8 export not workingMagento EE v 1.13.0.2 with Patch SUPEE-10975 Getting Zend_Log Fatal Error
Calculate Pi using Monte Carlo
Showing mass murder in a kid's book
Should I warn a new PhD Student?
TikZ plot too verbose
Mortal danger in mid-grade literature
"Marked down as someone wanting to sell shares." What does that mean?
Why does the Persian emissary display a string of crowned skulls?
C++ lambda syntax
PTIJ: Which Dr. Seuss books should one obtain?
Should I be concerned about student access to a test bank?
Why would five hundred and five same as one?
Reason why a kingside attack is not justified
Do I have to take mana from my deck or hand when tapping this card?
Has the laser at Magurele, Romania reached a tenth of the Sun's power?
Should a narrator ever describe things based on a character's view instead of facts?
When is the exact date for EOL of Ubuntu 14.04 LTS?
How can a new country break out from a developed country without war?
Trouble reading roman numeral notation with flats
How do I prevent inappropriate ads from appearing in my game?
Is there any common country to visit for persons holding UK and Schengen visas?
If the Dominion rule using their Jem'Hadar troops, why is their life expectancy so low?
Recursively move files within sub directories
Does capillary rise violate hydrostatic paradox?
What is the tangent at a sharp point on a curve?
Magento 2 EE getting error when we try to save order from the backend
getting Fatal error: Class 'IntlDateFormatter' not found in magento 2.1.8Magento2: Error in order creation even after successful payment and redirectionhow to add product link on the checkout page order summary magento 2?free shipping method not listed when creating order from admin in Magento 2Virtual product Checkout issue, getting error on payment method selection in Magento 2Some products have catalog/product/view/id/2221/name-of-the-product from product URL magento 2.1.8?How to create magento 2 admin user from the root folder?Magento 2.1.8 export not workingMagento EE v 1.13.0.2 with Patch SUPEE-10975 Getting Zend_Log Fatal Error
I have tried many solutions to fix this core issue. Whenever I am going to edit the order, update shipping or payment method and click on save. I am getting below error
Fatal error: Uncaught Error: Call to a member function getIsMultiShipping() on null in /var/www/html/ottocap/vendor/magento/module-customer-balance/Observer/PaymentDataImportObserver.php:52 Stack trace: #0 /var/www/html/ottocap/vendor/magento/framework/Event/Invoker/InvokerDefault.php(73): MagentoCustomerBalanceObserverPaymentDataImportObserver->execute(Object(MagentoFrameworkEventObserver)) #1 /var/www/html/ottocap/vendor/magento/framework/Event/Invoker/InvokerDefault.php(61): MagentoFrameworkEventInvokerInvokerDefault->_callObserverMethod(Object(MagentoCustomerBalanceObserverPaymentDataImportObserver), Object(MagentoFrameworkEventObserver)) #2 /var/www/html/ottocap/vendor/magento/module-staging/Model/Event/Manager.php(97): MagentoFrameworkEventInvokerInvokerDefault->dispatch(Array, Object(MagentoFrameworkEventObserver)) #3 /var/www/html/ottocap/var/generation/Magento/Staging/Model/Event/Manager/Proxy.php(95): MagentoStagingModelEventManager->dispatch('sales_quote_pay...', Array) #4 /var/www/ht in /var/www/html/ottocap/vendor/magento/module-customer-balance/Observer/PaymentDataImportObserver.php on line 52
I have debugged and came to know that Quote not generated properly. Due to that, I am getting this error. Please let us know if anyone has its solution to fix this issue.
magento-2.1.8 magento-ee
|
show 1 more comment
I have tried many solutions to fix this core issue. Whenever I am going to edit the order, update shipping or payment method and click on save. I am getting below error
Fatal error: Uncaught Error: Call to a member function getIsMultiShipping() on null in /var/www/html/ottocap/vendor/magento/module-customer-balance/Observer/PaymentDataImportObserver.php:52 Stack trace: #0 /var/www/html/ottocap/vendor/magento/framework/Event/Invoker/InvokerDefault.php(73): MagentoCustomerBalanceObserverPaymentDataImportObserver->execute(Object(MagentoFrameworkEventObserver)) #1 /var/www/html/ottocap/vendor/magento/framework/Event/Invoker/InvokerDefault.php(61): MagentoFrameworkEventInvokerInvokerDefault->_callObserverMethod(Object(MagentoCustomerBalanceObserverPaymentDataImportObserver), Object(MagentoFrameworkEventObserver)) #2 /var/www/html/ottocap/vendor/magento/module-staging/Model/Event/Manager.php(97): MagentoFrameworkEventInvokerInvokerDefault->dispatch(Array, Object(MagentoFrameworkEventObserver)) #3 /var/www/html/ottocap/var/generation/Magento/Staging/Model/Event/Manager/Proxy.php(95): MagentoStagingModelEventManager->dispatch('sales_quote_pay...', Array) #4 /var/www/ht in /var/www/html/ottocap/vendor/magento/module-customer-balance/Observer/PaymentDataImportObserver.php on line 52
I have debugged and came to know that Quote not generated properly. Due to that, I am getting this error. Please let us know if anyone has its solution to fix this issue.
magento-2.1.8 magento-ee
If you are running EE there is pro support for you
– Anthony
Nov 27 '18 at 8:50
Yes, already created a ticket in the support, they are looking into it since 8days.
– Nits
Nov 27 '18 at 8:51
Could need alot of looking into. One option is to put it up on freelancer as a one time fix job. Should not cost much
– Anthony
Nov 27 '18 at 8:57
Thanks I don't have that option.
– Nits
Nov 27 '18 at 8:59
@Nits Have you found any solution?
– Octopus
19 hours ago
|
show 1 more comment
I have tried many solutions to fix this core issue. Whenever I am going to edit the order, update shipping or payment method and click on save. I am getting below error
Fatal error: Uncaught Error: Call to a member function getIsMultiShipping() on null in /var/www/html/ottocap/vendor/magento/module-customer-balance/Observer/PaymentDataImportObserver.php:52 Stack trace: #0 /var/www/html/ottocap/vendor/magento/framework/Event/Invoker/InvokerDefault.php(73): MagentoCustomerBalanceObserverPaymentDataImportObserver->execute(Object(MagentoFrameworkEventObserver)) #1 /var/www/html/ottocap/vendor/magento/framework/Event/Invoker/InvokerDefault.php(61): MagentoFrameworkEventInvokerInvokerDefault->_callObserverMethod(Object(MagentoCustomerBalanceObserverPaymentDataImportObserver), Object(MagentoFrameworkEventObserver)) #2 /var/www/html/ottocap/vendor/magento/module-staging/Model/Event/Manager.php(97): MagentoFrameworkEventInvokerInvokerDefault->dispatch(Array, Object(MagentoFrameworkEventObserver)) #3 /var/www/html/ottocap/var/generation/Magento/Staging/Model/Event/Manager/Proxy.php(95): MagentoStagingModelEventManager->dispatch('sales_quote_pay...', Array) #4 /var/www/ht in /var/www/html/ottocap/vendor/magento/module-customer-balance/Observer/PaymentDataImportObserver.php on line 52
I have debugged and came to know that Quote not generated properly. Due to that, I am getting this error. Please let us know if anyone has its solution to fix this issue.
magento-2.1.8 magento-ee
I have tried many solutions to fix this core issue. Whenever I am going to edit the order, update shipping or payment method and click on save. I am getting below error
Fatal error: Uncaught Error: Call to a member function getIsMultiShipping() on null in /var/www/html/ottocap/vendor/magento/module-customer-balance/Observer/PaymentDataImportObserver.php:52 Stack trace: #0 /var/www/html/ottocap/vendor/magento/framework/Event/Invoker/InvokerDefault.php(73): MagentoCustomerBalanceObserverPaymentDataImportObserver->execute(Object(MagentoFrameworkEventObserver)) #1 /var/www/html/ottocap/vendor/magento/framework/Event/Invoker/InvokerDefault.php(61): MagentoFrameworkEventInvokerInvokerDefault->_callObserverMethod(Object(MagentoCustomerBalanceObserverPaymentDataImportObserver), Object(MagentoFrameworkEventObserver)) #2 /var/www/html/ottocap/vendor/magento/module-staging/Model/Event/Manager.php(97): MagentoFrameworkEventInvokerInvokerDefault->dispatch(Array, Object(MagentoFrameworkEventObserver)) #3 /var/www/html/ottocap/var/generation/Magento/Staging/Model/Event/Manager/Proxy.php(95): MagentoStagingModelEventManager->dispatch('sales_quote_pay...', Array) #4 /var/www/ht in /var/www/html/ottocap/vendor/magento/module-customer-balance/Observer/PaymentDataImportObserver.php on line 52
I have debugged and came to know that Quote not generated properly. Due to that, I am getting this error. Please let us know if anyone has its solution to fix this issue.
magento-2.1.8 magento-ee
magento-2.1.8 magento-ee
asked Nov 27 '18 at 7:31
NitsNits
1,264316
1,264316
If you are running EE there is pro support for you
– Anthony
Nov 27 '18 at 8:50
Yes, already created a ticket in the support, they are looking into it since 8days.
– Nits
Nov 27 '18 at 8:51
Could need alot of looking into. One option is to put it up on freelancer as a one time fix job. Should not cost much
– Anthony
Nov 27 '18 at 8:57
Thanks I don't have that option.
– Nits
Nov 27 '18 at 8:59
@Nits Have you found any solution?
– Octopus
19 hours ago
|
show 1 more comment
If you are running EE there is pro support for you
– Anthony
Nov 27 '18 at 8:50
Yes, already created a ticket in the support, they are looking into it since 8days.
– Nits
Nov 27 '18 at 8:51
Could need alot of looking into. One option is to put it up on freelancer as a one time fix job. Should not cost much
– Anthony
Nov 27 '18 at 8:57
Thanks I don't have that option.
– Nits
Nov 27 '18 at 8:59
@Nits Have you found any solution?
– Octopus
19 hours ago
If you are running EE there is pro support for you
– Anthony
Nov 27 '18 at 8:50
If you are running EE there is pro support for you
– Anthony
Nov 27 '18 at 8:50
Yes, already created a ticket in the support, they are looking into it since 8days.
– Nits
Nov 27 '18 at 8:51
Yes, already created a ticket in the support, they are looking into it since 8days.
– Nits
Nov 27 '18 at 8:51
Could need alot of looking into. One option is to put it up on freelancer as a one time fix job. Should not cost much
– Anthony
Nov 27 '18 at 8:57
Could need alot of looking into. One option is to put it up on freelancer as a one time fix job. Should not cost much
– Anthony
Nov 27 '18 at 8:57
Thanks I don't have that option.
– Nits
Nov 27 '18 at 8:59
Thanks I don't have that option.
– Nits
Nov 27 '18 at 8:59
@Nits Have you found any solution?
– Octopus
19 hours ago
@Nits Have you found any solution?
– Octopus
19 hours ago
|
show 1 more comment
1 Answer
1
active
oldest
votes
We got the solution for the above issue. In this issue, store not set up properly when we edit and save the order from the backend. So what I did, I have set an admin store when we edit and save the order. Please review the below code:
/var/www/html/m218ee/app/code/Extension/Override/etc/adminhtml/di.xml
<type name="MagentoFrameworkAppFrontControllerInterface">
<plugin name="md_default_store_setter" type="ExtensionOverridePluginDefaultStore" />
</type>
/var/www/html/ottocap/app/code/Extension/Override/Plugin/DefaultStore.php
namespace OttoOverridePlugin;
/**
* Plugin to set default store for admin area.
*/
class DefaultStore
/**
* @var MagentoStoreModelStoreManagerInterface
*/
protected $storeManager;
/**
* Initialize dependencies.
*
* @param MagentoStoreModelStoreManagerInterface $storeManager
*/
public function __construct(
MagentoStoreModelStoreManagerInterface $storeManager
)
$this->storeManager = $storeManager;
/**
* Set current store for admin area
*
* @param MagentoFrameworkAppFrontController $subject
* @param MagentoFrameworkAppRequestInterface $request
* @return void
*
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function beforeDispatch(
MagentoFrameworkAppFrontControllerInterface $subject , MagentoFrameworkAppRequestInterface $request
)
$path = $request->getParams();
if(!empty($path) && isset($path['namespace']) && $path['namespace']=='product_listing')
//Fixed default store issue in the product grid backend(previously showing default store value instead of admin store).
$this->storeManager->setCurrentStore(MagentoStoreModelStore::ADMIN_CODE);
Please run below commands
php bin/magento cache:flush or rm -rf var/*
If production mode is enable then you should run compilation command
php bin/magento setup:di:compile
and if require run static-content command
php bin/magento setup:static-content:deploy
I hope the above code help you.
add a comment |
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%2f251414%2fmagento-2-ee-getting-error-when-we-try-to-save-order-from-the-backend%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
We got the solution for the above issue. In this issue, store not set up properly when we edit and save the order from the backend. So what I did, I have set an admin store when we edit and save the order. Please review the below code:
/var/www/html/m218ee/app/code/Extension/Override/etc/adminhtml/di.xml
<type name="MagentoFrameworkAppFrontControllerInterface">
<plugin name="md_default_store_setter" type="ExtensionOverridePluginDefaultStore" />
</type>
/var/www/html/ottocap/app/code/Extension/Override/Plugin/DefaultStore.php
namespace OttoOverridePlugin;
/**
* Plugin to set default store for admin area.
*/
class DefaultStore
/**
* @var MagentoStoreModelStoreManagerInterface
*/
protected $storeManager;
/**
* Initialize dependencies.
*
* @param MagentoStoreModelStoreManagerInterface $storeManager
*/
public function __construct(
MagentoStoreModelStoreManagerInterface $storeManager
)
$this->storeManager = $storeManager;
/**
* Set current store for admin area
*
* @param MagentoFrameworkAppFrontController $subject
* @param MagentoFrameworkAppRequestInterface $request
* @return void
*
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function beforeDispatch(
MagentoFrameworkAppFrontControllerInterface $subject , MagentoFrameworkAppRequestInterface $request
)
$path = $request->getParams();
if(!empty($path) && isset($path['namespace']) && $path['namespace']=='product_listing')
//Fixed default store issue in the product grid backend(previously showing default store value instead of admin store).
$this->storeManager->setCurrentStore(MagentoStoreModelStore::ADMIN_CODE);
Please run below commands
php bin/magento cache:flush or rm -rf var/*
If production mode is enable then you should run compilation command
php bin/magento setup:di:compile
and if require run static-content command
php bin/magento setup:static-content:deploy
I hope the above code help you.
add a comment |
We got the solution for the above issue. In this issue, store not set up properly when we edit and save the order from the backend. So what I did, I have set an admin store when we edit and save the order. Please review the below code:
/var/www/html/m218ee/app/code/Extension/Override/etc/adminhtml/di.xml
<type name="MagentoFrameworkAppFrontControllerInterface">
<plugin name="md_default_store_setter" type="ExtensionOverridePluginDefaultStore" />
</type>
/var/www/html/ottocap/app/code/Extension/Override/Plugin/DefaultStore.php
namespace OttoOverridePlugin;
/**
* Plugin to set default store for admin area.
*/
class DefaultStore
/**
* @var MagentoStoreModelStoreManagerInterface
*/
protected $storeManager;
/**
* Initialize dependencies.
*
* @param MagentoStoreModelStoreManagerInterface $storeManager
*/
public function __construct(
MagentoStoreModelStoreManagerInterface $storeManager
)
$this->storeManager = $storeManager;
/**
* Set current store for admin area
*
* @param MagentoFrameworkAppFrontController $subject
* @param MagentoFrameworkAppRequestInterface $request
* @return void
*
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function beforeDispatch(
MagentoFrameworkAppFrontControllerInterface $subject , MagentoFrameworkAppRequestInterface $request
)
$path = $request->getParams();
if(!empty($path) && isset($path['namespace']) && $path['namespace']=='product_listing')
//Fixed default store issue in the product grid backend(previously showing default store value instead of admin store).
$this->storeManager->setCurrentStore(MagentoStoreModelStore::ADMIN_CODE);
Please run below commands
php bin/magento cache:flush or rm -rf var/*
If production mode is enable then you should run compilation command
php bin/magento setup:di:compile
and if require run static-content command
php bin/magento setup:static-content:deploy
I hope the above code help you.
add a comment |
We got the solution for the above issue. In this issue, store not set up properly when we edit and save the order from the backend. So what I did, I have set an admin store when we edit and save the order. Please review the below code:
/var/www/html/m218ee/app/code/Extension/Override/etc/adminhtml/di.xml
<type name="MagentoFrameworkAppFrontControllerInterface">
<plugin name="md_default_store_setter" type="ExtensionOverridePluginDefaultStore" />
</type>
/var/www/html/ottocap/app/code/Extension/Override/Plugin/DefaultStore.php
namespace OttoOverridePlugin;
/**
* Plugin to set default store for admin area.
*/
class DefaultStore
/**
* @var MagentoStoreModelStoreManagerInterface
*/
protected $storeManager;
/**
* Initialize dependencies.
*
* @param MagentoStoreModelStoreManagerInterface $storeManager
*/
public function __construct(
MagentoStoreModelStoreManagerInterface $storeManager
)
$this->storeManager = $storeManager;
/**
* Set current store for admin area
*
* @param MagentoFrameworkAppFrontController $subject
* @param MagentoFrameworkAppRequestInterface $request
* @return void
*
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function beforeDispatch(
MagentoFrameworkAppFrontControllerInterface $subject , MagentoFrameworkAppRequestInterface $request
)
$path = $request->getParams();
if(!empty($path) && isset($path['namespace']) && $path['namespace']=='product_listing')
//Fixed default store issue in the product grid backend(previously showing default store value instead of admin store).
$this->storeManager->setCurrentStore(MagentoStoreModelStore::ADMIN_CODE);
Please run below commands
php bin/magento cache:flush or rm -rf var/*
If production mode is enable then you should run compilation command
php bin/magento setup:di:compile
and if require run static-content command
php bin/magento setup:static-content:deploy
I hope the above code help you.
We got the solution for the above issue. In this issue, store not set up properly when we edit and save the order from the backend. So what I did, I have set an admin store when we edit and save the order. Please review the below code:
/var/www/html/m218ee/app/code/Extension/Override/etc/adminhtml/di.xml
<type name="MagentoFrameworkAppFrontControllerInterface">
<plugin name="md_default_store_setter" type="ExtensionOverridePluginDefaultStore" />
</type>
/var/www/html/ottocap/app/code/Extension/Override/Plugin/DefaultStore.php
namespace OttoOverridePlugin;
/**
* Plugin to set default store for admin area.
*/
class DefaultStore
/**
* @var MagentoStoreModelStoreManagerInterface
*/
protected $storeManager;
/**
* Initialize dependencies.
*
* @param MagentoStoreModelStoreManagerInterface $storeManager
*/
public function __construct(
MagentoStoreModelStoreManagerInterface $storeManager
)
$this->storeManager = $storeManager;
/**
* Set current store for admin area
*
* @param MagentoFrameworkAppFrontController $subject
* @param MagentoFrameworkAppRequestInterface $request
* @return void
*
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function beforeDispatch(
MagentoFrameworkAppFrontControllerInterface $subject , MagentoFrameworkAppRequestInterface $request
)
$path = $request->getParams();
if(!empty($path) && isset($path['namespace']) && $path['namespace']=='product_listing')
//Fixed default store issue in the product grid backend(previously showing default store value instead of admin store).
$this->storeManager->setCurrentStore(MagentoStoreModelStore::ADMIN_CODE);
Please run below commands
php bin/magento cache:flush or rm -rf var/*
If production mode is enable then you should run compilation command
php bin/magento setup:di:compile
and if require run static-content command
php bin/magento setup:static-content:deploy
I hope the above code help you.
answered 7 mins ago
NitsNits
1,264316
1,264316
add a comment |
add a comment |
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%2f251414%2fmagento-2-ee-getting-error-when-we-try-to-save-order-from-the-backend%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
If you are running EE there is pro support for you
– Anthony
Nov 27 '18 at 8:50
Yes, already created a ticket in the support, they are looking into it since 8days.
– Nits
Nov 27 '18 at 8:51
Could need alot of looking into. One option is to put it up on freelancer as a one time fix job. Should not cost much
– Anthony
Nov 27 '18 at 8:57
Thanks I don't have that option.
– Nits
Nov 27 '18 at 8:59
@Nits Have you found any solution?
– Octopus
19 hours ago