Hi everyone, I've been using magento2 for a few months but I'm having trouble understanding how to update.
Could anyone help me understand what this error means and how to fix it? BUT Upgrade should not install all updates automatically?
php bin/magento maintenance:enable
composer require magento/product-community-edition 2.4.6 --no-update
composer update --ignore-platform-reqs
>>>>
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
In Laminas\DependencyPlugin\DependencyRewriterV2:nPrePoolCreate
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires magento/product-community-edition 2.4.6 -> satisfiable by magento/product-community-edition[2.4.6].
- magento/product-community-edition 2.4.6 requires colinmollenhour/credis ^1.13 -> found colinmollenhour/credis[v1.13.0, v1.13.1, v1.14.0] but it conflicts with your root composer.json require (1.12.1).
>>>>
Thansk Alessandro
Hello @aghezzisec1096
Please follow the steps below:
Please delete composer.lock file (Please make sure to keep a backup).
Please try updating using the following command:
composer require magento/product-community-edition 2.4.6 -W
If you find our reply helpful, please give us kudos.
A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.
WebDesk Solution Support Team
Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Thank You,
WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Location: 150 King St. W. Toronto, ON M5H 1J9