I have a laravel 5.2 application which is displaying the typical 'Whoops, something went wrong' PDO error when it can't connect to the database (which includes the IP of the DB and the username/password).
In my app.php file I've got:
'debug' => false,
I've also tried clearing my cache on the server to see if it was still stuck on debugging, but that didn't do anything.
Any help with how to stop this would be greatly appreciated.
I think I've finally got an answer...
Turns out I cached it using
php artisan config:cache
so I cleared it and now it works. I feel like a bit of an idiot after that..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With