Dann bekomme ich diese Ausgabe auf der Console:
Code:
// Warming up the cache for the prod environment with debug false
16:01:42 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod -vvv". Message: "MemoryTokenStorage must not be accessed before it was initialized."
[
"exception" => LogicException {
#message: "MemoryTokenStorage must not be accessed before it was initialized."
#code: 0
#file: "/mnt/web304/b3/23/51252123/htdocs/website/vendor/contao/core-bundle/src/Csrf/MemoryTokenStorage.php"
#line: 104
trace: {
/mnt/web304/b3/23/51252123/htdocs/website/vendor/contao/core-bundle/src/Csrf/MemoryTokenStorage.php:104 { …}
/mnt/web304/b3/23/51252123/htdocs/website/vendor/contao/core-bundle/src/Csrf/MemoryTokenStorage.php:54 { …}
/mnt/web304/b3/23/51252123/htdocs/website/vendor/symfony/security/Csrf/CsrfTokenManager.php:72 { …}
/mnt/web304/b3/23/51252123/htdocs/website/vendor/contao/core-bundle/src/Resources/contao/library/Contao/RequestToken.php:57 { …}
/mnt/web304/b3/23/51252123/htdocs/website/vendor/contao/core-bundle/src/Framework/Adapter.php:44 { …}
/mnt/web304/b3/23/51252123/htdocs/website/vendor/contao/core-bundle/src/Framework/ContaoFramework.php:409 { …}
/mnt/web304/b3/23/51252123/htdocs/website/vendor/contao/core-bundle/src/Framework/ContaoFramework.php:291 { …}
/mnt/web304/b3/23/51252123/htdocs/website/vendor/contao/core-bundle/src/Framework/ContaoFramework.php:149 { …}
/mnt/web304/b3/23/51252123/htdocs/website/vendor/contao/core-bundle/src/Cache/ContaoCacheWarmer.php:87 { …}
/mnt/web304/b3/23/51252123/htdocs/website/vendor/symfony/http-kernel/CacheWarmer/CacheWarmerAggregate.php:97 { …}
/mnt/web304/b3/23/51252123/htdocs/website/vendor/symfony/framework-bundle/Command/CacheWarmupCommand.php:80 { …}
/mnt/web304/b3/23/51252123/htdocs/website/vendor/symfony/console/Command/Command.php:255 { …}
/mnt/web304/b3/23/51252123/htdocs/website/vendor/symfony/console/Application.php:1027 { …}
/mnt/web304/b3/23/51252123/htdocs/website/vendor/symfony/framework-bundle/Console/Application.php:97 { …}
/mnt/web304/b3/23/51252123/htdocs/website/vendor/symfony/console/Application.php:273 { …}
/mnt/web304/b3/23/51252123/htdocs/website/vendor/symfony/framework-bundle/Console/Application.php:83 { …}
/mnt/web304/b3/23/51252123/htdocs/website/vendor/symfony/console/Application.php:149 { …}
/mnt/web304/b3/23/51252123/htdocs/website/vendor/contao/manager-bundle/bin/contao-console:38 { …}
/mnt/web304/b3/23/51252123/htdocs/website/vendor/bin/contao-console:107 { …}
}
},
"command" => "cache:warmup --env=prod -vvv",
"message" => "MemoryTokenStorage must not be accessed before it was initialized."
]
16:01:42 DEBUG [console] Command "cache:warmup --env=prod -vvv" exited with code "1"
[
"command" => "cache:warmup --env=prod -vvv",
"code" => 1
]
In MemoryTokenStorage.php line 104:
[LogicException]
MemoryTokenStorage must not be accessed before it was initialized.
Exception trace:
at /mnt/web304/b3/23/51252123/htdocs/website/vendor/contao/core-bundle/src/Csrf/MemoryTokenStorage.php:104
Contao\CoreBundle\Csrf\MemoryTokenStorage->assertInitialized() at /mnt/web304/b3/23/51252123/htdocs/website/vendor/contao/core-bundle/src/Csrf/MemoryTokenStorage.php:54
Contao\CoreBundle\Csrf\MemoryTokenStorage->hasToken() at /mnt/web304/b3/23/51252123/htdocs/website/vendor/symfony/security/Csrf/CsrfTokenManager.php:72
Symfony\Component\Security\Csrf\CsrfTokenManager->getToken() at /mnt/web304/b3/23/51252123/htdocs/website/vendor/contao/core-bundle/src/Resources/contao/library/Contao/RequestToken.php:57
Contao\RequestToken::get() at /mnt/web304/b3/23/51252123/htdocs/website/vendor/contao/core-bundle/src/Framework/Adapter.php:44
Contao\CoreBundle\Framework\Adapter->__call() at /mnt/web304/b3/23/51252123/htdocs/website/vendor/contao/core-bundle/src/Framework/ContaoFramework.php:409
Contao\CoreBundle\Framework\ContaoFramework->handleRequestToken() at /mnt/web304/b3/23/51252123/htdocs/website/vendor/contao/core-bundle/src/Framework/ContaoFramework.php:291
Contao\CoreBundle\Framework\ContaoFramework->initializeFramework() at /mnt/web304/b3/23/51252123/htdocs/website/vendor/contao/core-bundle/src/Framework/ContaoFramework.php:149
Contao\CoreBundle\Framework\ContaoFramework->initialize() at /mnt/web304/b3/23/51252123/htdocs/website/vendor/contao/core-bundle/src/Cache/ContaoCacheWarmer.php:87
Contao\CoreBundle\Cache\ContaoCacheWarmer->warmUp() at /mnt/web304/b3/23/51252123/htdocs/website/vendor/symfony/http-kernel/CacheWarmer/CacheWarmerAggregate.php:97
Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate->warmUp() at /mnt/web304/b3/23/51252123/htdocs/website/vendor/symfony/framework-bundle/Command/CacheWarmupCommand.php:80
Symfony\Bundle\FrameworkBundle\Command\CacheWarmupCommand->execute() at /mnt/web304/b3/23/51252123/htdocs/website/vendor/symfony/console/Command/Command.php:255
Symfony\Component\Console\Command\Command->run() at /mnt/web304/b3/23/51252123/htdocs/website/vendor/symfony/console/Application.php:1027
Symfony\Component\Console\Application->doRunCommand() at /mnt/web304/b3/23/51252123/htdocs/website/vendor/symfony/framework-bundle/Console/Application.php:97
Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /mnt/web304/b3/23/51252123/htdocs/website/vendor/symfony/console/Application.php:273
Symfony\Component\Console\Application->doRun() at /mnt/web304/b3/23/51252123/htdocs/website/vendor/symfony/framework-bundle/Console/Application.php:83
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /mnt/web304/b3/23/51252123/htdocs/website/vendor/symfony/console/Application.php:149
Symfony\Component\Console\Application->run() at /mnt/web304/b3/23/51252123/htdocs/website/vendor/contao/manager-bundle/bin/contao-console:38
include() at /mnt/web304/b3/23/51252123/htdocs/website/vendor/bin/contao-console:107
cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--] <command>
X-Powered-By: PHP/8.0.13
Content-type: text/html; charset=UTF-8