heroku-wp
heroku-wp copied to clipboard
Error logs not showing
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?
+1
@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 Yes, thank you