1
An Error occurred while handling another error: yii\web\HeadersAlreadySentException: Headers already sent in /web/qnshop/controllers/BaseAuthController.php on line 37. in /web/qnshop/vendor/yiisoft/yii2/web/Response.php:368 Stack trace: #0 /web/qnshop/vendor/yiisoft/yii2/web/Response.php(341): yii\web\Response->sendHeaders() #1 /web/qnshop/vendor/yiisoft/yii2/web/ErrorHandler.php(136): yii\web\Response->send() #2 /web/qnshop/vendor/yiisoft/yii2/base/ErrorHandler.php(135): yii\web\ErrorHandler->renderException(Object(yii\web\HeadersAlreadySentException)) #3 [internal function]: yii\base\ErrorHandler->handleException(Object(yii\web\HeadersAlreadySentException)) #4 {main} Previous exception: yii\web\HeadersAlreadySentException: Headers already sent in /web/qnshop/controllers/BaseAuthController.php on line 37. in /web/qnshop/vendor/yiisoft/yii2/web/Response.php:368 Stack trace: #0 /web/qnshop/vendor/yiisoft/yii2/web/Response.php(341): yii\web\Response->sendHeaders() #1 /web/qnshop/vendor/yiisoft/yii2/base/Application.php(390): yii\web\Response->send() #2 /web/qnshop/web/index.php(10): yii\base\Application->run() #3 {main}