1111
An Error occurred while handling another error:
yii\web\HeadersAlreadySentException: Headers already sent in /app/controllers/MembersController.php on line 169. in /app/vendor/yiisoft/yii2/web/Response.php:366
Stack trace:
#0 /app/vendor/yiisoft/yii2/web/Response.php(339): yii\web\Response->sendHeaders()
#1 /app/vendor/yiisoft/yii2/web/ErrorHandler.php(135): yii\web\Response->send()
#2 /app/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_start(): Cannot send session cookie - headers already sent by (output started at /app/controllers/MembersController.php:169) in /app/vendor/yiisoft/yii2/web/Session.php:137
Stack trace:
#0 [internal function]: yii\base\ErrorHandler->handleError(2, 'session_start()...', '/app/vendor/yii...', 137, Array)
#1 /app/vendor/yiisoft/yii2/web/Session.php(137): session_start()
#2 /app/vendor/yiisoft/yii2/web/Session.php(612): yii\web\Session->open()
#3 /app/vendor/yiisoft/yii2/web/Session.php(704): yii\web\Session->get('__flash', Array)
#4 /app/vendor/yiisoft/yii2/web/Session.php(871): yii\web\Session->getFlash('message')
#5 /app/themes/site/views/layouts/main.php(48): yii\web\Session->hasFlash('message')
#6 /app/vendor/yiisoft/yii2/base/View.php(348): require('/app/themes/sit...')
#7 /app/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile('/app/themes/sit...', Array)
#8 /app/vendor/yiisoft/yii2/base/Controller.php(399): yii\base\View->renderFile('/app/themes/sit...', Array, Object(app\controllers\MembersController))
#9 /app/vendor/yiisoft/yii2/base/Controller.php(385): yii\base\Controller->renderContent('<!-- Page Title...')
#10 /app/controllers/MembersController.php(203): yii\base\Controller->render('sign-up-onepage', Array)
#11 [internal function]: app\controllers\MembersController->actionSignUp()
#12 /app/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#13 /app/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#14 /app/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('sign-up', Array)
#15 /app/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('members/sign-up', Array)
#16 /app/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
#17 /app/web/index.php(21): yii\base\Application->run()
#18 {main}