Beim Installieren der Contao Cookiebar wird ein Fehler ausgeworfen, den ich nicht so recht verstehe:
Wieso wird PHP 7.2 für contao/core-bundle[4.10.0, ..., 4.10.4] gefordert?! Es ist 5.1.1 und PHP 8.1.16 installiert!
Code:
Pakete werden aktualisiert
composer require oveleon/contao-cookiebar
composer update contao/manager-bundle madeyourday/contao-rocksolid-antispam madeyourday/contao-rocksolid-columns madeyourday/contao-rocksolid-custom-elements madeyourday/contao-rocksolid-icon-picker madeyourday/contao-rocksolid-slider madeyourday/contao-rocksolid-theme-assistant oveleon/contao-cookiebar contao/conflicts contao/core-bundle --no-install
> Resolving dependencies using Composer Cloud v3.5.1
[6.8MiB/0.18s] Loading composer repositories with package information
[66.2MiB/7.76s] Updating dependencies
[124.3MiB/8.38s] Your requirements could not be resolved to an installable set of packages.
[124.3MiB/8.39s]
Problem 1
- contao/core-bundle[4.10.0, ..., 4.10.4] require php ^7.2 -> your php version (8.1.16.0) does not satisfy that requirement.
- Root composer.json requires oveleon/contao-cookiebar ^1.12 -> satisfiable by oveleon/contao-cookiebar[1.12.0, ..., 1.12.9].
- contao/manager-bundle 5.1.1 requires contao/core-bundle 5.1.1 -> satisfiable by contao/core-bundle[5.1.1].
- Conclusion: don't install contao/core-bundle 5.1.1 (conflict analysis result)
- oveleon/contao-cookiebar[1.12.0, ..., 1.12.9] require contao/core-bundle ^4.9.28 -> satisfiable by contao/core-bundle[4.9.28, ..., 4.13.18].
- You can only install one version of a package, so only one of these can be installed: contao/core-bundle[4.9.28, ..., 4.13.18, 5.0.0, ..., 5.1.1].
- contao/manager-bundle 5.1.0 requires contao/core-bundle 5.1.0 -> satisfiable by contao/core-bundle[5.1.0].
- Root composer.json requires contao/manager-bundle 5.1.* -> satisfiable by contao/manager-bundle[5.1.0, 5.1.1].
[124.3MiB/8.39s] <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>
[38.2MiB/8.44s] Memory usage: 38.16MB (peak: 172.77MB), time: 8.45s.
[38.2MiB/8.44s] Finished Composer Cloud resolving.
# Cloud Job ID duDyV1Vn3ALbrR5dH8TA3rcsIiRezGzyl5Ni0zk1yKPoBYPWtGdVLjc26vO9oMsWs2zR failed
Vielen Dank für eure Hilfe.
Lesezeichen