Warning: The use statement with non-compound name 'NumberFormatter' has no effect in /var/www/mixsport/common/config/main.php on line 5
An Error occurred while handling another error:
yii\web\HeadersAlreadySentException: Headers already sent in /var/www/mixsport/common/config/main.php on line 5. in /var/www/mixsport/vendor/yiisoft/yii2/web/Response.php:373
Stack trace:
#0 /var/www/mixsport/vendor/yiisoft/yii2/web/Response.php(346): yii\web\Response->sendHeaders()
#1 /var/www/mixsport/vendor/yiisoft/yii2/web/ErrorHandler.php(136): yii\web\Response->send()
#2 /var/www/mixsport/vendor/yiisoft/yii2/base/ErrorHandler.php(135): yii\web\ErrorHandler->renderException(Object(yii\base\ErrorException))
#3 [internal function]: yii\base\ErrorHandler->handleException(Object(yii\base\ErrorException))
#4 {main}
Previous exception:
yii\base\ErrorException: session_name(): Cannot change session name when headers already sent in /var/www/mixsport/vendor/yiisoft/yii2/web/Session.php:359
Stack trace:
#0 [internal function]: yii\base\ErrorHandler->handleError(2, 'session_name():...', '/var/www/mixspo...', 359, Array)
#1 /var/www/mixsport/vendor/yiisoft/yii2/web/Session.php(359): session_name('DEVSESSION')
#2 /var/www/mixsport/vendor/yiisoft/yii2/base/Component.php(181): yii\web\Session->setName('DEVSESSION')
#3 /var/www/mixsport/vendor/yiisoft/yii2/BaseYii.php(558): yii\base\Component->__set('name', 'DEVSESSION')
#4 /var/www/mixsport/vendor/yiisoft/yii2/base/BaseObject.php(107): yii\BaseYii::configure(Object(bscheshirwork\redis\Session), Array)
#5 [internal function]: yii\base\BaseObject->__construct(Array)
#6 /var/www/mixsport/vendor/yiisoft/yii2/di/Container.php(420): ReflectionClass->newInstanceArgs(Array)
#7 /var/www/mixsport/vendor/yiisoft/yii2/di/Container.php(171): yii\di\Container->build('bscheshirwork\\r...', Array, Array)
#8 /var/www/mixsport/vendor/yiisoft/yii2/BaseYii.php(365): yii\di\Container->get('bscheshirwork\\r...', Array, Array)
#9 /var/www/mixsport/vendor/yiisoft/yii2/di/ServiceLocator.php(137): yii\BaseYii::createObject(Array)
#10 /var/www/mixsport/vendor/yiisoft/yii2/base/Module.php(748): yii\di\ServiceLocator->get('session', true)
#11 /var/www/mixsport/vendor/yiisoft/yii2/di/ServiceLocator.php(74): yii\base\Module->get('session')
#12 /var/www/mixsport/vendor/codemix/yii2-localeurls/UrlManager.php(470): yii\di\ServiceLocator->__get('session')
#13 /var/www/mixsport/common/components/UrlManager.php(79): codemix\localeurls\UrlManager->loadPersistedLanguage()
#14 /var/www/mixsport/common/components/UrlManager.php(57): common\components\UrlManager->getLang()
#15 /var/www/mixsport/vendor/yiisoft/yii2/base/BaseObject.php(109): common\components\UrlManager->init()
#16 [internal function]: yii\base\BaseObject->__construct(Array)
#17 /var/www/mixsport/vendor/yiisoft/yii2/di/Container.php(420): ReflectionClass->newInstanceArgs(Array)
#18 /var/www/mixsport/vendor/yiisoft/yii2/di/Container.php(171): yii\di\Container->build('common\\componen...', Array, Array)
#19 /var/www/mixsport/vendor/yiisoft/yii2/BaseYii.php(365): yii\di\Container->get('common\\componen...', Array, Array)
#20 /var/www/mixsport/vendor/yiisoft/yii2/di/ServiceLocator.php(137): yii\BaseYii::createObject(Array)
#21 /var/www/mixsport/vendor/yiisoft/yii2/base/Module.php(748): yii\di\ServiceLocator->get('urlManager', true)
#22 /var/www/mixsport/vendor/yiisoft/yii2/di/ServiceLocator.php(74): yii\base\Module->get('urlManager')
#23 /var/www/mixsport/vendor/navatech/yii2-setting/src/Bootstrap.php(41): yii\di\ServiceLocator->__get('urlManager')
#24 /var/www/mixsport/vendor/yiisoft/yii2/base/Application.php(303): navatech\setting\Bootstrap->bootstrap(Object(yii\web\Application))
#25 /var/www/mixsport/vendor/yiisoft/yii2/web/Application.php(70): yii\base\Application->bootstrap()
#26 /var/www/mixsport/vendor/yiisoft/yii2/base/Application.php(279): yii\web\Application->bootstrap()
#27 /var/www/mixsport/vendor/yiisoft/yii2/base/BaseObject.php(109): yii\base\Application->init()
#28 /var/www/mixsport/vendor/yiisoft/yii2/base/Application.php(212): yii\base\BaseObject->__construct(Array)
#29 /var/www/mixsport/frontend/web/index.php(22): yii\base\Application->__construct(Array)
#30 {main}