cancel
Showing results for 
Search instead for 
Did you mean: 

Error Upgrade Magento from 2.4.4-p2 to 2.4.6

Re: Error Upgrade Magento from 2.4.4-p2 to 2.4.6

Hello @aghezzisec1096 ,

The error message you encountered indicates a dependency conflict between the required version of
colinmollenhour/credis specified by Magento 2.4.6 and the version specified in your root composer.json file.

 

Here's how you can resolve this issue:

 

Update composer.json: You need to update the version constraint for colinmollenhour/credis in your root composer.json file to match the version required by Magento 2.4.6. Since Magento 2.4.6 requires version ^1.13 of colinmollenhour/credis, you should update your composer.json to reflect this:

"require": {

        "colinmollenhour/credis": "^1.13"

       }


Run Composer Update Again: After updating your composer.json file, run the composer update command again to resolve dependencies:

composer update --ignore-platform-reqs

After the update process is complete, verify that all dependencies are resolved and that there are no further conflicts.
Ensure that your Magento instance is functioning correctly by testing various functionalities, including frontend, backend, and any custom features or extensions.
By following these steps, you should be able to resolve the dependency conflict and successfully upgrade Magento from version 2.4.4-p2 to version 2.4.6

If you have any questions, feel free to contact us.


Re: Error Upgrade Magento from 2.4.4-p2 to 2.4.6

Hello @aghezzisec1096 

The error message you encountered indicates a dependency conflict between the required version of 
colinmollenhour/credis specified by Magento 2.4.6 and the version specified in your root composer.json file.

 

Here's how you can resolve this issue:

 

Update composer.json: You need to update the version constraint for colinmollenhour/credis in your root composer.json file to match the version required by Magento 2.4.6. Since Magento 2.4.6 requires version ^1.13 of colinmollenhour/credis, you should update your composer.json to reflect this:

"require": {        "colinmollenhour/credis": "^1.13"       }


Run Composer Update Again: After updating your composer.json file, run the composer update command again to resolve dependencies:

composer update --ignore-platform-reqs

After the update process is complete, verify that all dependencies are resolved and that there are no further conflicts.
Ensure that your Magento instance is functioning correctly by testing various functionalities, including frontend, backend, and any custom features or extensions.
By following these steps, you should be able to resolve the dependency conflict and successfully upgrade Magento from version 2.4.4-p2 to version 2.4.6

If you have any questions, feel free to contact us.

Re: Error Upgrade Magento from 2.4.4-p2 to 2.4.6

@aghezzisec1096 
Hey,
Copy the contents from require-dev section and paste them into your root composer.json file then run the composer update --ignore-platform-reqs command it will run.
Make sure your composer version is as per system requirement from Adobe and also the php version is same
.
https://experienceleague.adobe.com/docs/commerce-operations/installation-guide/system-requirements.h...

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.