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

service or alias has been removed or inlined when the container was compiled #130

Open
Alymbek opened this issue Dec 25, 2018 · 4 comments

Comments

@Alymbek
Copy link

Alymbek commented Dec 25, 2018

добрый день, уважаемый товарищ @suncat2000 .

в последней версии появляется следующая ошибка:

The "mobile_detect.mobile_detector" 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.

для решения которого нужно объявить сервис публичным.
ждем обновления кода, заранее спасибо!

@suncat2000
Copy link
Owner

@Alymbek hi.
please make PR, thanks!

@jpvdw86
Copy link

jpvdw86 commented Jan 28, 2019

Temporary quickfix
services: mobile_detect.mobile_detector: class: SunCat\MobileDetectBundle\DeviceDetector\MobileDetector public: true

@Alymbek
Copy link
Author

Alymbek commented Feb 26, 2019

dear @suncat2000 , I can't make PR, because there are no options to merge(or check).

@jpvdw86 , than you!

@monlouisj
Copy link

Temporary quickfix , Symfony 5 version:

    SunCat\MobileDetectBundle\DeviceDetector\MobileDetector:
        class: SunCat\MobileDetectBundle\DeviceDetector\MobileDetector
        public: true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants