Deprecated: Return type of Dotenv\Environment\AbstractVariables::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cosma/public_html/app/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php on line 162
Deprecated: Return type of Dotenv\Environment\AbstractVariables::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cosma/public_html/app/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php on line 170
Deprecated: Return type of Dotenv\Environment\AbstractVariables::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cosma/public_html/app/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php on line 178
Deprecated: Return type of Dotenv\Environment\AbstractVariables::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cosma/public_html/app/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php on line 186
Deprecated: Return type of PhpOption\Some::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cosma/public_html/app/vendor/phpoption/phpoption/src/PhpOption/Some.php on line 151
Deprecated: Return type of PhpOption\None::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cosma/public_html/app/vendor/phpoption/phpoption/src/PhpOption/None.php on line 118
An Error occurred while handling another error:
yii\web\HeadersAlreadySentException: Headers already sent in /home/cosma/public_html/app/vendor/vlucas/phpdotenv/src/Environment/AbstractVariables.php on line 13. in /home/cosma/public_html/app/vendor/yiisoft/yii2/web/Response.php:366
Stack trace:
#0 /home/cosma/public_html/app/vendor/yiisoft/yii2/web/Response.php(339): yii\web\Response->sendHeaders()
#1 /home/cosma/public_html/app/vendor/yiisoft/yii2/web/ErrorHandler.php(136): yii\web\Response->send()
#2 /home/cosma/public_html/app/vendor/yiisoft/yii2/base/ErrorHandler.php(123): 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: Method ReflectionParameter::getClass() is deprecated in /home/cosma/public_html/app/vendor/yiisoft/yii2/di/Container.php:460
Stack trace:
#0 /home/cosma/public_html/app/vendor/yiisoft/yii2/di/Container.php(460): yii\base\ErrorHandler->handleError(8192, 'Method Reflecti...', '/home/cosma/pub...', 460)
#1 /home/cosma/public_html/app/vendor/yiisoft/yii2/di/Container.php(374): yii\di\Container->getDependencies('yii\\debug\\Modul...')
#2 /home/cosma/public_html/app/vendor/yiisoft/yii2/di/Container.php(159): yii\di\Container->build('yii\\debug\\Modul...', Array, Array)
#3 /home/cosma/public_html/app/vendor/yiisoft/yii2/BaseYii.php(365): yii\di\Container->get('yii\\debug\\Modul...', Array, Array)
#4 /home/cosma/public_html/app/vendor/yiisoft/yii2/base/Module.php(427): yii\BaseYii::createObject(Array, Array)
#5 /home/cosma/public_html/app/vendor/yiisoft/yii2/base/Application.php(315): yii\base\Module->getModule('debug')
#6 /home/cosma/public_html/app/vendor/yiisoft/yii2/web/Application.php(69): yii\base\Application->bootstrap()
#7 /home/cosma/public_html/app/vendor/yiisoft/yii2/base/Application.php(273): yii\web\Application->bootstrap()
#8 /home/cosma/public_html/app/vendor/yiisoft/yii2/base/BaseObject.php(109): yii\base\Application->init()
#9 /home/cosma/public_html/app/vendor/yiisoft/yii2/base/Application.php(206): yii\base\BaseObject->__construct(Array)
#10 /home/cosma/public_html/app/frontend/web/index.php(32): yii\base\Application->__construct(Array)
#11 {main}