Cause

After July 2022 Composer changes the default value of the allow-plugins option to {} and plugins will not load anymore unless allowed.

Solution

Add the following to your composer.json file, depending on how you installed Adobe Commerce:

  • If the project has been created using the composer create-project command:

    "config": {
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "laminas/laminas-dependency-plugin": true,
            "magento/*": true
        }
    }
    
  • If the project has been created by another way and does not have "dealerdirect/phpcodesniffer-installer" in "require-dev" section:

    "config": {
        "allow-plugins": {
            "laminas/laminas-dependency-plugin": true,
            "magento/*": true
        }
    }
    

After updating the composer.json file, run the composer update command and restart the upgrade process.

Previous pageRedis issue delay Commerce Admin login or checkout
Next pagePHP mcrypt extension not installed properly

Commerce


Connect with Experience League at Summit!

Get front-row access to top sessions, hands-on activities, and networking—wherever you are!

Learn more