Hallo,
beim cache warmup bekomme ich folgende Meldung:
Code:
// Warming up the cache for the prod environment with debug
// false
08:32:54 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod". Message: "Class "PHP_Token_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG" not found" ["exception" => Error { …},"command" => "cache:warmup --env=prod","message" => "Class "PHP_Token_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG" not found"]
In Stream.php line 477:
Attempted to load class "PHP_Token_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG" fro
m the global namespace.
Did you forget a "use" statement?
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>
# Process terminated with exit code 255
# Result: Unknown error
Das passiert seit der Umstellung von PHP 7.4 auf PHP 8.1. Dabei haben sich wohl auch einige Einstellungen in der php.ini geändert. Kann es damit zusammen hängen? Auf meinem Test-Server läuft die Installation unter PHP 8.1 problemlos, nur weiß ich leider nicht, welche PHP-Einstellung das sein könnte.
Vielen Dank und viele Grüße
Tina
Lesezeichen