Contao Cookiebar von Oveleon
Möchte die Contao Cookiebar installieren - es läuft Contao Version 4.9.11
Warum kann ich die Erweiterung nicht installieren? Wie kann ich den Fehler beheben? Bitte um dringende Hilfe!
Beim Installieren der Erweiterung kommt folgende Fehlermeldung:
PHP-Code:
composer update oveleon/contao-cookiebar contao/conflicts --no-install
> Resolving dependencies using Composer Cloud v3.6.0-1-g9d9036c
[6.8MiB/0.20s] Loading composer repositories with package information
[7.3MiB/0.26s] Info from https://repo.packagist.org: #StandWithUkraine
[66.0MiB/8.19s] Updating dependencies
[84.8MiB/8.63s] Your requirements could not be resolved to an installable set of packages.
[84.8MiB/8.63s]
Problem 1
- Root composer.json requires composer-runtime-api ^1.0, found composer-runtime-api[2.2.2] but it does not match the constraint.
Problem 2
- Root composer.json requires oveleon/contao-cookiebar ^1.13 -> satisfiable by oveleon/contao-cookiebar[1.13.0, 1.13.1].
- oveleon/contao-cookiebar[1.13.0, ..., 1.13.1] require contao/core-bundle ^4.9.28 -> found contao/core-bundle[4.9.28, ..., 4.13.30] but these were not loaded, likely because it conflicts with another require.
[84.8MiB/8.63s] <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.66s] Memory usage: 38.18MB (peak: 186.33MB), time: 8.68s.
[38.2MiB/8.66s] Finished Composer Cloud resolving.
# Cloud Job ID 1BNMjJ4FxbGiMHczKHEZJNgCx5gXjre4Wq7QuTtrXzSCBZqZZTrDnibe6VWum6jBvgmzKtJ75sCjXshYUDyoPGSOnVb61AT0ciEXAdCubeyKty failed
Liste der Anhänge anzeigen (Anzahl: 1)
Zitat:
Zitat von
LenaMaurer
PHP-Code:
codefog/contao-cookiebar is locked to version 2.2.1 and an update of this package was not requested.
Du nutzt immer noch die alte composer.json, welche du gepostet hast.
Ziehe dir bitte vorher ein Backup für die nachfolgenden Änderungen, wenn du nicht vertraut mit composer.lock bist.
(Falls doch, dann diese einmal runterladen... denn über Kommandozeile kannst du mit dieser composer.lock über composer install alles wiederherstellen... Kein Backup, kein Sorry ist hier immer mein Gedanke)
Entferne bitte die cookiebar von codefog und führe danach bitte eine vollständige Paketaktualisierung durch:
Im Contao-Manager:
Anhang 26672
Über Kommandozeile:
PHP-Code:
composer update