Isotope Problem mit Kassenmodul nach Providerumzug
Im Zuge eines Providerwechsels von Timmehosting (nginx) zu allinkl.com habe ich ein Problem mit dem verwendeten Isotope-Shop.
Nach der Neuinstallation über die bestehende composer.json (PHP 7.4, Contao 4.9.34, Isotope 2.7.4). Will dort nun im Backend ein neues Template anlegen, bekomme ich einen Internal Server Error:
Was ist das Problem?
Attempted to load class "Path" from namespace "Symfony\Component\Filesystem". Did you forget a "use" statement for e.g. "Webmozart\PathUtil\Path", "ScssPhp\ScssPhp\Util\Path" or "BaconQrCode\Renderer\Path\Path"? Und im Log steht:
Code:
[2022-10-05 11:04:20] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\ClassNotFoundError: "Attempted to load class "Path" from namespace "Symfony\Component\Filesystem". Did you forget a "use" statement for e.g. "Webmozart\PathUtil\Path", "ScssPhp\ScssPhp\Util\Path" or "BaconQrCode\Renderer\Path\Path"?" at /www/htdocs/.../var/cache/prod/contao/dca/tl_templates.php line 102 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\ClassNotFoundError(code: 0): Attempted to load class \"Path\" from namespace \"Symfony\\Component\\Filesystem\".\nDid you forget a \"use\" statement for e.g. \"Webmozart\\PathUtil\\Path\", \"ScssPhp\\ScssPhp\\Util\\Path\" or \"BaconQrCode\\Renderer\\Path\\Path\"? at /www/htdocs/.../var/cache/prod/contao/dca/tl_templates.php:102)"} []
Will ich die Kassenseite aufrufen, erhalte ich die Fehlermeldung "Bei der Ausführung des Skriptes ist ein Fehler aufgetreten. Irgendetwas funktioniert nicht richtig." Und folgenden Logeintrag:
Code:
request.CRITICAL: Uncaught PHP Exception Error: "Call to a member function requiresPayment() on null" at /www/htdocs/.../vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/CheckoutStep/BillingAddress.php line 74 {"exception":"[object] (Error(code: 0): Call to a member function requiresPayment() on null at /www/htdocs/.../vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/CheckoutStep/BillingAddress.php:74)"} []
Um Probleme mit der älteren Isotope-Version auszuschließen, habe ich eine alternative aktuelle Installtion (PHP 8.1, Contao 4.13.10, Isotope 2.8.7) aufgesetzt. Dort funktioniert zwar das erstellen von Templates im Backend, im Frontend erhalte jedoch im Kassenmodul auch eine Fehlermeldung. Alle Datenbank-Migrationen und Updtaes wurden durchgeführt.
Dort steht im Log folgendes:
Code:
request.CRITICAL: Uncaught PHP Exception TypeError: "Unsupported operand types: string * int" at /www/htdocs/.../vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/Model/ProductCollectionItem.php line 339 {"exception":"[object] (TypeError(code: 0): Unsupported operand types: string * int at /www/htdocs/.../vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/Model/ProductCollectionItem.php:339)"} []
Hat jemad eine Idee bzw. Erfahrungen zu diesem Problem(en)?