Deprecated: Dotenv\Dotenv::create(): Implicitly marking parameter $fileEncoding as nullable is deprecated, the explicit nullable type must be used instead in /var/www/imoments/vendor/vlucas/phpdotenv/src/Dotenv.php on line 83

Deprecated: Dotenv\Dotenv::createMutable(): Implicitly marking parameter $fileEncoding as nullable is deprecated, the explicit nullable type must be used instead in /var/www/imoments/vendor/vlucas/phpdotenv/src/Dotenv.php on line 112

Deprecated: Dotenv\Dotenv::createUnsafeMutable(): Implicitly marking parameter $fileEncoding as nullable is deprecated, the explicit nullable type must be used instead in /var/www/imoments/vendor/vlucas/phpdotenv/src/Dotenv.php on line 129

Deprecated: Dotenv\Dotenv::createImmutable(): Implicitly marking parameter $fileEncoding as nullable is deprecated, the explicit nullable type must be used instead in /var/www/imoments/vendor/vlucas/phpdotenv/src/Dotenv.php on line 148

Deprecated: Dotenv\Dotenv::createUnsafeImmutable(): Implicitly marking parameter $fileEncoding as nullable is deprecated, the explicit nullable type must be used instead in /var/www/imoments/vendor/vlucas/phpdotenv/src/Dotenv.php on line 165

Deprecated: Dotenv\Dotenv::createArrayBacked(): Implicitly marking parameter $fileEncoding as nullable is deprecated, the explicit nullable type must be used instead in /var/www/imoments/vendor/vlucas/phpdotenv/src/Dotenv.php on line 185

Deprecated: Dotenv\Repository\RepositoryBuilder::__construct(): Implicitly marking parameter $allowList as nullable is deprecated, the explicit nullable type must be used instead in /var/www/imoments/vendor/vlucas/phpdotenv/src/Repository/RepositoryBuilder.php on line 68

Deprecated: Dotenv\Repository\RepositoryBuilder::allowList(): Implicitly marking parameter $allowList as nullable is deprecated, the explicit nullable type must be used instead in /var/www/imoments/vendor/vlucas/phpdotenv/src/Repository/RepositoryBuilder.php on line 247

Deprecated: Dotenv\Store\StoreBuilder::__construct(): Implicitly marking parameter $fileEncoding as nullable is deprecated, the explicit nullable type must be used instead in /var/www/imoments/vendor/vlucas/phpdotenv/src/Store/StoreBuilder.php on line 54

Deprecated: Dotenv\Store\StoreBuilder::fileEncoding(): Implicitly marking parameter $fileEncoding as nullable is deprecated, the explicit nullable type must be used instead in /var/www/imoments/vendor/vlucas/phpdotenv/src/Store/StoreBuilder.php on line 123

Deprecated: Dotenv\Store\FileStore::__construct(): Implicitly marking parameter $fileEncoding as nullable is deprecated, the explicit nullable type must be used instead in /var/www/imoments/vendor/vlucas/phpdotenv/src/Store/FileStore.php on line 42

Deprecated: Dotenv\Store\File\Reader::read(): Implicitly marking parameter $fileEncoding as nullable is deprecated, the explicit nullable type must be used instead in /var/www/imoments/vendor/vlucas/phpdotenv/src/Store/File/Reader.php on line 43

Deprecated: Dotenv\Store\File\Reader::readFromFile(): Implicitly marking parameter $encoding as nullable is deprecated, the explicit nullable type must be used instead in /var/www/imoments/vendor/vlucas/phpdotenv/src/Store/File/Reader.php on line 70

Deprecated: Dotenv\Util\Str::utf8(): Implicitly marking parameter $encoding as nullable is deprecated, the explicit nullable type must be used instead in /var/www/imoments/vendor/vlucas/phpdotenv/src/Util/Str.php on line 36

Deprecated: Dotenv\Util\Str::substr(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in /var/www/imoments/vendor/vlucas/phpdotenv/src/Util/Str.php on line 82

Deprecated: Dotenv\Util\Regex::replaceCallback(): Implicitly marking parameter $limit as nullable is deprecated, the explicit nullable type must be used instead in /var/www/imoments/vendor/vlucas/phpdotenv/src/Util/Regex.php on line 67

Deprecated: Dotenv\Parser\Entry::__construct(): Implicitly marking parameter $value as nullable is deprecated, the explicit nullable type must be used instead in /var/www/imoments/vendor/vlucas/phpdotenv/src/Parser/Entry.php on line 33

500 Internal Server Error

Cannot modify header information - headers already sent by (output started at /var/www/imoments/vendor/composer/ClassLoader.php:576) (2)

#0 [internal function]: flight\Engine->handleError()
#1 /var/www/imoments/public/controllers/SitemapController.php(28): header()
#2 [internal function]: SitemapController->index()
#3 /var/www/imoments/vendor/flightphp/core/flight/core/Dispatcher.php(376): call_user_func_array()
#4 /var/www/imoments/vendor/flightphp/core/flight/core/Dispatcher.php(287): flight\core\Dispatcher->invokeCallable()
#5 /var/www/imoments/vendor/flightphp/core/flight/Engine.php(543): flight\core\Dispatcher->execute()
#6 [internal function]: flight\Engine->_start()
#7 /var/www/imoments/vendor/flightphp/core/flight/core/Dispatcher.php(376): call_user_func_array()
#8 /var/www/imoments/vendor/flightphp/core/flight/core/Dispatcher.php(287): flight\core\Dispatcher->invokeCallable()
#9 /var/www/imoments/vendor/flightphp/core/flight/core/Dispatcher.php(131): flight\core\Dispatcher->execute()
#10 /var/www/imoments/vendor/flightphp/core/flight/core/Dispatcher.php(95): flight\core\Dispatcher->runEvent()
#11 /var/www/imoments/vendor/flightphp/core/flight/Engine.php(113): flight\core\Dispatcher->run()
#12 /var/www/imoments/vendor/flightphp/core/flight/Flight.php(119): flight\Engine->__call()
#13 /var/www/imoments/index.php(61): Flight::__callStatic()
#14 {main}