Moin!
Heute aben wir auf 5.6.9 geupdated. Das Backend ist jetzt auch erreichbar, das Frontend nicht mehr. Mit veränderter Config.php bekomme ich folgendes:
Fatal error : Uncaught TypeError: Argument 2 passed to Shopware\Bundle\CookieBundle\Structs\CookieGroupStruct::__construct() must be of the type string, null given, called in /html/shopware/engine/Shopware/Bundle/CookieBundle/Services/CookieCollector.php on line 115 and defined in /html/shopware/engine/Shopware/Bundle/CookieBundle/Structs/CookieGroupStruct.php:64 Stack trace: #0 /html/shopware/engine/Shopware/Bundle/CookieBundle/Services/CookieCollector.php(115): Shopware\Bundle\CookieBundle\Structs\CookieGroupStruct->__construct(‚technical‘, NULL, NULL, true) #1 /html/shopware/engine/Shopware/Bundle/CookieBundle/Services/CookieCollector.php(86): Shopware\Bundle\CookieBundle\Services\CookieCollector->addDefaultGroups(Object(Shopware\Bundle\CookieBundle\CookieGroupCollection)) #2 /html/shopware/engine/Shopware/Bundle/CookieBundle/Services/CookieCollector.php(60): Shopware\Bundle\CookieBundle\Services\CookieCollector->collectCookieGroups() #3 /html/shopware/var/cache/production_202011060821/proxies/ShopwareProduction1d55d5d3 in /html/shopware/engine/Shopware/Bundle/CookieBundle/Structs/CookieGroupStruct.php on line 64
Im Forum finde ich nichts brauchbares. Habe das Cookie Consent Plugin gar nicht installiert. Wie behebe ich das? Woher kommt das?
Ich verzweifle gerade…
Danke sehr.
Mit freundlichen Grüßen,
René
EDIT:
Danke an @sunflower für folgenden Beitrag:
https://forum.shopware.com/discussion/comment/277480/#Comment%5C_277480
Das hat funktioniert!
Nun bekomme ich leider im Backend bei einigen Einstellungen folgendes Fenster:
Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. An exception occurred while executing ‚SELECT s0_.id AS id_0, s0_.table_name AS table_name_1, s0_.column_name AS column_name_2, s0_.column_type AS column_type_3, s0_.default_value AS default_value_4, s0_.entity AS entity_5, s0_.label AS label_6, s0_.readonly AS readonly_7, s0_.help_text AS help_text_8, s0_.support_text AS support_text_9, s0_.translatable AS translatable_10, s0_.display_in_backend AS display_in_backend_11, s0_.custom AS custom_12, s0_.position AS position_13, s0_.array_store AS array_store_14 FROM s_attribute_configuration s0_ WHERE s0_.table_name = ? ORDER BY s0_.position ASC‘ with params [„s_core_paymentmeans_attributes“]: SQLSTATE[42S22]: Column not found: 1054 Unknown column ‚s0_.readonly‘ in ‚field list‘ in vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php on line 179 Stack trace: #0 vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(150): Doctrine\DBAL\DBALException::wrapException(Object(Doctrine\DBAL\Driver\PDOMySql\Driver), Object(PDOException), ‚An exception oc…‘) #1 vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(915): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOMySql\Driver), Object(PDOException), ‚SELECT s0_.id A…‘, Array) #2 vendor/doctrine/orm/lib/Doctrine/ORM/Query/Exec/SingleSelectExecutor.php(50): Doctrine\DBAL\Connection->executeQuery(‚SELECT s0_.id A…‘, Array, Array, NULL) #3 vendor/doctrine/orm/lib/Doctrine/ORM/Query.php(337): Doctrine\ORM\Query\Exec\SingleSelectExecutor->execute(Object(Doctrine\DBAL\Connection), Array, Array) #4 vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(968): Doctrine\ORM\Query->_doExecute() #5 vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(923): Doctrine\ORM\AbstractQuery->executeIgnoreQueryCache(NULL, 2) #6 vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(738): Doctrine\ORM\AbstractQuery->execute(NULL, 2) #7 engine/Shopware/Bundle/AttributeBundle/Service/CrudService.php(272): Doctrine\ORM\AbstractQuery->getArrayResult() #8 engine/Shopware/Bundle/AttributeBundle/Service/CrudService.php(159): Shopware\Bundle\AttributeBundle\Service\CrudService->getTableConfiguration(‚s_core_paymentm…‘) #9 engine/Shopware/Bundle/AttributeBundle/Controllers/Backend/AttributeData.php(90): Shopware\Bundle\AttributeBundle\Service\CrudService->getList(‚s_core_paymentm…‘) #10 engine/Library/Enlight/Controller/Action.php(192): Shopware_Controllers_Backend_AttributeData->listAction() #11 engine/Library/Enlight/Controller/Dispatcher/Default.php(478): Enlight_Controller_Action->dispatch(‚listAction‘) #12 engine/Library/Enlight/Controller/Front.php(228):
Was ist das denn nun schon wieder? :(
Wenn ich versuche, das Update erneut via Shell zu installieren, kommt folgendes:
Replace system files…
Apply database migrations…
ERROR: SQLSTATE[HY000] [2002] No such file or directorywp13544260@ssh02:~/www$ ^C
wp13544260@ssh02:~/www$