Projekt

Allgemein

Profil

GX-Bug #69675

Von Till Tepelmann vor mehr als 1 Jahr aktualisiert

Wenn die Session abgelaufen ist und die Bestellung aber gerade abgeschlossen wird gibt es eine Fehlermeldung im Checkout 

 Das passiert wenn ein Kunde in dem Moment die Bestellung ausführen will, wo die Session abgelaufen ist und damit kein GX-Customizer Artikel mehr in der Session sind 

 Sobald der Fehler auftritt, werden leere Bestellungen in der Datenbank angelegt, da fehlen dann viele Informationen. 

 Call to a member function restore() on null in /gm/classes/GMGPrintOrderManager.php:23 

 Lösung sollte sein, dass vorher überprüft wird, ob das Objekt überhaupt vorhanden ist und nur dann die restore Methode auch aufrufen. 

 ------------ 

 If the session has expired and the order is being completed there is an error message in the checkout. 

 This happens when a customer wants to place an order at the moment when the session has expired and there are no GX-Customizer products left in the session. 

 As soon as the error occurs, empty orders are created in the database, there is a lot of information missing. 

 Call to a member function restore() on null in /gm/classes/GMGPrintOrderManager.php:23 

 Solution should be to check if the object exists at all and only then call the restore method.

Zurück