Skip to main content
2 of 3
added 3122 characters in body
Coen Ponsen
  • 253
  • 2
  • 16

Update Magento 2.2.7 -> 2.3.0 trows error

I am trying to update Magento 2.2.7 to 2.3.0:

composer require magento/product-community-edition:2.3.0 --no-update
composer update

However a strange error is trown:

./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - magento/module-theme 100.1.12 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.16) does not satisfy that requirement.
    - magento/module-theme 100.1.11 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.16) does not satisfy that requirement.
    - magento/module-theme 100.1.10 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.16) does not satisfy that requirement.
    - magento/module-theme 100.1.9 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.16) does not satisfy that requirement.
    - magento/module-theme 100.1.8 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.16) does not satisfy that requirement.
    - magento/module-theme 100.1.7 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.16) does not satisfy that requirement.
    - magento/module-theme 100.1.6 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.16) does not satisfy that requirement.
    - magento/module-theme 100.1.5 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.16) does not satisfy that requirement.
    - magento/module-theme 100.1.4 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.16) does not satisfy that requirement.
    - magento/module-theme 100.1.3 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.16) does not satisfy that requirement.
    - magento/module-theme 100.1.2 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.16) does not satisfy that requirement.
    - magento/module-theme 100.1.1 requires php ~5.6.0|7.0.2|~7.0.6 -> your PHP version (7.1.16) does not satisfy that requirement.
    - magento/module-theme 100.1.0 requires php ~5.6.0|7.0.2|~7.0.6 -> your PHP version (7.1.16) does not satisfy that requirement.
    - magento/module-theme 100.1.0-rc3 requires php ~5.6.0|7.0.2|~7.0.6 -> your PHP version (7.1.16) does not satisfy that requirement.
    - magento/module-theme 100.1.0-rc2 requires php ~5.5.22|~5.6.0|~7.0.0 -> your PHP version (7.1.16) does not satisfy that requirement.
    - magento/module-theme 100.1.0-rc1 requires php ~5.5.22|~5.6.0|~7.0.0 -> your PHP version (7.1.16) does not satisfy that requirement.
    - magento/module-theme 100.0.10 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.16) does not satisfy that requirement.
    - magento/module-theme 100.0.9 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.16) does not satisfy that requirement.
    - magento/module-theme 100.0.8 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.16) does not satisfy that requirement.
    - magento/module-theme 100.0.7 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.16) does not satisfy that requirement.
    - magento/module-theme 100.0.6 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.16) does not satisfy that requirement.
    - magento/module-theme 100.0.5 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.16) does not satisfy that requirement.
    - magento/module-theme 100.0.4 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.16) does not satisfy that requirement.
    - magento/module-theme 100.0.3 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.16) does not satisfy that requirement.
    - magento/module-theme 100.0.2 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.16) does not satisfy that requirement.
    - weltpixel/module-google-tag-manager 1.6.4 requires magento/module-theme 100.* -> satisfiable by magento/module-theme[100.2.5, 100.0.2, 100.0.3, 100.0.4, 100.0.5, 100.1.0-rc1, 100.1.0-rc2, 100.1.0-rc3, 100.1.0, 100.0.6, 100.1.1, 100.1.2, 100.1.3, 100.0.7, 100.1.4, 100.0.8, 100.1.5, 100.1.6, 100.2.0-rc20, 100.2.0-rc21, 100.2.0-rc22, 100.2.0-rc23, 100.2.0-rc30, 100.1.7, 100.0.9, 100.2.0, 100.0.10, 100.2.1, 100.1.8, 100.1.9, 100.2.2, 100.2.3, 100.1.10, 100.2.4, 100.1.11, 100.1.12, 100.2.6, 100.1.13, 100.2.7].
    - weltpixel/module-google-tag-manager 1.6.4 requires magento/module-theme 100.* -> satisfiable by magento/module-theme[100.2.5, 100.0.2, 100.0.3, 100.0.4, 100.0.5, 100.1.0-rc1, 100.1.0-rc2, 100.1.0-rc3, 100.1.0, 100.0.6, 100.1.1, 100.1.2, 100.1.3, 100.0.7, 100.1.4, 100.0.8, 100.1.5, 100.1.6, 100.2.0-rc20, 100.2.0-rc21, 100.2.0-rc22, 100.2.0-rc23, 100.2.0-rc30, 100.1.7, 100.0.9, 100.2.0, 100.0.10, 100.2.1, 100.1.8, 100.1.9, 100.2.2, 100.2.3, 100.1.10, 100.2.4, 100.1.11, 100.1.12, 100.2.6, 100.1.13, 100.2.7].
    - Can only install one of: magento/module-theme[101.0.0, 100.1.13].
    - Can only install one of: magento/module-theme[101.0.0, 100.2.5].
    - Can only install one of: magento/module-theme[101.0.0, 100.2.0-rc20].
    - Can only install one of: magento/module-theme[101.0.0, 100.2.0-rc21].
    - Can only install one of: magento/module-theme[101.0.0, 100.2.0-rc22].
    - Can only install one of: magento/module-theme[101.0.0, 100.2.0-rc23].
    - Can only install one of: magento/module-theme[101.0.0, 100.2.0-rc30].
    - Can only install one of: magento/module-theme[101.0.0, 100.2.0].
    - Can only install one of: magento/module-theme[101.0.0, 100.2.1].
    - Can only install one of: magento/module-theme[101.0.0, 100.2.2].
    - Can only install one of: magento/module-theme[101.0.0, 100.2.3].
    - Can only install one of: magento/module-theme[101.0.0, 100.2.4].
    - Can only install one of: magento/module-theme[101.0.0, 100.2.5].
    - Can only install one of: magento/module-theme[101.0.0, 100.2.6].
    - Can only install one of: magento/module-theme[101.0.0, 100.2.7].
    - magento/product-community-edition 2.3.0 requires magento/module-theme 101.0.0 -> satisfiable by magento/module-theme[101.0.0].
    - Installation request for magento/product-community-edition 2.3.0 -> satisfiable by magento/product-community-edition[2.3.0].
    - Installation request for weltpixel/module-google-tag-manager ^1.6 -> satisfiable by weltpixel/module-google-tag-manager[1.6.4].

My composer.json:

{
"name": "magento/project-community-edition",
"description": "eCommerce Platform for Growth (Community Edition)",
"type": "project",
"version": "2.2.7",
"license": [
    "OSL-3.0",
    "AFL-3.0"
],
"require": {
    "magento/product-community-edition": "2.3.0",
    "composer/composer": "@alpha",
    "mageplaza/magento-2-dutch-language-pack": "dev-master",
    "mageplaza/module-core": "^1.3",
    "mollie/mollie-api-php": "^1.9",
    "fooman/pdfcustomiser-m2": "^8.0",
    "myparcelnl/magento": "~2.3.3-beta.2",
    "myparcelnl/sdk": "~v1.3.8",
    "mollie/magento2": "^1.2",
    "weltpixel/module-google-tag-manager": "^1.6",
    "aheadworks/module-onestepcheckout": "1.2.0",
    "wyomind/datafeedmanager": "11.5.2",
    "magepal/magento2-gmailsmtpapp": "^2.5",
    "amasty/shopby": "^2.9"
},
"require-dev": {
    "phpunit/phpunit": "~6.2.0",
    "squizlabs/php_codesniffer": "3.1.1",
    "phpmd/phpmd": "@stable",
    "pdepend/pdepend": "2.5.0",
    "friendsofphp/php-cs-fixer": "~2.2.0",
    "lusitanian/oauth": "~0.8.10",
    "sebastian/phpcpd": "2.0.4"
},
"autoload": {
    "psr-4": {
        "Magento\\Framework\\": "lib/internal/Magento/Framework/",
        "Magento\\Setup\\": "setup/src/Magento/Setup/",
        "Magento\\": "app/code/Magento/"
    },
    "psr-0": {
        "": [
            "app/code/"
        ]
    },
    "files": [
        "app/etc/NonComposerComponentRegistration.php"
    ],
    "exclude-from-classmap": [
        "**/dev/**",
        "**/update/**",
        "**/Test/**"
    ]
},
"autoload-dev": {
    "psr-4": {
        "Magento\\Sniffs\\": "dev/tests/static/framework/Magento/Sniffs/",
        "Magento\\Tools\\": "dev/tools/Magento/Tools/",
        "Magento\\Tools\\Sanity\\": "dev/build/publication/sanity/Magento/Tools/Sanity/",
        "Magento\\TestFramework\\Inspection\\": "dev/tests/static/framework/Magento/TestFramework/Inspection/",
        "Magento\\TestFramework\\Utility\\": "dev/tests/static/framework/Magento/TestFramework/Utility/"
    }
},
"minimum-stability": "stable",
"extra": {
    "magento-force": "override"
},
"repositories": {
    "wyomind": {
        "type": "composer",
        "url": "https://repo.wyomind.com"
    },
    "aheadworks": {
        "type": "composer",
        "url": "https://dist.aheadworks.com"
    },
    "fooman": {
        "type": "composer",
        "url": "{repo-link-removed-for-security-reasons}"
    },
    "magento": {
        "type": "composer",
        "url": "https://repo.magento.com"
    },
    "amasty": {
        "type": "composer",
        "url": "https://composer.amasty.com/community/"
    }
}

}

It seems the installer tries to install old packages. We are using PHP 7.1. Can anybody help out?

Coen Ponsen
  • 253
  • 2
  • 16