Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin mit Shopware 5.7 kompatibel machen #6

Closed
iljamobilemojo opened this issue Feb 17, 2021 · 1 comment
Closed

Plugin mit Shopware 5.7 kompatibel machen #6

iljamobilemojo opened this issue Feb 17, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@iljamobilemojo
Copy link
Collaborator

Aktuell erscheint bei der Installation folgende Fehlermeldung:

Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. The "endereco_shopware5_client.subscriber.frontend" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead. in vendor/symfony/dependency-injection/Container.php on line 275 Stack trace: #0 vendor/symfony/dependency-injection/Container.php(231): Symfony\Component\DependencyInjection\Container->make() #1 engine/Shopware/Components/DependencyInjection/Container.php(210): Symfony\Component\DependencyInjection\Container->get() #2 engine/Shopware/Components/DependencyInjection/Container.php(134): Shopware\Components\DependencyInjection\Container->doLoad() #3 engine/Shopware/Components/ContainerAwareEventManager.php(191): Shopware\Components\DependencyInjection\Container->get() #4 engine/Shopware/Components/ContainerAwareEventManager.php(138): Shopware\Components\ContainerAwareEventManager->lazyLoad() #5 engine/Library/Enlight/Event/EventManager.php(213): Shopware\Components\ContainerAwareEventManager->getListeners() #6 engine/Library/Enlight/Controller/Action.php(197): Enlight_Event_EventManager->notify() #7 engine/Library/Enlight/Controller/Dispatcher/Default.php(478): Enlight_Controller_Action->dispatch() #8 engine/Library/Enlight/Controller/Front.php(228): Enlight_Controller_Dispatcher_Default->dispatch() #9 engine/Shopware/Kernel.php(189): Enlight_Controller_Front->dispatch() #10 vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(85): Shopware\Kernel->handle() #11 vendor/symfony/http-kernel/HttpCache/HttpCache.php(477): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle() #12 engine/Shopware/Components/HttpCache/AppCache.php(261): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward() #13 vendor/symfony/http-kernel/HttpCache/HttpCache.php(267): Shopware\Components\HttpCache\AppCache->forward() #14 engine/Shopware/Components/HttpCache/AppCache.php(102): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass() #15 shopware.php(122): Shopware\Components\HttpCache\AppCache->handle() #16 {main}  

Die Nutzung des Plugin im 5.7 ist somit nicht möglich.

@iljamobilemojo iljamobilemojo self-assigned this Feb 17, 2021
@iljamobilemojo
Copy link
Collaborator Author

Vorläufige Lösung: bei jedem Service in services.xml einen public="true" setzen.

@iljamobilemojo iljamobilemojo added the enhancement New feature or request label Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant