1

I am trying to upgrade Magento from 2.3.6 to 2.44 using this link https://magecomp.com/blog/upgrade-magento-version-from-2-3-to-2-4/, Now issue is that Magento 2.4.4. requires PHP 7.4 and Magento 2.3.6 works on PHP 7.3. I have installed PHP 7.4 before upgrading but when I run the composer update command. I face this issue:

**- sw/theme-conserva 1.0.0 requires php ~7.2.0||~7.3.0 -> your PHP version (7.4.30) does not satisfy that requirement.**

Any Solution?

1
  • 1
    Since Magento 2.4.4 requires PHP 8.1. You can use flag --ignore-platform-reqs for composer to ignore this message, but I suggest to review installed extension and remove/replace outdated (not compatible) Aug 15, 2022 at 8:31

2 Answers 2

0

The error message is clear that your theme "conserva" is not compatible with PHP 7.4. So these are the steps to resolve the issue:

  1. Upgrade the code of that theme to be PHP 7.4 compatible
  2. Update the theme's composer.json file to reflect the new compatibility
  3. Continue your upgrade
3
  • Hey Thanks, that issue is resolved but now facing a new error. Please take a look. - magento/product-enterprise-edition 2.3.6-p1 requires php ~7.1.3||~7.2.0||~7.3.0 -> your PHP version (7.4.30) does not satisfy that requirement. Aug 15, 2022 at 9:55
  • @RalphRhodes That is the exact same problem, with the exact same step to resolve.
    – dotancohen
    Aug 15, 2022 at 10:25
  • No, that's a theme but I can't find any file with the same name in magento folder. I tried Aug 15, 2022 at 10:53
0

I am assuming sw/theme-conserva is your theme name. As a result, I recommend installing your theme in the most recent version of Magento 2.4.4, or you can remove sw/theme-conserva from your composer.json file and re-run the composer update command.

To upgrade Magento from a lower version to a higher version, you need to setup PHP version 8.1 for Magento 2.4.4.

If you want to upgrade Magento without any issues, you can use a flag like below.

composer update --ignore-platform-reqs

Also, for my full answer, check the link.

https://magento.stackexchange.com/a/319194/85907

https://github.com/magento/magento2/issues/29350

THANKS.

4
  • - magento/magento-cloud-metapackage 2.3.6 requires magento/product-enterprise-edition >=2.3.6 <2.3.7 -> satisfiable by magento/product-enterprise-edition[2.3.6-p1, 2.3.6] but these conflict with your requirements or minimum-stability. - magento/magento-cloud-metapackage 2.3.6 requires magento/product-enterprise-edition >=2.3.6 <2.3.7 -> satisfiable by magento/product-enterprise-edition[2.3.6-p1, 2.3.6] but these conflict with your requirements or minimum-stability. Aug 15, 2022 at 12:11
  • - Installation request for magento/magento-cloud-metapackage >=2.3.6 <2.3.7 -> satisfiable by magento/magento-cloud-metapackage[2.3.6]. Aug 15, 2022 at 12:12
  • I am getting above errors even after using the same methods of ignore plateform Aug 15, 2022 at 12:13
  • check this link. github.com/magento/magento2/issues/29350 Aug 15, 2022 at 12:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.