An Error occurred while handling another error:
yii\web\HeadersAlreadySentException: Headers already sent in /home/bustrans/public_html/web/index.php on line 1. in /home/bustrans/public_html/vendor/yiisoft/yii2/web/Response.php:366
Stack trace:
#0 /home/bustrans/public_html/vendor/yiisoft/yii2/web/Response.php(339): yii\web\Response->sendHeaders()
#1 /home/bustrans/public_html/vendor/yiisoft/yii2/web/ErrorHandler.php(136): yii\web\Response->send()
#2 /home/bustrans/public_html/vendor/craftcms/cms/src/web/ErrorHandler.php(147): yii\web\ErrorHandler->renderException(Object(yii\base\ErrorException))
#3 /home/bustrans/public_html/vendor/yiisoft/yii2/base/ErrorHandler.php(135): craft\web\ErrorHandler->renderException(Object(yii\base\ErrorException))
#4 /home/bustrans/public_html/vendor/craftcms/cms/src/web/ErrorHandler.php(63): 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: session_name(): Cannot change session name when headers already sent in /home/bustrans/public_html/vendor/yiisoft/yii2/web/Session.php:326
Stack trace:
#0 /home/bustrans/public_html/vendor/craftcms/cms/src/web/ErrorHandler.php(76): yii\base\ErrorHandler->handleError(2, 'session_name():...', '/home/bustrans/...', 326)
#1 [internal function]: craft\web\ErrorHandler->handleError(2, 'session_name():...', '/home/bustrans/...', 326, Array)
#2 /home/bustrans/public_html/vendor/yiisoft/yii2/web/Session.php(326): session_name('CraftSessionId')
#3 /home/bustrans/public_html/vendor/yiisoft/yii2/base/Component.php(180): yii\web\Session->setName('CraftSessionId')
#4 /home/bustrans/public_html/vendor/yiisoft/yii2/BaseYii.php(558): yii\base\Component->__set('name', 'CraftSessionId')
#5 /home/bustrans/public_html/vendor/yiisoft/yii2/base/BaseObject.php(107): yii\BaseYii::configure(Object(craft\web\Session), Array)
#6 [internal function]: yii\base\BaseObject->__construct(Array)
#7 /home/bustrans/public_html/vendor/yiisoft/yii2/di/Container.php(406): ReflectionClass->newInstanceArgs(Array)
#8 /home/bustrans/public_html/vendor/yiisoft/yii2/di/Container.php(165): yii\di\Container->build('craft\\web\\Sessi...', Array, Array)
#9 /home/bustrans/public_html/vendor/yiisoft/yii2/BaseYii.php(365): yii\di\Container->get('craft\\web\\Sessi...', Array, Array)
#10 /home/bustrans/public_html/vendor/craftcms/cms/src/config/app.web.php(23): yii\BaseYii::createObject(Array)
#11 [internal function]: {closure}()
#12 /home/bustrans/public_html/vendor/yiisoft/yii2/di/Container.php(536): call_user_func_array(Object(Closure), Array)
#13 /home/bustrans/public_html/vendor/yiisoft/yii2/BaseYii.php(349): yii\di\Container->invoke(Object(Closure), Array)
#14 /home/bustrans/public_html/vendor/yiisoft/yii2/di/ServiceLocator.php(137): yii\BaseYii::createObject(Object(Closure))
#15 /home/bustrans/public_html/vendor/yiisoft/yii2/base/Module.php(742): yii\di\ServiceLocator->get('session', true)
#16 /home/bustrans/public_html/vendor/craftcms/cms/src/web/Application.php(324): yii\base\Module->get('session', true)
#17 /home/bustrans/public_html/vendor/yiisoft/yii2/web/Application.php(178): craft\web\Application->get('session')
#18 /home/bustrans/public_html/vendor/vaersaagod/geomate/src/GeoMate.php(156): yii\web\Application->getSession()
#19 /home/bustrans/public_html/vendor/vaersaagod/geomate/src/GeoMate.php(119): vaersaagod\geomate\GeoMate->redirectCheck()
#20 [internal function]: vaersaagod\geomate\GeoMate->vaersaagod\geomate\{closure}(Object(yii\base\Event))
#21 /home/bustrans/public_html/vendor/yiisoft/yii2/base/Component.php(627): call_user_func(Object(Closure), Object(yii\base\Event))
#22 /home/bustrans/public_html/vendor/craftcms/cms/src/base/ApplicationTrait.php(1424): yii\base\Component->trigger('init')
#23 /home/bustrans/public_html/vendor/craftcms/cms/src/web/Application.php(93): craft\web\Application->_postInit()
#24 /home/bustrans/public_html/vendor/yiisoft/yii2/base/BaseObject.php(109): craft\web\Application->init()
#25 /home/bustrans/public_html/vendor/yiisoft/yii2/base/Application.php(206): yii\base\BaseObject->__construct(Array)
#26 [internal function]: yii\base\Application->__construct(Array)
#27 /home/bustrans/public_html/vendor/yiisoft/yii2/di/Container.php(406): ReflectionClass->newInstanceArgs(Array)
#28 /home/bustrans/public_html/vendor/yiisoft/yii2/di/Container.php(165): yii\di\Container->build('craft\\web\\Appli...', Array, Array)
#29 /home/bustrans/public_html/vendor/yiisoft/yii2/BaseYii.php(365): yii\di\Container->get('craft\\web\\Appli...', Array, Array)
#30 /home/bustrans/public_html/vendor/craftcms/cms/bootstrap/bootstrap.php(246): yii\BaseYii::createObject(Array)
#31 /home/bustrans/public_html/vendor/craftcms/cms/bootstrap/web.php(51): require('/home/bustrans/...')
#32 /home/bustrans/public_html/web/index.php(22): require('/home/bustrans/...')
#33 {main}