2

The compile command suddenly stops, but there is no error.

[~/public_html]# php bin/magento setup:di:compile -vvv
Compilation was started.
Repositories code generation... 1/7 [====>-----------------------]  14% 1 sec 198.5 
[~/public_html]#
  • I set all permissions to 777
  • Set mode to "developer"

How can I find the error and fix it?

  • Rick, did you find a sollution? I'm facing the same.... – Jilco Tigchelaar Nov 23 '17 at 9:43
  • No sorry... still no solution :( – Rick Nov 28 '17 at 8:43
1

In app/bootstrap.php (line 11). Enable ini_set('display_errors', 1);

Then run setup:di:compile again, you will see detail error message. It's already tested.

  • display_errors is 1 on mine - no error – Scott Mar 11 at 19:12
0

I found the problem! I installed al the modules from my life environment into a test and there an error appeared (in development mode). A module was corrupt, so i uninstalled the module and the problem was gone...

  • Where did you find the problem? In a file? In your browser? – Rick Nov 30 '17 at 10:32
  • In ssh when site is in development mode, it displays the errors then – Jilco Tigchelaar Dec 1 '17 at 11:10
  • Sadly, that's not the case with my Magento 2 installation. I'm in development mode, but no errors :( – Rick Dec 1 '17 at 13:40

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.