Fix typo app/config/local/app.php
Disable debug app/config/app.php
Update environment detection