folgende Meldung erscheint nach erfolgreicher Installation:
Fatal error : Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class „StateMachineHistoryDefinition“ from namespace „Shopware\Core\System\StateMachine\Aggregation\StateMachineHistory“. Did you forget a „use“ statement for another namespace? in /home/op003rz4/www/home/shopware6/var/cache/prod_k379092f7_pd41d8cd9/Container8OxhZL5/srcShopware_Production_KernelProdContainer.php:1645 Stack trace: #0 /home/op003rz4/www/home/shopware6/var/cache/prod_k379092f7_pd41d8cd9/Container8OxhZL5/srcShopware_Production_KernelProdContainer.php(2457): Container8OxhZL5\srcShopware_Production_KernelProdContainer->getStateMachineHistoryDefinitionService() #1 /home/op003rz4/www/home/shopware6/var/cache/prod_k379092f7_pd41d8cd9/Container8OxhZL5/srcShopware_Production_KernelProdContainer.php(2876): Container8OxhZL5\srcShopware_Production_KernelProdContainer->getStateMachineHistory_RepositoryService() #2 /home/op003rz4/www/home/shopware6/var/cache/prod_k379092f7_pd41d8cd9/Container8OxhZL5/srcShopware_Production_Ke in /home/op003rz4/www/home/shopware6/var/cache/prod_k379092f7_pd41d8cd9/Container8OxhZL5/srcShopware_Production_KernelProdContainer.php on line 1645
Habe jetzt im Ordner /var/cache den Cache geleert und nun kommt folgende Meldung, wenn man dann nochmals reloaded kommt wieder die Meldung von vorher (siehe oben):
Warning : include(/home/op003rz4/www/home/shopware6/vendor/composer/…/shopware/core/System/StateMachine/Aggregation/StateMachineHistory/StateMachineHistoryDefinition.php): failed to open stream: No such file or directory in /home/op003rz4/www/home/shopware6/vendor/composer/ClassLoader.php on line 444
Warning : include(/home/op003rz4/www/home/shopware6/vendor/composer/…/shopware/core/System/StateMachine/Aggregation/StateMachineHistory/StateMachineHistoryDefinition.php): failed to open stream: No such file or directory in /home/op003rz4/www/home/shopware6/vendor/composer/ClassLoader.php on line 444
Warning : include(): Failed opening ‚/home/op003rz4/www/home/shopware6/vendor/composer/…/shopware/core/System/StateMachine/Aggregation/StateMachineHistory/StateMachineHistoryDefinition.php‘ for inclusion (include_path=’.:/usr/local/lib/php’) in /home/op003rz4/www/home/shopware6/vendor/composer/ClassLoader.php on line 444
Fatal error : Uncaught RuntimeException: Failed to start the session because headers have already been sent by „/home/op003rz4/www/home/shopware6/vendor/composer/ClassLoader.php“ at line 444. in /home/op003rz4/www/home/shopware6/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:145 Stack trace: #0 /home/op003rz4/www/home/shopware6/vendor/symfony/http-foundation/Session/Session.php(57): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() #1 /home/op003rz4/www/home/shopware6/vendor/shopware/storefront/Framework/Routing/StorefrontSubscriber.php(89): Symfony\Component\HttpFoundation\Session\Session->start() #2 /home/op003rz4/www/home/shopware6/vendor/symfony/event-dispatcher/EventDispatcher.php(298): Shopware\Storefront\Framework\Routing\StorefrontSubscriber->startSession(Object(Symfony\Component\HttpKernel\Event\RequestEvent), ‚kernel.request‘, Object(Symfony\Component\EventDispatcher\EventDispatcher)) #3 /home/op003rz4/www/home/shopware6/vendor/symfony/event-dispatcher/EventDi in /home/op003rz4/www/home/shopware6/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php on line 145
Problem nun gelöst, die Datei StateMachineHistory/StateMachineHistoryDefinition.php hat im Ordner gefehlt, ist anscheinend beim FTP-Upload auf den Server nicht kopiert worden. Nun geht der Admin zum Aufrufen.