Notice: Undefined index: HTTP_ACCEPT_LANGUAGE in /home1/carbonm1/carbon3/src/mainsite/controllers.php on line 13
Whoops, looks like something went wrong.
1/1
RuntimeException in NativeSessionStorage.php line 151:
Failed to start the session because headers have already been sent by "/home1/carbonm1/carbon3/src/mainsite/controllers.php" at line 13.
- in NativeSessionStorage.php line 151
- at NativeSessionStorage->start() in NativeSessionStorage.php line 293
- at NativeSessionStorage->getBag('attributes') in Session.php line 79
- at Session->set('language', 'zh_CN') in controllers.php line 27
- at {closure}(object(Request), object(Application))
- at call_user_func(object(Closure), object(Request), object(Application)) in Application.php line 338
- at Application->Silex\{closure}(object(GetResponseEvent), 'kernel.request', object(EventDispatcher))
- at call_user_func(object(Closure), object(GetResponseEvent), 'kernel.request', object(EventDispatcher)) in EventDispatcher.php line 174
- at EventDispatcher->doDispatch(array(array(object(SessionServiceProvider), 'onEarlyKernelRequest'), array(object(RouterListener), 'onKernelRequest'), array(object(LocaleListener), 'onKernelRequest'), array(object(Firewall), 'onKernelRequest'), object(Closure), array(object(MiddlewareListener), 'onKernelRequest')), 'kernel.request', object(GetResponseEvent)) in EventDispatcher.php line 43
- at EventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in HttpKernel.php line 116
- at HttpKernel->handleRaw(object(Request), '1') in HttpKernel.php line 57
- at HttpKernel->handle(object(Request), '1', true) in Application.php line 586
- at Application->handle(object(Request)) in Application.php line 563
- at Application->run() in index.php line 12