Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error logs not showing #169

Open
little-gui opened this issue Feb 18, 2020 · 3 comments
Open

Error logs not showing #169

little-gui opened this issue Feb 18, 2020 · 3 comments

Comments

@little-gui
Copy link

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?

@janoist1
Copy link

janoist1 commented Jul 8, 2020

+1

@janoist1
Copy link

janoist1 commented Jul 13, 2020

@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.

@little-gui
Copy link
Author

@janoist1 Yes, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants