Skip to content

Upgrading issue from 2.4.2 to 2.4.6 issue

I’m looking to upgrade my store from 2.4.2 to 2.4.6, I see it’s require PHP version 8.2.
So I’ve upgraded my php version then I run composer require magento/composer-root-update-plugin ~2.0 --no-update but I got the following error :

The "laminas/laminas-dependency-plugin" plugin was skipped because it requires a Plugin API version (">=1.1.0 <2.3.0") that does not match your Composer installation ("2.6.0"). You may need to run composer update with the "--no-plugins" option.

Then I’ve trying with the suggested command composer update --no-plugins but I got the following error :

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires mageplaza/module-free-shipping-bar ^4.0, found mageplaza/module-free-shipping-bar[4.0.3] in the lock file but not in remote repositories, make sure you avoid updating this package to keep the one from the lock file.
  Problem 2
    - Root composer.json requires mageplaza/module-special-promotions ^4.0, found mageplaza/module-special-promotions[4.0.3] in the lock file but not in remote repositories, make sure you avoid updating this package to keep the one from the lock file.
  Problem 3
    - Root composer.json requires mageplaza/module-store-credit ^4.0, found mageplaza/module-store-credit[4.0.3] in the lock file but not in remote repositories, make sure you avoid updating this package to keep the one from the lock file.
  Problem 4
    - Root composer.json requires aramex/shipping 1.1.5 -> satisfiable by aramex/shipping[1.1.5].
    - aramex/shipping 1.1.5 requires php ~5.6.0|7.0.2|7.0.4|~7.0.6|~7.1.0|~7.1.3|~7.2.0|~7.3.0|~7.3.1|~7.3.2|~7.3.3|~7.3.4|~7.3.5|~7.3.6|~7.3.7|~7.3.8|~7.3.9|~7.3.10|~7.3.11|~7.4.0|~7.4.1|~7.4.2|~7.4.3|~7.4.4|~7.4.5|~7.4.6|~7.4.7 -> your php version (8.2.27) does not satisfy that requirement.
  Problem 5
    - Root composer.json requires magento/product-community-edition 2.4.2 -> satisfiable by magento/product-community-edition[2.4.2].
    - magento/product-community-edition 2.4.2 requires php ~7.3.0||~7.4.0 -> your php version (8.2.27) does not satisfy that requirement.
  Problem 6
    - Root composer.json requires friendsofphp/php-cs-fixer ~2.16.0 -> satisfiable by friendsofphp/php-cs-fixer[v2.16.0, ..., v2.16.10].
    - friendsofphp/php-cs-fixer[v2.16.0, ..., v2.16.10] require php ^5.6 || ^7.0 -> your php version (8.2.27) does not satisfy that requirement.
    - friendsofphp/php-cs-fixer v2.16.6 requires php ^7.0 -> your php version (8.2.27) does not satisfy that requirement.
    - friendsofphp/php-cs-fixer v2.16.7 requires php ^7.1 -> your php version (8.2.27) does not satisfy that requirement.

Could you please advise what I’ve to do ?

Thanks in advance.