Ich habe gerade folgendes Problem, das ich nicht verstehe:
Ich habe einen zweisprachigen Shop erstellt in Shopware 5.5.6 (Deutsch als Hauptsprache und Englisch als Sprachshop). Soweit funktionert in beiden auch alles mit Außnahme des Warenkorbs (und des Kontaktformulars, aber das ist gerade Nebensache) in Englisch.
Beim Aufrufen es Warenkorbs erhalten ich in meinem Content bereich die Fehlermeldung:
Oops! An error has occurred!
We have been informed about the problem and try to solve it. Please try again within a short time.
ICh meine, das war nicht immer so, aber ich weiß nicht, was geändert wurde. Hat mir jemand einen Hinweis woran das liegen könnte?
Danke für die schnelle Antwort. Ich habe Fehlermeldungen anzeigen nun aktiviert. Und bekomme folgendes:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'attr.Freitextfeld' in 'field list' in engine/Library/Zend/Db/Statement/Pdo.php on line 224
Stack trace:
#0 engine/Library/Zend/Db/Statement.php(297): Zend_Db_Statement_Pdo->_execute(Array)
#1 engine/Library/Zend/Db/Adapter/Abstract.php(470): Zend_Db_Statement->execute(Array)
#2 engine/Library/Zend/Db/Adapter/Pdo/Abstract.php(232): Zend_Db_Adapter_Abstract->query('SELECT attr.Fre...', Array)
#3 engine/Library/Enlight/Components/Db/Adapter/Pdo/Mysql.php(85): Zend_Db_Adapter_Pdo_Abstract->query('SELECT attr.Fre...', Array)
#4 engine/Library/Zend/Db/Adapter/Abstract.php(744): Enlight_Components_Db_Adapter_Pdo_Mysql->query('SELECT attr.Fre...', Array)
#5 engine/Shopware/Plugins/Community/Frontend/keybiKundenRabatt/Bootstrap.php(465): Zend_Db_Adapter_Abstract->fetchRow('SELECT attr.Fre...', Array)
#6 engine/Library/Enlight/Event/Handler/Plugin.php(149): Shopware_Plugins_Frontend_keybiKundenRabatt_Bootstrap->onAfterUserRabattArticle(Object(Enlight_Hook_HookArgs))
#7 engine/Library/Enlight/Event/EventManager.php(304): Enlight_Event_Handler_Plugin->execute(Object(Enlight_Hook_HookArgs))
#8 engine/Library/Enlight/Hook/HookExecutionContext.php(115): Enlight_Event_EventManager->filter('sBasket::sInser...', NULL, Object(Enlight_Hook_HookArgs))
#9 engine/Library/Enlight/Hook/HookManager.php(185): Enlight_Hook_HookExecutionContext->execute()
#10 var/cache/production_201901211535/proxies/sBasketProxy.php(102): Enlight_Hook_HookManager->executeHooks(Object(Shopware_Proxies_sBasketProxy), 'sInsertDiscount', Array)
#11 engine/Shopware/Core/sBasket.php(1329): Shopware_Proxies_sBasketProxy->sInsertDiscount()
#12 var/cache/production_201901211535/proxies/sBasketProxy.php(79): sBasket->sGetBasket()
#13 engine/Library/Enlight/Hook/HookExecutionContext.php(141): Shopware_Proxies_sBasketProxy->__executeOriginalMethod('sGetBasket', Array)
#14 engine/Library/Enlight/Hook/HookExecutionContext.php(107): Enlight_Hook_HookExecutionContext->executeReplaceChain(Array)
#15 engine/Library/Enlight/Hook/HookManager.php(185): Enlight_Hook_HookExecutionContext->execute()
#16 var/cache/production_201901211535/proxies/sBasketProxy.php(138): Enlight_Hook_HookManager->executeHooks(Object(Shopware_Proxies_sBasketProxy), 'sGetBasket', Array)
#17 engine/Shopware/Controllers/Frontend/Checkout.php(1030): Shopware_Proxies_sBasketProxy->sGetBasket()
#18 var/cache/production_201901211535/proxies/ShopwareControllersFrontendCheckoutProxy.php(79): Shopware_Controllers_Frontend_Checkout->getBasket(true)
#19 engine/Library/Enlight/Hook/HookExecutionContext.php(141): Shopware_Proxies_ShopwareControllersFrontendCheckoutProxy->__executeOriginalMethod('getBasket', Array)
#20 engine/Library/Enlight/Hook/HookExecutionContext.php(107): Enlight_Hook_HookExecutionContext->executeReplaceChain(Array)
#21 engine/Library/Enlight/Hook/HookManager.php(185): Enlight_Hook_HookExecutionContext->execute()
#22 var/cache/production_201901211535/proxies/ShopwareControllersFrontendCheckoutProxy.php(90): Enlight_Hook_HookManager->executeHooks(Object(Shopware_Proxies_ShopwareControllersFrontendCheckoutProxy), 'getBasket', Array)
#23 engine/Shopware/Controllers/Frontend/Checkout.php(153): Shopware_Proxies_ShopwareControllersFrontendCheckoutProxy->getBasket()
#24 engine/Library/Enlight/Controller/Action.php(193): Shopware_Controllers_Frontend_Checkout->cartAction()
#25 engine/Library/Enlight/Controller/Dispatcher/Default.php(549): Enlight_Controller_Action->dispatch('cartAction')
#26 engine/Library/Enlight/Controller/Front.php(222): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#27 engine/Shopware/Kernel.php(202): Enlight_Controller_Front->dispatch()
#28 vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#29 vendor/symfony/http-kernel/HttpCache/HttpCache.php(448): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true)
#30 engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#31 vendor/symfony/http-kernel/HttpCache/HttpCache.php(420): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#32 vendor/symfony/http-kernel/HttpCache/HttpCache.php(317): Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(Object(Symfony\Component\HttpFoundation\Request), true)
#33 engine/Shopware/Components/HttpCache/AppCache.php(189): Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#34 vendor/symfony/http-kernel/HttpCache/HttpCache.php(192): Shopware\Components\HttpCache\AppCache->lookup(Object(Symfony\Component\HttpFoundation\Request), true)
#35 engine/Shopware/Components/HttpCache/AppCache.php(116): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#36 shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))
#37 {main}
Hab den Fehler gefunden, verstehe ihn aber noch nicht.
Das Plugin Kunden-Rabatt von: keybits ist dafür verantowrtlich.
Mal schauen, ob ich das lösen kann.
Hab den Fehler gelöst:
Bei dem Plugin Kunden-Rabatt habe ich in den Plugin Einstellungen und der dem englischen Shop das Freitextfeld nochmal neu zugewiesen (welches bereits drin stand). Nun lädt der Warenkorb wieder.