Jump to content

[gelöst] "Server error 500" bei Klick auf "Aktive Warenkörbe"


Recommended Posts

Hallo!

Ich bekomme seit heute jedesmal einen Server Error 500, wenn ich in der Backoffice-Übersicht auf "Aktive Warenkörbe" klicke.
Prestashop: 1.7.4.4 
php Version: 7.0.33
Template: classic
Bestehender Shop, keine Neuinstallation

Habe debugging eingeschalten und bekomme folgende Informationen:
######
Invalid address #98
at line 444 in file classes/Address.php
439. // if an id_address has been specified retrieve the address
440. if ($id_address) { 441. $address = new Address((int)$id_address);
442.
443. if (!Validate::isLoadedObject($address)) {
444. throw new PrestaShopException('Invalid address #'.(int)$id_address);
445. }
446. } elseif ($with_geoloc && isset($context->customer->geoloc_id_country)) {
447. $address = new Address();
448. $address->id_country = (int)$context->customer->geoloc_id_country;
449. $address->id_state = (int)$context->customer->id_state;
#####

Als nächstes habe ich in den Kundenadressen (Backoffice - Verkauf - Kunden - Adressen) nachgeschaut: es gibt dort über 100 Adressen, jedoch keine #98 (also ...96, 97, 99, 100...).

Hat jemand eine Idee, was ich machen kann, bzw. welche Info noch benötigt wird?

Danke,
Manfred

PS: auch bei "Verwaiste Warenkörbe" kommt die gleiche Fehlermeldung wie oben.

Screenshot 2020-05-05 at 22.39.11.png

Screenshot 2020-05-05 at 22.37.50.png

Screenshot 2020-05-05 at 22.42.28.png

Edited by mzwischenberger (see edit history)
Link to comment
Share on other sites

Bin bis jetzt nicht zum Update gekommen.

Habe erstmal einen work around fürs Problem gemacht (geht schneller und einfacher): Habe über Imports eine Adresse (#98, die fehlende) importiert, damit gibts wieder eine Adresszeile #98. Kein Error 500 mehr danach.

Lösung ist das zwar keine, aber als schneller Fix reichts mir vorerst.

SW Update, welches das ganze beheben sollte, kommt später mal, wenn mehr Zeit ist.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...