Ich hatte unter dem Post https://forum.jtl-software.de/threads/einzelne-bestellung-wurde-nicht-uebertragen.227611/
bereits geschrieben, dass wir Probleme mit PayPal haben. Ich versuchte den Fehler nachzustellen, und muss feststellen, dass der Fatal Error mit dem Klick auf Bestellen im Warenkorb ausgelöst wird. Das mit Paypal hat vermutlich hier überhaupt nichts zu tun und war zufällig zeitgleich.
Ich habe den Shop in der letzten Woche von 5.2.4 auf 5.2.7 gebracht. Damit ist der Fehler entstanden. Der Shop hat jetzt den Stand 5.3.4
Hier nochmal der Text der Fehlermeldung, den jeder Kunde nach dem Klick erhät. Die Bestellung ist im Shop erfasst. Schickt der Kunde das nochmal ab, weil er denkt es ist schiefgegangen gibts eine neue Bestellung...
Fatal error: Uncaught ValueError:
array_combine(): Argument
#1 ($keys) and argument
#2 ($values) must have the same number of elements in /path_to_installation/includes/src/Mail/Mail/Mail.php:160 Stack trace:
#0 /path_to_installation/includes/src/Mail/Mail/Mail.php(160): array_combine()
#1 /path_to_installation/includes/src/Mail/Mail/Mail.php(139): JTL\Mail\Mail\Mail->createFromTemplate()
#2 /path_to_installation/includes/src/Checkout/OrderHandler.php(409): JTL\Mail\Mail\Mail->createFromTemplateID()
#3 /path_to_installation/includes/src/Router/Controller/OrderCompleteController.php(121): JTL\Checkout\OrderHandler->finalizeOrder()
#4 /path_to_installation/includes/src/Router/Controller/DefaultController.php(118): JTL\Router\Controller\OrderCompleteController->getResponse()
#5 /path_to_installation/includes/src/Router/Strategy/SmartyStrategy.php(40): JTL\Router\Controller\DefaultController->getResponse()
#6 /path_to_installation/includes/vendor/league/route/src/Route.php(167): JTL\Router\Strategy\SmartyStrategy->invokeRouteCallable()
#7 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(59): League\Route\Route->process()
#8 /path_to_installation/includes/src/Router/Middleware/MaintenanceModeMiddleware.php(40): League\Route\Dispatcher->handle()
#9 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\MaintenanceModeMiddleware->process()
#10 /path_to_installation/includes/src/Router/Middleware/PhpFileCheckMiddleware.php(36): League\Route\Dispatcher->handle()
#11 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\PhpFileCheckMiddleware->process()
#12 /path_to_installation/includes/src/Router/Middleware/OptinMiddleware.php(49): League\Route\Dispatcher->handle()
#13 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\OptinMiddleware->process()
#14 /path_to_installation/includes/src/Router/Middleware/CurrencyCheckMiddleware.php(26): League\Route\Dispatcher->handle()
#15 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\CurrencyCheckMiddleware->process()
#16 /path_to_installation/includes/src/Router/Middleware/LocaleCheckMiddleware.php(34): League\Route\Dispatcher->handle()
#17 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\LocaleCheckMiddleware->process()
#18 /path_to_installation/includes/src/Router/Middleware/CartcheckMiddleware.php(25): League\Route\Dispatcher->handle()
#19 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\CartcheckMiddleware->process()
#20 /path_to_installation/includes/src/Router/Middleware/WishlistCheckMiddleware.php(24): League\Route\Dispatcher->handle()
#21 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\WishlistCheckMiddleware->process()
#22 /path_to_installation/includes/src/Router/Middleware/SSLRedirectMiddleware.php(43): League\Route\Dispatcher->handle()
#23 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\SSLRedirectMiddleware->process()
#24 /path_to_installation/includes/src/Router/Middleware/MaintenanceModeMiddleware.php(40): League\Route\Dispatcher->handle()
#25 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\MaintenanceModeMiddleware->process()
#26 /path_to_installation/includes/src/Router/Middleware/LocaleRedirectMiddleware.php(38): League\Route\Dispatcher->handle()
#27 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\LocaleRedirectMiddleware->process()
#28 /path_to_installation/includes/vendor/league/route/src/Strategy/ApplicationStrategy.php(37): League\Route\Dispatcher->handle()
#29 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(59): Psr\Http\Server\MiddlewareInterface@anonymous->process()
#30 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(53): League\Route\Dispatcher->handle()
#31 /path_to_installation/includes/vendor/league/route/src/Router.php(111): League\Route\Dispatcher->dispatchRequest()
#32 /path_to_installation/includes/src/Router/Router.php(703): League\Route\Router->dispatch()
#33 /path_to_installation/includes/src/Shop.php(501): JTL\Router\Router->dispatch()
#34 /path_to_installation/index.php(7): JTL\Shop::dispatch()
#35 {main} thrown in /path_to_installation/includes/src/Mail/Mail/Mail.php on line 160
Kann mir hier wer Rat geben....
bereits geschrieben, dass wir Probleme mit PayPal haben. Ich versuchte den Fehler nachzustellen, und muss feststellen, dass der Fatal Error mit dem Klick auf Bestellen im Warenkorb ausgelöst wird. Das mit Paypal hat vermutlich hier überhaupt nichts zu tun und war zufällig zeitgleich.
Ich habe den Shop in der letzten Woche von 5.2.4 auf 5.2.7 gebracht. Damit ist der Fehler entstanden. Der Shop hat jetzt den Stand 5.3.4
Hier nochmal der Text der Fehlermeldung, den jeder Kunde nach dem Klick erhät. Die Bestellung ist im Shop erfasst. Schickt der Kunde das nochmal ab, weil er denkt es ist schiefgegangen gibts eine neue Bestellung...
Fatal error: Uncaught ValueError:
array_combine(): Argument
#1 ($keys) and argument
#2 ($values) must have the same number of elements in /path_to_installation/includes/src/Mail/Mail/Mail.php:160 Stack trace:
#0 /path_to_installation/includes/src/Mail/Mail/Mail.php(160): array_combine()
#1 /path_to_installation/includes/src/Mail/Mail/Mail.php(139): JTL\Mail\Mail\Mail->createFromTemplate()
#2 /path_to_installation/includes/src/Checkout/OrderHandler.php(409): JTL\Mail\Mail\Mail->createFromTemplateID()
#3 /path_to_installation/includes/src/Router/Controller/OrderCompleteController.php(121): JTL\Checkout\OrderHandler->finalizeOrder()
#4 /path_to_installation/includes/src/Router/Controller/DefaultController.php(118): JTL\Router\Controller\OrderCompleteController->getResponse()
#5 /path_to_installation/includes/src/Router/Strategy/SmartyStrategy.php(40): JTL\Router\Controller\DefaultController->getResponse()
#6 /path_to_installation/includes/vendor/league/route/src/Route.php(167): JTL\Router\Strategy\SmartyStrategy->invokeRouteCallable()
#7 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(59): League\Route\Route->process()
#8 /path_to_installation/includes/src/Router/Middleware/MaintenanceModeMiddleware.php(40): League\Route\Dispatcher->handle()
#9 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\MaintenanceModeMiddleware->process()
#10 /path_to_installation/includes/src/Router/Middleware/PhpFileCheckMiddleware.php(36): League\Route\Dispatcher->handle()
#11 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\PhpFileCheckMiddleware->process()
#12 /path_to_installation/includes/src/Router/Middleware/OptinMiddleware.php(49): League\Route\Dispatcher->handle()
#13 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\OptinMiddleware->process()
#14 /path_to_installation/includes/src/Router/Middleware/CurrencyCheckMiddleware.php(26): League\Route\Dispatcher->handle()
#15 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\CurrencyCheckMiddleware->process()
#16 /path_to_installation/includes/src/Router/Middleware/LocaleCheckMiddleware.php(34): League\Route\Dispatcher->handle()
#17 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\LocaleCheckMiddleware->process()
#18 /path_to_installation/includes/src/Router/Middleware/CartcheckMiddleware.php(25): League\Route\Dispatcher->handle()
#19 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\CartcheckMiddleware->process()
#20 /path_to_installation/includes/src/Router/Middleware/WishlistCheckMiddleware.php(24): League\Route\Dispatcher->handle()
#21 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\WishlistCheckMiddleware->process()
#22 /path_to_installation/includes/src/Router/Middleware/SSLRedirectMiddleware.php(43): League\Route\Dispatcher->handle()
#23 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\SSLRedirectMiddleware->process()
#24 /path_to_installation/includes/src/Router/Middleware/MaintenanceModeMiddleware.php(40): League\Route\Dispatcher->handle()
#25 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\MaintenanceModeMiddleware->process()
#26 /path_to_installation/includes/src/Router/Middleware/LocaleRedirectMiddleware.php(38): League\Route\Dispatcher->handle()
#27 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(59): JTL\Router\Middleware\LocaleRedirectMiddleware->process()
#28 /path_to_installation/includes/vendor/league/route/src/Strategy/ApplicationStrategy.php(37): League\Route\Dispatcher->handle()
#29 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(59): Psr\Http\Server\MiddlewareInterface@anonymous->process()
#30 /path_to_installation/includes/vendor/league/route/src/Dispatcher.php(53): League\Route\Dispatcher->handle()
#31 /path_to_installation/includes/vendor/league/route/src/Router.php(111): League\Route\Dispatcher->dispatchRequest()
#32 /path_to_installation/includes/src/Router/Router.php(703): League\Route\Router->dispatch()
#33 /path_to_installation/includes/src/Shop.php(501): JTL\Router\Router->dispatch()
#34 /path_to_installation/index.php(7): JTL\Shop::dispatch()
#35 {main} thrown in /path_to_installation/includes/src/Mail/Mail/Mail.php on line 160
Kann mir hier wer Rat geben....
Zuletzt bearbeitet: