Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is the information on Laravel's error screen hidden?

Tags:

php

laravel

I took over a Laravel 5.5 project, and there is something going on that I have never encountered - the content on the error reporting screen is all replaced by stars.

enter image description here

I don't know what the previous devs did to accomplish this, but obviously I want to be able to see this info. The .env content seems fairly obvious:

APP_ENV=local
APP_HOST=http://localhost
APP_DEBUG=true
APP_TESTMODE=false
APP_CACHE_ENABLED=true

Other than that, there are API keys for Stripe, AWS etc, but nothing that would presume to block me from viewing the info on the error screen.

Why is this problem occurring and how can I fix it?

like image 633
sveti petar Avatar asked Oct 15 '22 03:10

sveti petar


1 Answers

You probably have the debug_blacklist set, as seen in the documentation

Simply remove the debug_blacklist array from your config/app.php configuration file and the values will reveal.

like image 88
Christophe Hubert Avatar answered Oct 19 '22 00:10

Christophe Hubert