An Error occurred while handling another error:
yii\web\HeadersAlreadySentException: Headers already sent in /home/c/cw84621/onlinelabs.ru/public_html/index.php on line 1. in /home/c/cw84621/onlinelabs.ru/public_html/vendor/yiisoft/yii2/web/Response.php:366
Stack trace:
#0 /home/c/cw84621/onlinelabs.ru/public_html/vendor/yiisoft/yii2/web/Response.php(339): yii\web\Response->sendHeaders()
#1 /home/c/cw84621/onlinelabs.ru/public_html/vendor/yiisoft/yii2/web/ErrorHandler.php(135): yii\web\Response->send()
#2 /home/c/cw84621/onlinelabs.ru/public_html/vendor/yiisoft/yii2/base/ErrorHandler.php(111): 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_set_cookie_params(): Cannot change session cookie parameters when headers already sent in /home/c/cw84621/onlinelabs.ru/public_html/vendor/yiisoft/yii2/web/Session.php:399
Stack trace:
#0 [internal function]: yii\base\ErrorHandler->handleError(2, 'session_set_coo...', '/home/c/cw84621...', 399, Array)
#1 /home/c/cw84621/onlinelabs.ru/public_html/vendor/yiisoft/yii2/web/Session.php(399): session_set_cookie_params(Array)
#2 /home/c/cw84621/onlinelabs.ru/public_html/vendor/yiisoft/yii2/web/Session.php(135): yii\web\Session->setCookieParamsInternal()
#3 /home/c/cw84621/onlinelabs.ru/public_html/vendor/yiisoft/yii2/web/Session.php(630): yii\web\Session->open()
#4 /home/c/cw84621/onlinelabs.ru/public_html/vendor/yiisoft/yii2/web/Session.php(769): yii\web\Session->get('__flash', Array)
#5 /home/c/cw84621/onlinelabs.ru/public_html/widgets/Alert.php(53): yii\web\Session->getAllFlashes()
#6 /home/c/cw84621/onlinelabs.ru/public_html/vendor/yiisoft/yii2/base/Widget.php(140): app\widgets\Alert->run()
#7 /home/c/cw84621/onlinelabs.ru/public_html/views/layouts/main.php(65): yii\base\Widget::widget()
#8 /home/c/cw84621/onlinelabs.ru/public_html/vendor/yiisoft/yii2/base/View.php(348): require('/home/c/cw84621...')
#9 /home/c/cw84621/onlinelabs.ru/public_html/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile('/home/c/cw84621...', Array)
#10 /home/c/cw84621/onlinelabs.ru/public_html/vendor/yiisoft/yii2/base/Controller.php(399): yii\base\View->renderFile('/home/c/cw84621...', Array, Object(app\controllers\SiteController))
#11 /home/c/cw84621/onlinelabs.ru/public_html/vendor/yiisoft/yii2/base/Controller.php(385): yii\base\Controller->renderContent('<script type='t...')
#12 /home/c/cw84621/onlinelabs.ru/public_html/controllers/SiteController.php(64): yii\base\Controller->render('index')
#13 [internal function]: app\controllers\SiteController->actionIndex()
#14 /home/c/cw84621/onlinelabs.ru/public_html/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#15 /home/c/cw84621/onlinelabs.ru/public_html/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#16 /home/c/cw84621/onlinelabs.ru/public_html/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('', Array)
#17 /home/c/cw84621/onlinelabs.ru/public_html/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('', Array)
#18 /home/c/cw84621/onlinelabs.ru/public_html/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
#19 /home/c/cw84621/onlinelabs.ru/public_html/index.php(12): yii\base\Application->run()
#20 {main}