I did an upgrade from Magento 2.1.10 to 2.2.1, after some known issues the site is up again.

When I run a command setup:di:compile the compilation seems to be broken (see picture below). Also the var/di folder is empty.

How can I tackle this problem, or is DI not necessary any more in Magento 2.2?

I dids


It happens when you have an error in one of your modules, would suggest to display error using /app/bootstrap.php

ini_set('display_errors', 1);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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