Magento2Msp icon indicating copy to clipboard operation
Magento2Msp copied to clipboard

Fatal error RestoreQuote

Open rikwillems opened this issue 8 years ago • 7 comments

After the last update to 1.4.8 I get the following error. Disabling the Keep cart alive feature doesn't help.

Fatal error: Uncaught Error: Call to a member function getMethodInstance() on null in vendor/multisafepay/magento2msp/Model/Observers/RestoreQuote.php on line 6

rikwillems avatar Jan 05 '18 09:01 rikwillems

@rikwillems This part of the code was already in place since 1.4.6 and could be caused by the session not being available. Could you send an email to [email protected] ? We would like to investigate this further.

Jasper-MultiSafepay avatar Jan 05 '18 09:01 Jasper-MultiSafepay

When I replace the 1.4.8 code with the 1.4.7 code in the execute method of the RestoreQuote observer it works again. The added code does make a incompatible change.

rikwillems avatar Jan 05 '18 09:01 rikwillems

Unfortunately we cannot reproduce this on our test environments. Would it be possible if we investigate this further on your environment? If so, could you send an email to [email protected] ?

Jasper-MultiSafepay avatar Jan 05 '18 11:01 Jasper-MultiSafepay

After accidentally updating the module again my problem is back. Can you please review this code change?

rikwillems avatar Jan 28 '18 19:01 rikwillems

We have done our code reviews and testing and cannot find any issues. Would it be possible if we investigate this further on your staging environment? If so, could you send an email to [email protected] ?

Jasper-MultiSafepay avatar Feb 02 '18 11:02 Jasper-MultiSafepay

Thank you Jasper, I've sent you an email.

rikwillems avatar Feb 03 '18 10:02 rikwillems

Should be solved with 1.4.9

Jasper-MultiSafepay avatar Mar 21 '18 12:03 Jasper-MultiSafepay