0

When upgrading Magento 2.2 to 2.3, I am using php 7.1

However, during the readiness check, I am getting these errors:

magento/module-sales 100.1.12 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.26) does not satisfy that requirement.

If it requires atleast 7.1, how come its telling me it now requires php 7.0 for some modules??

asked Jan 26, 2019 at 22:31

1 Answer 1

1

This must be an issue with your third party extension. So the best thing is to look for that third party extension's composer.json file and find required php version, if your current php version is not available in "require" then please add it.

refer like below:

"require": {
 "php": "~5.6.0|7.0.2|7.0.4|~7.0.6|~7.1.26"
 },
answered Jan 26, 2019 at 22:42
4
  • its not a third party because the module is magento/module-sales....i tried adding your line into the composer.json file of vendor/magento/module-sales but I am still getting the same error Commented Jan 26, 2019 at 23:16
  • I mean you might have a third party extension that uses or has dependencies on module-sales that would probably include it on its composer json require. Commented Jan 26, 2019 at 23:18
  • 2
    You probably have a 3rd party module that requires module-sales in 100.* version. Magento 2.3 sets module-sales at 102.0.0. So check in composer.lock for module-sales and see which other package requires it in 100.* version. Then update that package or remove it if there is no working version for Magento 2.3 Commented Jan 27, 2019 at 0:28
  • You are correct. A third party module was interfering with the upgrade. I uninstalled the module and that fixed that problem. Now I have another problem. Magento upgrades suck! Commented Jan 27, 2019 at 3:42

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.