Kunden haben uns darauf hingewiesen.
Ware im Warenkorb.
Fehler kommt dann bei „Warenkorb anzeigen“ und auch bei „zur Kasse“.
on site messaging deaktiviert
php Version 8.0
Shopware 5.7.7
Fatal error: Uncaught TypeError: str_replace(): Argument #3 ($subject) must be of type array|string, float given in /var/www/clients/client1/web6/web/custom/plugins/BestitKlarnaPayments/vendor/k10r/klarna-ordermanagement/src/Components/Transformer/LineItemTransformer.php:298 Stack trace: #0 /var/www/clients/client1/web6/web/custom/plugins/BestitKlarnaPayments/vendor/k10r/klarna-ordermanagement/src/Components/Transformer/LineItemTransformer.php(298): str_replace() #1 /var/www/clients/client1/web6/web/custom/plugins/BestitKlarnaPayments/vendor/k10r/klarna-ordermanagement/src/Components/Transformer/LineItemTransformer.php(163): BestitKlarnaOrderManagement\Components\Transformer\LineItemTransformer->getUnitPriceWithTax() #2 /var/www/clients/client1/web6/web/custom/plugins/BestitKlarnaPayments/vendor/k10r/klarna-ordermanagement/src/Components/Transformer/LineItemTransformer.php(105): BestitKlarnaOrderManagement\Components\Transformer\LineItemTransformer->toKlarnaModel() #3 /var/www/clients/client1/web6/web/custom/plugins/BestitKlarnaPayments/Components/Transformer/BasketTransformer.php(127): BestitKlarnaOrderManagement\Components\Transformer\LineItemTransformer->toKlarnaModelList() #4 /var/www/clients/client1/web6/web/custom/plugins/BestitKlarnaPayments/Components/Facade/Session.php(69): BestitKlarnaPayments\Components\Transformer\BasketTransformer->toKlarnaOrder() #5 /var/www/clients/client1/web6/web/custom/plugins/BestitKlarnaPayments/Components/SessionHandler.php(48): BestitKlarnaPayments\Components\Facade\Session->createKlarnaSession() #6 /var/www/clients/client1/web6/web/custom/plugins/BestitKlarnaPayments/Subscriber/Frontend/Checkout.php(130): BestitKlarnaPayments\Components\SessionHandler->createKlarnaSessionAndUpdateSwSession() #7 /var/www/clients/client1/web6/web/engine/Library/Enlight/Event/Handler/Default.php(90): BestitKlarnaPayments\Subscriber\Frontend\Checkout->createOrUpdateKlarnaSession() #8 /var/www/clients/client1/web6/web/engine/Library/Enlight/Event/EventManager.php(208): Enlight_Event_Handler_Default->execute() #9 /var/www/clients/client1/web6/web/engine/Library/Enlight/Controller/Action.php(197): Enlight_Event_EventManager->notify() #10 /var/www/clients/client1/web6/web/engine/Library/Enlight/Controller/Dispatcher/Default.php(461): Enlight_Controller_Action->dispatch() #11 /var/www/clients/client1/web6/web/engine/Library/Enlight/Controller/Front.php(225): Enlight_Controller_Dispatcher_Default->dispatch() #12 /var/www/clients/client1/web6/web/engine/Shopware/Kernel.php(197): Enlight_Controller_Front->dispatch() #13 /var/www/clients/client1/web6/web/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(85): Shopware\Kernel->handle() #14 /var/www/clients/client1/web6/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(479): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle() #15 /var/www/clients/client1/web6/web/engine/Shopware/Components/HttpCache/AppCache.php(266): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward() #16 /var/www/clients/client1/web6/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(452): Shopware\Components\HttpCache\AppCache->forward() #17 /var/www/clients/client1/web6/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(346): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch() #18 /var/www/clients/client1/web6/web/engine/Shopware/Components/HttpCache/AppCache.php(192): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup() #19 /var/www/clients/client1/web6/web/vendor/symfony/http-kernel/HttpCache/HttpCache.php(224): Shopware\Components\HttpCache\AppCache->lookup() #20 /var/www/clients/client1/web6/web/engine/Shopware/Components/HttpCache/AppCache.php(117): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle() #21 /var/www/clients/client1/web6/web/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle() #22 {main} thrown in /var/www/clients/client1/web6/web/custom/plugins/BestitKlarnaPayments/vendor/k10r/klarna-ordermanagement/src/Components/Transformer/LineItemTransformer.php on line 298