Composer reports a version conflict
Symptom
Your developer installs or updates EU Withdrawal, and Composer stops without changing anything. It reports that the requirements could not be resolved, and names an EU Withdrawal package, MageMe Core, PHP or a Hyvä package as the problem. The store keeps running the version it had before.
Checks
Your developer reads the lines of the Composer message that name a package and a version. Each check below matches one kind of line. Versions are as of EU Withdrawal 1.2.0.
- Look for a line about PHP. The server runs PHP 8.1, 8.2, 8.3, 8.4 or 8.5.
- Look for a line about
mageme/module-core. MageMe Core 2.2 or later can be installed. Another MageMe module on the store doesn't hold it at an older version. - Look for a line about
mageme/module-eu-withdrawal-hyva. The Hyvä package is updated in the same go as the free module. EU Withdrawal 1.2.0 doesn't install next to a Hyvä package older than 1.1.0, and Hyvä package 1.1.0 needs EU Withdrawal 1.2.0 or later. - Look for a line about
mageme/module-eu-withdrawal-auto-approve. Auto-Approve is updated in the same go. EU Withdrawal 1.2.0 doesn't install next to Auto-Approve older than 1.0.3, and Auto-Approve 1.0.3 needs EU Withdrawal 1.2.0 or later and Audit 1.0.7 or later. - Look for a line about
hyva-themes/magento2-theme-module. The Hyvä theme module is 1.3.11 or later. The Hyvä packages of EU Withdrawal need it.
Expected result
Composer finishes without an error, and the version at the top of Stores → Configuration → MageMe Extensions → EU Withdrawal shows the new number.
Fix
- If check 1 failed: ask your host to move the store to a PHP version from the list, one your Magento version supports too. See Compatibility.
- If check 2 failed: update MageMe Core together with EU Withdrawal. If another MageMe module holds MageMe Core at an older version, update that module first.
- If check 3 or 4 failed: update all EU Withdrawal packages and MageMe Core in one command, not one by one. The command is in step 1 of Updating, disabling and removing.
- If check 5 failed: update the Hyvä theme module first, then update EU Withdrawal.
If none of the checks helped, send MageMe support the full Composer message and the list of MageMe packages on the store.
Related
- Updating, disabling and removing: the update command that updates all packages together.
- Installation: the packages to install for the free module, Hyvä and Pro.
- Compatibility: the Magento and PHP versions the module supports.
Was this page helpful?