Hi zusammen,
ich habe das Problem, dass beim Ausführen des Updates von Contao 4.8.5 auf "aktuell" folgende Fehlermeldung kommt:
Hat jemand von Euch einen Tipp, was ich da machen kann?PHP-Code:
> Resolving dependencies using Composer Cloud v2.2.0
# Job ID BPgUdWiMbzVGUvaxbMVbm9iaTs27T9V5c8WtpF6ZFecGx350ffXaNUednh5Kl1jTDyHaBzhh5N6wekFgQqz7rYPdkjP7sVhvk1WOZElnui6vGQt completed in 183 seconds
# Memory usage: 432.35MB (peak: 2001.19MB), time: 181.82s.
$ /usr/bin/php71 -q -d memory_limit=-1 /www/htdocs/w013e143/psv/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader
Using config.component-dir has been deprecated. Please use extra.contao-component-dir instead.
ocramius/package-versions: Generating version class...
ocramius/package-versions: ...done generating version class
contao/manager-plugin: Generating plugin class...
contao/manager-plugin: ...done generating plugin class
Added the web/preview.php file.
Added the web/app.php file.
Added the web/index.php file.
// Clearing the cache for the prod environment with debug
// false
[OK] Cache for the "prod" environment (debug=false) was successfully cleared.
// Warming up the cache for the prod environment with debug
// false
09:40:40 ERROR [console] Error thrown while running command "cache:warmup --env=prod". Message: "Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::__construct() must implement interface Symfony\Contracts\Translation\TranslatorInterface, instance of Contao\CoreBundle\Translation\Translator given, called in /www/htdocs/w013e143/psv/var/cache/prod/ContainerG17EnhL/getTwigService.php on line 111" ["exception" => TypeError { …},"command" => "cache:warmup --env=prod","message" => "Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::__construct() must implement interface Symfony\Contracts\Translation\TranslatorInterface, instance of Contao\CoreBundle\Translation\Translator given, called in /www/htdocs/w013e143/psv/var/cache/prod/ContainerG17EnhL/getTwigService.php on line 111"]
In DateTimeFormatter.php line 17:
Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::__construct()
must implement interface Symfony\Contracts\Translation\TranslatorInterface
, instance of Contao\CoreBundle\Translation\Translator given, called in /ww
w/htdocs/w013e143/psv/var/cache/prod/ContainerG17EnhL/getTwigService.php on
line 111
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>
Loading composer repositories with package information
Installing dependencies from lock file
Package operations: 0 installs, 65 updates, 0 removals
- Updating symfony/mime (v4.4.1 => v4.4.3): Downloading (100%)
- Updating symfony/http-foundation (v4.3.9 => v4.3.10): Downloading (100%)
- Updating symfony/event-dispatcher (v4.3.9 => v4.3.10): Downloading (100%)
- Updating symfony/debug (v4.4.1 => v4.4.3): Downloading (100%)
- Updating symfony/http-kernel (v4.3.9 => v4.3.10): Downloading (100%)
- Updating symfony/dependency-injection (v4.3.9 => v4.3.10): Downloading (100%)
- Updating symfony/filesystem (v4.3.9 => v4.3.10): Downloading (100%)
- Updating symfony/config (v4.3.9 => v4.3.10): Downloading (100%)
- Updating symfony/routing (v4.3.9 => v4.3.10): Downloading (100%)
- Updating contao/manager-plugin (2.7.1 => 2.8.0): Downloading (100%)
- Updating beberlei/assert (v3.2.6 => v3.2.7): Loading from cache
- Updating contao-components/contao (9.0.0 => 9.1.0): Loading from cache
- Updating symfony/yaml (v4.3.9 => v4.3.10): Downloading (100%)
- Updating symfony/options-resolver (v4.4.1 => v4.4.3): Downloading (100%)
- Updating php-http/discovery (1.7.0 => 1.7.4): Loading from cache
- Updating guzzlehttp/guzzle (6.5.0 => 6.5.2): Loading from cache
- Updating twig/twig (v2.12.2 => v2.12.3): Loading from cache
- Updating symfony/var-dumper (v4.3.9 => v4.3.10): Downloading (100%)
- Updating symfony/twig-bridge (v4.4.1 => v4.4.3): Downloading (100%)
- Updating symfony/twig-bundle (v4.3.9 => v4.3.10): Downloading (100%)
- Updating symfony/translation (v4.3.9 => v4.3.10): Downloading (100%)
- Updating egulias/email-validator (2.1.11 => 2.1.15): Downloading (100%)
- Updating symfony/inflector (v4.4.1 => v4.4.3): Downloading (100%)
- Updating symfony/property-access (v4.4.1 => v4.4.3): Downloading (100%)
- Updating symfony/security (v4.3.9 => v4.3.10): Downloading (100%)
- Updating symfony/security-bundle (v4.3.9 => v4.3.10): Downloading (100%)
- Updating symfony/process (v4.3.9 => v4.3.10): Downloading (100%)
- Updating symfony/lock (v4.3.9 => v4.3.10): Downloading (100%)
- Updating symfony/finder (v4.3.9 => v4.3.10): Downloading (100%)
- Updating symfony/var-exporter (v4.4.1 => v4.4.3): Downloading (100%)
- Updating symfony/cache (v4.3.9 => v4.3.10): Downloading (100%)
- Updating symfony/framework-bundle (v4.3.9 => v4.3.10): Downloading (100%)
- Updating symfony/expression-language (v4.3.9 => v4.3.10): Downloading (100%)
- Updating symfony/console (v4.3.9 => v4.3.10): Downloading (100%)
- Updating symfony/asset (v4.3.9 => v4.3.10): Downloading (100%)
- Updating simplepie/simplepie (1.5.3 => 1.5.4): Loading from cache
- Updating scheb/two-factor-bundle (v4.11.0 => v4.12.0): Downloading (100%)
- Updating matthiasmullie/path-converter (1.1.2 => 1.1.3): Downloading (100%)
- Updating matthiasmullie/minify (1.3.61 => 1.3.63): Downloading (100%)
- Updating symfony/templating (v4.4.1 => v4.4.3): Downloading (100%)
- Updating knplabs/knp-time-bundle (v1.10.0 => v1.11.0): Loading from cache
- Updating doctrine/reflection (v1.0.0 => v1.1.0): Loading from cache
- Updating doctrine/persistence (1.3.3 => 1.3.6): Downloading (100%)
- Updating doctrine/common (v2.11.0 => 2.12.0): Downloading (100%)
- Updating symfony/doctrine-bridge (v4.3.9 => v4.3.10): Downloading (100%)
- Updating doctrine/doctrine-bundle (1.12.2 => 1.12.7): Downloading (100%)
- Updating contao/core-bundle (4.8.5 => 4.8.7): Downloading (100%)
- Updating contao/calendar-bundle (4.8.5 => 4.8.7): Downloading (100%)
- Updating contao/comments-bundle (4.8.5 => 4.8.7): Downloading (100%)
- Updating contao/faq-bundle (4.8.5 => 4.8.7): Downloading (100%)
- Updating contao/listing-bundle (4.8.5 => 4.8.7): Downloading (100%)
- Updating toflar/psr6-symfony-http-cache-store (2.1.1 => 2.2.1): Downloading (100%)
- Updating symfony/web-profiler-bundle (v4.3.8 => v4.3.10): Downloading (100%)
- Updating zendframework/zend-code (3.4.0 => 3.4.1): Downloading (100%)
- Updating symfony/proxy-manager-bridge (v4.3.8 => v4.3.10): Downloading (100%)
- Updating monolog/monolog (1.25.2 => 1.25.3): Downloading (100%)
- Updating symfony/monolog-bridge (v4.3.8 => v4.3.10): Downloading (100%)
- Updating symfony/dotenv (v4.3.8 => v4.3.10): Downloading (100%)
- Updating symfony/debug-bundle (v4.3.8 => v4.3.10): Downloading (100%)
- Updating composer/ca-bundle (1.2.4 => 1.2.6): Downloading (100%)
- Updating ua-parser/uap-php (v3.9.2 => v3.9.4): Downloading (100%)
- Updating contao/installation-bundle (4.8.5 => 4.8.7): Downloading (100%)
- Updating contao/manager-bundle (4.8.5 => 4.8.7): Downloading (100%)
- Updating contao/news-bundle (4.8.5 => 4.8.7): Downloading (100%)
- Updating contao/newsletter-bundle (4.8.5 => 4.8.7): Downloading (100%)
Package zendframework/zend-code is abandoned, you should avoid using it. Use laminas/laminas-code instead.
Generating optimized autoload files
> Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception
In ScriptHandler.php line 88:
An error occurred while executing the "cache:warmup" command: 09:40:40 ERRO
R [console] Error thrown while running command "cache:warmup --env=prod
". Message: "Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::
__construct() must implement interface Symfony\Contracts\Translation\Transl
atorInterface, instance of Contao\CoreBundle\Translation\Translator given,
called in /www/htdocs/w013e143/psv/var/cache/prod/ContainerG17EnhL/getTwigS
ervice.php on line 111" ["exception" => TypeError { …},"command" => "cache:
warmup --env=prod","message" => "Argument 1 passed to Knp\Bundle\TimeBundle
\DateTimeFormatter::__construct() must implement interface Symfony\Contract
s\Translation\TranslatorInterface, instance of Contao\CoreBundle\Translatio
n\Translator given, called in /www/htdocs/w013e143/psv/var/cache/prod/Conta
inerG17EnhL/getTwigService.php on line 111"]
In DateTimeFormatter.php line 17:
Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::__construct
()
must implement interface Symfony\Contracts\Translation\TranslatorInterfa
ce
, instance of Contao\CoreBundle\Translation\Translator given, called in /
ww
w/htdocs/w013e143/psv/var/cache/prod/ContainerG17EnhL/getTwigService.php
on
line 111
cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--
verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--en
v ENV] [--] <command>
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>...]
# Process terminated with exit code 1
# Result: General error
---
### Der Hintergrundprozess wurde unerwartet beendet ###
Vielen Dank,
Preetz
Lesezeichen