Notice: Undefined index: HTTP_ACCEPT_LANGUAGE in /home/edouard2/app/config/services.php on line 22

Whoops, looks like something went wrong.

(1/1) RuntimeException

Failed to start the session because headers have already been sent by "/home/edouard2/app/config/services.php" at line 22.

in NativeSessionStorage.php (line 141)
at NativeSessionStorage->start()in NativeSessionStorage.php (line 302)
at NativeSessionStorage->getBag('attributes')in Session.php (line 249)
at Session->getBag('attributes')in Session.php (line 271)
at Session->getAttributeBag()in Session.php (line 73)
at Session->get('locale')in services.php (line 26)
at {closure}(object(Request), object(Application))
at call_user_func(object(Closure), object(Request), object(Application))in Application.php (line 254)
at Application->Silex\{closure}(object(GetResponseEvent), 'kernel.request', object(EventDispatcher))in EventDispatcher.php (line 212)
at EventDispatcher->doDispatch(array(array(object(SessionListener), 'onKernelRequest'), array(object(RouterListener), 'onKernelRequest'), array(object(LocaleListener), 'onKernelRequest'), array(object(TranslatorListener), 'onKernelRequest'), array(object(Firewall), 'onKernelRequest'), object(Closure), array(object(MiddlewareListener), 'onKernelRequest')), 'kernel.request', object(GetResponseEvent))in EventDispatcher.php (line 44)
at EventDispatcher->dispatch('kernel.request', object(GetResponseEvent))in HttpKernel.php (line 127)
at HttpKernel->handleRaw(object(Request), 1)in HttpKernel.php (line 68)
at HttpKernel->handle(object(Request), 1, true)in Application.php (line 496)
at Application->handle(object(Request))in Application.php (line 477)
at Application->run()in index.php (line 12)