heroku-wp icon indicating copy to clipboard operation
heroku-wp copied to clipboard

Error logs not showing

Open little-gui opened this issue 5 years ago • 3 comments

After setting heroku config DEBUG=TRUE I haven't found were errors are logged, tried looking at heroku logs, installing Sentry addon and adding to PHP.ini the following:

log_errors = on
error_log = syslog
opcache.error_log=

Is it possible to see errors happening on heroku?

little-gui avatar Feb 18 '20 16:02 little-gui

+1

janoist1 avatar Jul 08 '20 18:07 janoist1

@little-gui have you managed to resolve this ?

Update:

ini_set('display_errors', '1');
ini_set('display_startup_errors', '1');
error_reporting(E_ALL);

Placing the above into functions.php worked for me.

janoist1 avatar Jul 13 '20 11:07 janoist1

@janoist1 Yes, thank you

little-gui avatar Jul 13 '20 13:07 little-gui