UPDATE: Contao 4.5 auf 4.9 Fehler
Hallo zusammen,
ich stehe schon wieder einmal vor einem Updateproblem und komme leider nicht weit.
Bei einem Update von 4.5 auf 4.9 über den Contao Manager erscheint folgender Fehler:
Code:
> Resolving dependencies using Composer Cloud v3.6.0-1-g9d9036c
[4.9MiB/0.21s] Loading composer repositories with package information
[74.4MiB/8.79s] Updating dependencies
[159.6MiB/10.31s] Your requirements could not be resolved to an installable set of packages.
[159.6MiB/10.31s]
Problem 1
- contao/manager-bundle[4.9.0, ..., 4.9.42] require symfony/finder 4.4.* -> found symfony/finder[v4.4.0, ..., v4.4.44] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires contao/manager-bundle 4.9.* -> satisfiable by contao/manager-bundle[4.9.0, ..., 4.9.42].
[159.6MiB/10.31s] <warning>Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
[53.1MiB/10.37s] Memory usage: 53.15MB (peak: 195.88MB), time: 10.38s.
[53.1MiB/10.38s] Finished Composer Cloud resolving.
# Cloud Job ID 4lLM1psvnjrvR7Rjn5mahHaIVia3PS7p72qDumf6qex1lxQqDnYIZ9aSzHJS4YrOQnpBqpM8lacGvwT5iU failed
composer install
Hier ist meine composer.json:
Code:
{
"name": "contao/managed-edition",
"type": "project",
"description": "Contao Open Source CMS",
"license": "LGPL-3.0+",
"authors": [
{
"name": "Leo Feyer",
"homepage": "https://github.com/leofeyer"
}
],
"require": {
"php": "^5.6|^7.0",
"contao/calendar-bundle": "^4.4",
"contao/comments-bundle": "^4.4",
"contao/faq-bundle": "^4.4",
"contao/listing-bundle": "^4.4",
"contao/manager-bundle": "4.5.*",
"contao/news-bundle": "^4.4",
"contao/newsletter-bundle": "^4.4",
"delahaye/dlh_googlemaps": "^2.3",
"madeyourday/contao-rocksolid-custom-elements": "^2.2",
"madeyourday/contao-rocksolid-frontend-helper": "^2.0"
},
"conflict": {
"contao/core-bundle": "<4.4.1"
},
"config": {
"component-dir": "assets"
},
"scripts": {
"post-install-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
],
"post-update-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
]
}
}
Ich weiß leider nicht weiter :(
Vielen Dank im voraus für eure Hilfe
Liste der Anhänge anzeigen (Anzahl: 1)
@elhedi
Du musst alle Pakete aktualisieren.
Klicke oben auf "Pakete aktualisieren" und verwenden unten bei "Änderungen anwenden" das Drop-Down und wähle "Alle Pakete aktualisieren", damit ein komplettes "composer update" ausgeführt wird.
Anhang 26883
Liste der Anhänge anzeigen (Anzahl: 2)
Unter PHP 7.4 scheint alles super zu laufen! nur die Google Maps wird nicht angezeigt! aber ich denke das bekomme ich selber noch hin
Jedoch erhalte ich fehler sobald ich die PHP Version auf 8.1 oder 2 anhebe.
Woran kann das liegen?
UPDATE: Habe die Fehlermeldung vergessen.
Code:
$ /bin/php80 -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /usr/www/users/betamy/contao413/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod
// Warming up the cache for the prod environment with debug
// false
15:17:40 WARNING [php] Warning: Undefined array key "palettes" ["exception" => ErrorException { …}]
15:17:40 WARNING [php] Warning: Trying to access array offset on value of type null ["exception" => ErrorException { …}]
15:17:42 WARNING [php] Warning: Undefined array key "options" ["exception" => ErrorException { …}]
15:17:42 CRITICAL [php] Fatal Compile Error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` ["exception" => Symfony\Component\ErrorHandler\Error\FatalError { …}]
In DC_Formdata.php line 3662:
Compile Error: Unparenthesized `a ? b : c ? d : e` is not supported. Use ei
ther `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
cache:warmup [--no-optional-warmers]
# Process terminated with exit code 255
# Result: Unknown error
Es scheint ein Datenbank Problem zu geben jedoch kann ich das nicht dur den Button Datenbank überprüfen beheben
Anhang 26884
Anhang 26885