mzwischenberger Posted May 5, 2020 Share Posted May 5, 2020 (edited) 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. Edited May 9, 2020 by mzwischenberger (see edit history) Link to comment Share on other sites More sharing options...
rictools Posted May 6, 2020 Share Posted May 6, 2020 Ich würde mal direkt in der Datenbank schauen, so eine Adresse löscht sich ja nicht von selbst, möglicherweise sind da komische Sonderzeichen drin oder so. Link to comment Share on other sites More sharing options...
JBW Posted May 6, 2020 Share Posted May 6, 2020 Der Bug wurde erst in 1.7.5.0 behoben: https://github.com/PrestaShop/PrestaShop/issues/12924 Link to comment Share on other sites More sharing options...
mzwischenberger Posted May 6, 2020 Author Share Posted May 6, 2020 Danke erstmal für die Infos! Ich komme heute oder morgen Abend wieder dazu und gebe dann hier Feedback. Link to comment Share on other sites More sharing options...
mzwischenberger Posted May 9, 2020 Author Share Posted May 9, 2020 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now