Hallo zusammen,
ich habe Contao und Isotope von 4.4 und 2.6 auf 4.13 und 2.8.10 aktualisiert.
Contao läuft soweit korrekt - jedoch macht der Shop Probleme.
Im Backend funktioniert alles wie gehabt. Im Frontend ist es so, dass wenn ich Attribute auswähle, sich der Preis nicht aktualisiert und das Popup "Lade Produktdaten" einmal erscheint, weggeht und beim zweiten Mal in eine Endlosschleife geht. Script-mäßig zeigt die Console des Browsers an, dass das Script die geöffnete Seite nicht laden kann: Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Per Post will ja das Script die Daten ja an sich selbst übergeben.
Das zweite Problem zeigt an, dass noch irgendetwas "fishy" ist. Lege ich das Produkt in den Warenkorb, dann erhalte ich das Contao-Fehlerfenster. var/log gibt Folgendes aus:
Code:
[2023-03-09T22:30:52.537813+01:00] request.INFO: Matched route "tl_page.2382". {"route":"tl_page.2382","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.2382","parameters":"","pageModel":{"Contao\\PageModel":[]},"_route":"tl_page.2382","_route_object":{"Contao\\CoreBundle\\Routing\\Page\\PageRoute":[]}},"request_uri":"DIETESTWEBSITE","method":"GET"} []
[2023-03-09T22:30:53.190706+01:00] request.CRITICAL: Uncaught PHP Exception TypeError: "Argument 1 passed to str_contains() must be of the type string or null, array given, called in /PFADBEISTRATO/vendor/codefog/contao-haste/library/Haste/Util/Format.php on line 166" at /PFADBEISTRATO/vendor/symfony/polyfill-php80/bootstrap.php line 29 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to str_contains() must be of the type string or null, array given, called in /PFADBEISTRATO/vendor/codefog/contao-haste/library/Haste/Util/Format.php on line 166 at /PFADBEISTRATO/vendor/symfony/polyfill-php80/bootstrap.php:29)"} []
Vielleicht hat jemand ne Idee.
Danke und Grüße
Bojay
Lesezeichen