Nix geht mehr, nachdem lediglich einige Texte geändert wurden. Es kommt die Meldung:
Code:
[2021-08-11T00:34:06.854257+02:00] console.CRITICAL: Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "Class 'Symfony\Bundle\FrameworkBundle\Controller\Controller' not found" {"exception":"[object] (Error(code: 0): Class 'Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller' not found at /srv/www/hosts/www.studio-b1.de/htdocs/4-4/vendor/do-while/contao-backupdb-bundle/src/Controller/BackupDbController.php:26)","command":"cache:warmup --env=prod --no-ansi","message":"Class 'Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller' not found"} []
Im Manager dann selbiges:
Code:
rm -rf var/cache/prod
vendor/bin/contao-console cache:clear --no-warmup
vendor/bin/contao-console cache:warmup
$ /usr/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /srv/www/hosts/www.studio-b1.de/htdocs/4-4/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod
// Warming up the cache for the prod environment with debug
// false
11:34:55 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod". Message: "Class 'Symfony\Bundle\FrameworkBundle\Controller\Controller' not found" ["exception" => Error { …},"command" => "cache:warmup --env=prod","message" => "Class 'Symfony\Bundle\FrameworkBundle\Controller\Controller' not found"]
In BackupDbController.php line 26:
Attempted to load class "Controller" from namespace "Symfony\Bundle\Framewo
rkBundle\Controller".
Did you forget a "use" statement for another namespace?
cache:warmup [--no-optional-warmers]
# Process terminated with exit code 255
# Result: Unknown error
Was tun?