- Issue created by @bart lambert
- 🇮🇳India vinayakmk47
The error indicates a conflict between the Image Effects module (version 4.0.0) and the Color Backport module (drupal/color, version 1.0.3). This happens because the two modules have incompatible dependencies or explicitly declare conflicts.
Steps to Resolve
1. Identify Compatible Versions
Check the release notes and documentation for both modules to identify compatible versions.
Visit the module pages:
Image Effects module
Color Backport module
Determine if downgrading or upgrading either module resolves the conflict.
2. Resolve the Conflict with ComposerOption 1: Use an Alternative Version If there is a known compatible version of the Color Backport module that works with Image Effects 4.0.0, specify it in your composer.json:
composer require drupal/color:1.0.2
Then, retry installing Image Effects:
composer require drupal/image_effects:^4.0
Option 2: Temporarily Remove the Conflicting Module If the Color Backport module is not critical, uninstall and remove it before updating Image Effects:
drush pmu color
composer remove drupal/color
composer require drupal/image_effects:^4.0After updating, check if you can reinstall a compatible version of Color Backport.
- 🇧🇪Belgium ericvl
Try
composer require "drupal/image_effects":"^4.0" "drupal/color":"^2.0" -W
- 🇧🇪Belgium bart lambert
That was helpfull!!!! this was the way to go!! Thanks!!!
- 🇧🇪Belgium ericvl
You're welcome.
Check also my comment in this comment 🐛 TypeError in using Textoverlay Active if you don't want the issue that I had with the Textoverlay function. The comment is from yesterday and should still be implemented. - 🇺🇸United States dasginganinja Bethlehem, PA
This is a big issue for me. I would love to upgrade to this module and get up to Drupal 11.
Color module is not tagged for a 2.x release so this module brings in a dev-release for color.
Correct me if I'm stepping out of bounds, but it feels incredibly wrong that this module is recommending a dev- module as a dependency for its recommended release...
Thanks.
- 🇮🇹Italy mondrake 🇮🇹
From the release note:
Known issues
- The Color backport → module does not have a Drupal 11 compatible release yet. If you are using the Farbtastic plugin for color selection, the 2.x-dev branch was tested and seems to work fine. If no Drupal 11 compatible release comes earlier, the Farbtastic plugin will be removed in next minor of Image Effects.
Where do you see a recommendation to use the dev version?
You can:
- change the color selector plugin from Farbtastic to HTML via the config UI
- upgrade to 4.0.0
The reason why 4.0.0 is still kind of working with the Farbtastic plugin is that there were people using it, but given that Color backport is nowhere, support will be removed in 4.1.0. Hopefully everyone will have moved away (given the release notes...) by that time.
- 🇮🇹Italy mondrake 🇮🇹
Filed 📌 Remove the Farbtastic color selector plugin Active .
- 🇮🇹Italy mondrake 🇮🇹
Please try the beta of the 4.1 release.
https://www.drupal.org/project/image_effects/releases/4.1.0-beta1 →
- 🇺🇸United States dasginganinja Bethlehem, PA
I can test for my use case on 10 if you change the composer targets. @mondrake