Warning: mkdir(): File exists in /app/vendor/yiisoft/yii2/helpers/BaseFileHelper.php on line 711
An Error occurred while handling another error:
yii\web\HeadersAlreadySentException: Headers already sent in /app/vendor/yiisoft/yii2/helpers/BaseFileHelper.php on line 711. in /app/vendor/yiisoft/yii2/web/Response.php:369
Stack trace:
#0 /app/vendor/yiisoft/yii2/web/Response.php(342): yii\web\Response->sendHeaders()
#1 /app/vendor/yiisoft/yii2/web/ErrorHandler.php(136): yii\web\Response->send()
#2 /app/vendor/craftcms/cms/src/web/ErrorHandler.php(192): yii\web\ErrorHandler->renderException(Object(yii\base\ErrorException))
#3 /app/vendor/yiisoft/yii2/base/ErrorHandler.php(152): craft\web\ErrorHandler->renderException(Object(yii\base\ErrorException))
#4 /app/vendor/craftcms/cms/src/web/ErrorHandler.php(66): yii\base\ErrorHandler->handleException(Object(yii\base\ErrorException))
#5 [internal function]: craft\web\ErrorHandler->handleException(Object(yii\base\ErrorException))
#6 {main}
Previous exception:
yii\base\ErrorException: Cannot modify header information - headers already sent by (output started at /app/vendor/yiisoft/yii2/helpers/BaseFileHelper.php:711) in /app/vendor/craftcms/cms/src/web/Application.php:213
Stack trace:
#0 /app/vendor/craftcms/cms/src/web/ErrorHandler.php(79): yii\base\ErrorHandler->handleError(2, 'Cannot modify h...', '/app/vendor/cra...', 213)
#1 [internal function]: craft\web\ErrorHandler->handleError(2, 'Cannot modify h...', '/app/vendor/cra...', 213)
#2 /app/vendor/craftcms/cms/src/web/Application.php(213): header_remove('X-Powered-By')
#3 /app/vendor/yiisoft/yii2/base/Application.php(384): craft\web\Application->handleRequest(Object(craft\web\Request))
#4 /app/web/index.php(12): yii\base\Application->run()
#5 {main}