Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function get() on null in /var/www/yellowa/symfony/vendor/ekino/wordpress-bundle/Event/Subscriber/I18n/I18nSubscriber.php:53 Stack trace: #0 [internal function]: Ekino\WordpressBundle\Event\Subscriber\I18n\I18nSubscriber->onKernelRequest(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher)) #1 /var/www/yellowa/symfony/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php(106): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher)) #2 [internal function]: Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher)) #3 /var/www/yellowa/symfony/ in /var/www/yellowa/symfony/vendor/ekino/wordpress-bundle/Event/Subscriber/I18n/I18nSubscriber.php on line 53
I'm getting this error after composer update:
Sf version from composer: 3.2.*
Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function get() on null in /var/www/yellowa/symfony/vendor/ekino/wordpress-bundle/Event/Subscriber/I18n/I18nSubscriber.php:53 Stack trace: #0 [internal function]: Ekino\WordpressBundle\Event\Subscriber\I18n\I18nSubscriber->onKernelRequest(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher)) #1 /var/www/yellowa/symfony/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php(106): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher)) #2 [internal function]: Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher)) #3 /var/www/yellowa/symfony/ in /var/www/yellowa/symfony/vendor/ekino/wordpress-bundle/Event/Subscriber/I18n/I18nSubscriber.php on line 53