1

Yesterday I run the command:

sudo -u magento bin/magento setup:di:compile

And I've got a strange error, the site seems to be running 100% but before Yesterday I didn't use to get any error during compilation.

Is there any known issue about that? Magento version 2.0.7.

See image below: enter image description here

3
  • Is it possible there is a permissions problem ? Commented Jul 6, 2016 at 17:17
  • Before to run the di:compile I made sure that the permissions and file ownership are right.
    – user37025
    Commented Jul 6, 2016 at 17:21
  • Looks like class ' ' (a whitespace) is defined somewhere (or something interpreted as a whitespace). Is it possible for you to review recent changes in di.xml files or calls to object manager, of any? Or run the command with -vvv , identify where it comes from and see if there is something suspicious there (or debug if possible)
    – BuskaMuza
    Commented Jul 8, 2016 at 6:03

1 Answer 1

-2

If it is not too late, you may try cli with -vvv params.

sudo -u magento bin/magento setup:di:compile -vvv
2
  • What is use of -vvv parameter? Commented Jul 26, 2017 at 7:16
  • This will give a Stack Trace which could give a hint where exactly the error is. Commented Aug 1, 2017 at 5:53

Your Answer

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

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