我要将磁电机版本从2.2.6升级到2.3.0。我在核心模块magento/module-sales
上遇到问题。下面有错误。
您的要求无法解决为一组可安装的软件包。
问题1
- 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.20) does not satisfy that requirement.
- magento/module-sales 100.1.11 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.20) does not satisfy that requirement.
- magento/module-sales 100.1.10 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.20) does not satisfy that requirement.
- magento/module-sales 100.1.9 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.20) does not satisfy that requirement.
- magento/module-sales 100.1.8 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.20) does not satisfy that requirement.
- magento/module-sales 100.1.7 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.20) does not satisfy that requirement.
- magento/module-sales 100.1.6 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.20) does not satisfy that requirement.
- magento/module-sales 100.1.5 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.20) does not satisfy that requirement.
- magento/module-sales 100.1.4 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.20) does not satisfy that requirement.
- magento/module-sales 100.1.3 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.20) does not satisfy that requirement.
- magento/module-sales 100.1.2 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.20) does not satisfy that requirement.
- magento/module-sales 100.1.1 requires php ~5.6.0|7.0.2|~7.0.6 -> your PHP version (7.1.20) does not satisfy that requirement.
- magento/module-sales 100.1.0 requires php ~5.6.0|7.0.2|~7.0.6 -> your PHP version (7.1.20) does not satisfy that requirement.
- magento/module-sales 100.1.0-rc3 requires php ~5.6.0|7.0.2|~7.0.6 -> your PHP version (7.1.20) does not satisfy that requirement.
- magento/module-sales 100.1.0-rc2 requires php ~5.5.22|~5.6.0|~7.0.0 -> your PHP version (7.1.20) does not satisfy that requirement.
- magento/module-sales 100.1.0-rc1 requires php ~5.5.22|~5.6.0|~7.0.0 -> your PHP version (7.1.20) does not satisfy that requirement.
- fooman/pdfcustomiser-m2 8.0.6 requires fooman/pdfcustomiser-implementation-m2 108.3.1 -> satisfiable by fooman/pdfcustomiser-implementation-m2[108.3.1].
- fooman/pdfcustomiser-m2 8.0.6 requires fooman/pdfcustomiser-implementation-m2 108.3.1 -> satisfiable by fooman/pdfcustomiser-implementation-m2[108.3.1].
- fooman/pdfcustomiser-implementation-m2 108.3.1 requires magento/module-sales ^100.1.0 | ^101.0.0 -> satisfiable by magento/module-sales[101.0.5, 100.1.0-rc1, 100.1.0-rc2, 100.1.0-rc3, 100.1.0, 100.1.1, 100.1.2, 100.1.3, 100.1.4, 100.1.5, 100.1.6, 100.1.7, 100.2.0-rc20, 101.0.0-rc21, 101.0.0-rc22, 101.0.0-rc23, 101.0.0-rc30, 100.1.8, 101.0.0, 101.0.1, 100.1.9, 100.1.10, 101.0.2, 100.1.11, 101.0.3, 101.0.4, 100.1.12, 100.1.13, 101.0.6].
- fooman/pdfcustomiser-implementation-m2 108.3.1 requires magento/module-sales ^100.1.0 | ^101.0.0 -> satisfiable by magento/module-sales[101.0.5, 100.1.0-rc1, 100.1.0-rc2, 100.1.0-rc3, 100.1.0, 100.1.1, 100.1.2, 100.1.3, 100.1.4, 100.1.5, 100.1.6, 100.1.7, 100.2.0-rc20, 101.0.0-rc21, 101.0.0-rc22, 101.0.0-rc23, 101.0.0-rc30, 100.1.8, 101.0.0, 101.0.1, 100.1.9, 100.1.10, 101.0.2, 100.1.11, 101.0.3, 101.0.4, 100.1.12, 100.1.13, 101.0.6].
- Can only install one of: magento/module-sales[102.0.0, 101.0.5].
- Can only install one of: magento/module-sales[102.0.0, 101.0.0-rc21].
- Can only install one of: magento/module-sales[102.0.0, 101.0.0-rc22].
- Can only install one of: magento/module-sales[102.0.0, 101.0.0-rc23].
- Can only install one of: magento/module-sales[102.0.0, 101.0.0-rc30].
- Can only install one of: magento/module-sales[102.0.0, 101.0.0].
- Can only install one of: magento/module-sales[102.0.0, 101.0.1].
- Can only install one of: magento/module-sales[102.0.0, 101.0.2].
- Can only install one of: magento/module-sales[102.0.0, 101.0.3].
- Can only install one of: magento/module-sales[102.0.0, 101.0.4].
- Can only install one of: magento/module-sales[102.0.0, 101.0.5].
- Can only install one of: magento/module-sales[102.0.0, 101.0.6].
- Can only install one of: magento/module-sales[102.0.0, 100.2.0-rc20].
- Can only install one of: magento/module-sales[102.0.0, 100.1.13].
- magento/product-community-edition 2.3.0 requires magento/module-sales 102.0.0 -> satisfiable by magento/module-sales[102.0.0].
- Installation request for magento/product-community-edition 2.3.0 -> satisfiable by magento/product-community-edition[2.3.0].
- Installation request for fooman/pdfcustomiser-m2 ^8.0 -> satisfiable by fooman/pdfcustomiser-m2[8.0.6].</pre>
请帮助我如何解决。 谢谢
答案 0 :(得分:0)
我认为问题是由于您当前的PHP版本引起的。 尝试使用PHP 7.2版本进行升级。
答案 1 :(得分:0)
我有同样的问题。
答案 2 :(得分:0)
问题是由于自定义模块composer.json引起的。
请在 app 文件夹 5.6.5 | 7.0.2 | 7.0.4 |〜7.0.6
内找到关键字然后,您可以找到带有旧composer.json的自定义模块的列表,因此找到后,您需要在modules文件夹内手动更新这些composer.json。
例如: app / code / VendorName / ModuleName / composer.json
重击。谢谢。