How to turn on PHP error reporting?
Permalink
I want to turn on full PHP error reporting but where is the appropriate place to set this? I couldn't find anything in the documentation and I've tried setting error_reporting(E_ALL) in index.php, but it seems to be overridden somewhere else.
I'm trying to create a new service provider but when I set the path in config\app.php I get a blank page with no errors, so something must be going wrong somewhere but I can't figure out where.
I'm trying to create a new service provider but when I set the path in config\app.php I get a blank page with no errors, so something must be going wrong somewhere but I can't figure out where.
Thanks for the suggestion. I tried installing it but it failed saying it requires concrete5 8.0.0 beta3 or later. I checked my environment and it says I have concrete5 8.3.2.
In the Debug Settings in the dashboard, I turned on display errors and error detail and this is providing a good solution for now while in development. The debug error output is a nice feature really. However, I wish I could control this more because I'd like to hide error messages from everyone except me as the admin.
I recommend WarningsLog by community member mlocati.
https://github.com/mlocati/warnings_log...