Add to cart button freezes and nothing is put in basket
We currently run a Magento 2 Store with the Porto theme from Smartwave.
We use the TIG PostNL extension for shipping.
After the latest update of this extension the add to cart button doesn't work anymore.
The nice people at TIG checked it and said nothing is disturbing the process.
In the log files I found:
[06-Jul-2018 05:30:15 UTC] PHP Fatal error: Uncaught Error: Call to a
member function getParentItem() on null in
/home/fotoloom/public_html/app/code/Smartwave/Dailydeals/Observer/DealProductDiscountPrice.php:27
Stack trace: 0
/home/fotoloom/public_html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(72):
SmartwaveDailydealsObserverDealProductDiscountPrice->execute(Object(MagentoFrameworkEventObserver))
1
/home/fotoloom/public_html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(60):
MagentoFrameworkEventInvokerInvokerDefault->_callObserverMethod(Object(SmartwaveDailydealsObserverDealProductDiscountPrice),
Object(MagentoFrameworkEventObserver)) 2
/home/fotoloom/public_html/vendor/magento/framework/Event/Manager.php(66):
MagentoFrameworkEventInvokerInvokerDefault->dispatch(Array,
Object(MagentoFrameworkEventObserver)) 3
/home/fotoloom/public_html/generated/code/Magento/Framework/Event/Manager/Proxy.php(95):
MagentoFrameworkEventManager->dispatch('checkout_cart_p...', Array)
4 /home/fotoloom/public_html/v in
/home/fotoloom/public_html/app/code/Smartwave/Dailydeals/Observer/DealProductDiscountPrice.php
on line 27**
It appears to me this could cause the error. However Smartwave says it also happens if the template is disabled.
I am looking for a solution and can't find it.
Could you tell me where to look to solve this issue? Clients are walking away and already a weak trying to find a solution. Even the hoster says nothing on their side and Redis is configurated well.
I am desperate right now.
magento2 addtocart
add a comment |
We currently run a Magento 2 Store with the Porto theme from Smartwave.
We use the TIG PostNL extension for shipping.
After the latest update of this extension the add to cart button doesn't work anymore.
The nice people at TIG checked it and said nothing is disturbing the process.
In the log files I found:
[06-Jul-2018 05:30:15 UTC] PHP Fatal error: Uncaught Error: Call to a
member function getParentItem() on null in
/home/fotoloom/public_html/app/code/Smartwave/Dailydeals/Observer/DealProductDiscountPrice.php:27
Stack trace: 0
/home/fotoloom/public_html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(72):
SmartwaveDailydealsObserverDealProductDiscountPrice->execute(Object(MagentoFrameworkEventObserver))
1
/home/fotoloom/public_html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(60):
MagentoFrameworkEventInvokerInvokerDefault->_callObserverMethod(Object(SmartwaveDailydealsObserverDealProductDiscountPrice),
Object(MagentoFrameworkEventObserver)) 2
/home/fotoloom/public_html/vendor/magento/framework/Event/Manager.php(66):
MagentoFrameworkEventInvokerInvokerDefault->dispatch(Array,
Object(MagentoFrameworkEventObserver)) 3
/home/fotoloom/public_html/generated/code/Magento/Framework/Event/Manager/Proxy.php(95):
MagentoFrameworkEventManager->dispatch('checkout_cart_p...', Array)
4 /home/fotoloom/public_html/v in
/home/fotoloom/public_html/app/code/Smartwave/Dailydeals/Observer/DealProductDiscountPrice.php
on line 27**
It appears to me this could cause the error. However Smartwave says it also happens if the template is disabled.
I am looking for a solution and can't find it.
Could you tell me where to look to solve this issue? Clients are walking away and already a weak trying to find a solution. Even the hoster says nothing on their side and Redis is configurated well.
I am desperate right now.
magento2 addtocart
add a comment |
We currently run a Magento 2 Store with the Porto theme from Smartwave.
We use the TIG PostNL extension for shipping.
After the latest update of this extension the add to cart button doesn't work anymore.
The nice people at TIG checked it and said nothing is disturbing the process.
In the log files I found:
[06-Jul-2018 05:30:15 UTC] PHP Fatal error: Uncaught Error: Call to a
member function getParentItem() on null in
/home/fotoloom/public_html/app/code/Smartwave/Dailydeals/Observer/DealProductDiscountPrice.php:27
Stack trace: 0
/home/fotoloom/public_html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(72):
SmartwaveDailydealsObserverDealProductDiscountPrice->execute(Object(MagentoFrameworkEventObserver))
1
/home/fotoloom/public_html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(60):
MagentoFrameworkEventInvokerInvokerDefault->_callObserverMethod(Object(SmartwaveDailydealsObserverDealProductDiscountPrice),
Object(MagentoFrameworkEventObserver)) 2
/home/fotoloom/public_html/vendor/magento/framework/Event/Manager.php(66):
MagentoFrameworkEventInvokerInvokerDefault->dispatch(Array,
Object(MagentoFrameworkEventObserver)) 3
/home/fotoloom/public_html/generated/code/Magento/Framework/Event/Manager/Proxy.php(95):
MagentoFrameworkEventManager->dispatch('checkout_cart_p...', Array)
4 /home/fotoloom/public_html/v in
/home/fotoloom/public_html/app/code/Smartwave/Dailydeals/Observer/DealProductDiscountPrice.php
on line 27**
It appears to me this could cause the error. However Smartwave says it also happens if the template is disabled.
I am looking for a solution and can't find it.
Could you tell me where to look to solve this issue? Clients are walking away and already a weak trying to find a solution. Even the hoster says nothing on their side and Redis is configurated well.
I am desperate right now.
magento2 addtocart
We currently run a Magento 2 Store with the Porto theme from Smartwave.
We use the TIG PostNL extension for shipping.
After the latest update of this extension the add to cart button doesn't work anymore.
The nice people at TIG checked it and said nothing is disturbing the process.
In the log files I found:
[06-Jul-2018 05:30:15 UTC] PHP Fatal error: Uncaught Error: Call to a
member function getParentItem() on null in
/home/fotoloom/public_html/app/code/Smartwave/Dailydeals/Observer/DealProductDiscountPrice.php:27
Stack trace: 0
/home/fotoloom/public_html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(72):
SmartwaveDailydealsObserverDealProductDiscountPrice->execute(Object(MagentoFrameworkEventObserver))
1
/home/fotoloom/public_html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(60):
MagentoFrameworkEventInvokerInvokerDefault->_callObserverMethod(Object(SmartwaveDailydealsObserverDealProductDiscountPrice),
Object(MagentoFrameworkEventObserver)) 2
/home/fotoloom/public_html/vendor/magento/framework/Event/Manager.php(66):
MagentoFrameworkEventInvokerInvokerDefault->dispatch(Array,
Object(MagentoFrameworkEventObserver)) 3
/home/fotoloom/public_html/generated/code/Magento/Framework/Event/Manager/Proxy.php(95):
MagentoFrameworkEventManager->dispatch('checkout_cart_p...', Array)
4 /home/fotoloom/public_html/v in
/home/fotoloom/public_html/app/code/Smartwave/Dailydeals/Observer/DealProductDiscountPrice.php
on line 27**
It appears to me this could cause the error. However Smartwave says it also happens if the template is disabled.
I am looking for a solution and can't find it.
Could you tell me where to look to solve this issue? Clients are walking away and already a weak trying to find a solution. Even the hoster says nothing on their side and Redis is configurated well.
I am desperate right now.
magento2 addtocart
magento2 addtocart
edited 49 mins ago
Teja Bhagavan Kollepara
2,96341847
2,96341847
asked Jul 6 '18 at 7:07
HansHans
11
11
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Check line number 27 in the class file /home/fotoloom/public_html/app/code/Smartwave/Dailydeals/Observer/DealProductDiscountPrice.php
The error message itself shows the path to debug and solve. getParentItem() is getting called on any null object.
your problem seems very specific with a particular situation, so it won't be possible to give you exact solution for this.
We solved it by just removing the extension. The extension is obsolete. We don't use. It also appeared to me that after we removed it, the page load time went significant down.
– Hans
Jul 7 '18 at 15:44
add a comment |
We solved it by just removing the extension. The extension is obsolete. We don't use. It also appeared to me that after we removed it, the page load time went significant down.
So, this ticket can be closed. How do I do that?
use this guide: meta.stackexchange.com/questions/37752/…
– Manish Joy
Jul 9 '18 at 5:16
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%2f232596%2fadd-to-cart-button-freezes-and-nothing-is-put-in-basket%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Check line number 27 in the class file /home/fotoloom/public_html/app/code/Smartwave/Dailydeals/Observer/DealProductDiscountPrice.php
The error message itself shows the path to debug and solve. getParentItem() is getting called on any null object.
your problem seems very specific with a particular situation, so it won't be possible to give you exact solution for this.
We solved it by just removing the extension. The extension is obsolete. We don't use. It also appeared to me that after we removed it, the page load time went significant down.
– Hans
Jul 7 '18 at 15:44
add a comment |
Check line number 27 in the class file /home/fotoloom/public_html/app/code/Smartwave/Dailydeals/Observer/DealProductDiscountPrice.php
The error message itself shows the path to debug and solve. getParentItem() is getting called on any null object.
your problem seems very specific with a particular situation, so it won't be possible to give you exact solution for this.
We solved it by just removing the extension. The extension is obsolete. We don't use. It also appeared to me that after we removed it, the page load time went significant down.
– Hans
Jul 7 '18 at 15:44
add a comment |
Check line number 27 in the class file /home/fotoloom/public_html/app/code/Smartwave/Dailydeals/Observer/DealProductDiscountPrice.php
The error message itself shows the path to debug and solve. getParentItem() is getting called on any null object.
your problem seems very specific with a particular situation, so it won't be possible to give you exact solution for this.
Check line number 27 in the class file /home/fotoloom/public_html/app/code/Smartwave/Dailydeals/Observer/DealProductDiscountPrice.php
The error message itself shows the path to debug and solve. getParentItem() is getting called on any null object.
your problem seems very specific with a particular situation, so it won't be possible to give you exact solution for this.
answered Jul 6 '18 at 7:19
Manish JoyManish Joy
837319
837319
We solved it by just removing the extension. The extension is obsolete. We don't use. It also appeared to me that after we removed it, the page load time went significant down.
– Hans
Jul 7 '18 at 15:44
add a comment |
We solved it by just removing the extension. The extension is obsolete. We don't use. It also appeared to me that after we removed it, the page load time went significant down.
– Hans
Jul 7 '18 at 15:44
We solved it by just removing the extension. The extension is obsolete. We don't use. It also appeared to me that after we removed it, the page load time went significant down.
– Hans
Jul 7 '18 at 15:44
We solved it by just removing the extension. The extension is obsolete. We don't use. It also appeared to me that after we removed it, the page load time went significant down.
– Hans
Jul 7 '18 at 15:44
add a comment |
We solved it by just removing the extension. The extension is obsolete. We don't use. It also appeared to me that after we removed it, the page load time went significant down.
So, this ticket can be closed. How do I do that?
use this guide: meta.stackexchange.com/questions/37752/…
– Manish Joy
Jul 9 '18 at 5:16
add a comment |
We solved it by just removing the extension. The extension is obsolete. We don't use. It also appeared to me that after we removed it, the page load time went significant down.
So, this ticket can be closed. How do I do that?
use this guide: meta.stackexchange.com/questions/37752/…
– Manish Joy
Jul 9 '18 at 5:16
add a comment |
We solved it by just removing the extension. The extension is obsolete. We don't use. It also appeared to me that after we removed it, the page load time went significant down.
So, this ticket can be closed. How do I do that?
We solved it by just removing the extension. The extension is obsolete. We don't use. It also appeared to me that after we removed it, the page load time went significant down.
So, this ticket can be closed. How do I do that?
answered Jul 8 '18 at 8:57
HansHans
11
11
use this guide: meta.stackexchange.com/questions/37752/…
– Manish Joy
Jul 9 '18 at 5:16
add a comment |
use this guide: meta.stackexchange.com/questions/37752/…
– Manish Joy
Jul 9 '18 at 5:16
use this guide: meta.stackexchange.com/questions/37752/…
– Manish Joy
Jul 9 '18 at 5:16
use this guide: meta.stackexchange.com/questions/37752/…
– Manish Joy
Jul 9 '18 at 5:16
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%2f232596%2fadd-to-cart-button-freezes-and-nothing-is-put-in-basket%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