MobileDetectBundle
MobileDetectBundle copied to clipboard
service or alias has been removed or inlined when the container was compiled
добрый день, уважаемый товарищ @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.
для решения которого нужно объявить сервис публичным. ждем обновления кода, заранее спасибо!
@Alymbek hi. please make PR, thanks!
Temporary quickfix
services: mobile_detect.mobile_detector: class: SunCat\MobileDetectBundle\DeviceDetector\MobileDetector public: true
dear @suncat2000 , I can't make PR, because there are no options to merge(or check).
@jpvdw86 , than you!
Temporary quickfix , Symfony 5 version:
SunCat\MobileDetectBundle\DeviceDetector\MobileDetector:
class: SunCat\MobileDetectBundle\DeviceDetector\MobileDetector
public: true