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

Use new Symfony Error Controller, instead of Twig's old one. #1477

Merged
merged 3 commits into from
Jun 15, 2020

Conversation

bobdenotter
Copy link
Member

Fixes #1476

Part of #1182

@bobdenotter bobdenotter added this to the Bolt 4.0.0 stable milestone Jun 14, 2020
@bobdenotter bobdenotter mentioned this pull request Jun 14, 2020
5 tasks
@bobdenotter bobdenotter merged commit 6fe95da into master Jun 15, 2020
@bobdenotter bobdenotter deleted the fix/use-correct-error-controller branch June 15, 2020 05:52
@peterboorsma
Copy link
Contributor

I think this commit causes problems when updating to RC25.
Frontend gives a Internal Server Error. Log says (no error message in my browser screen):

{"exception":"[object] (ErrorException(code: 0): User Deprecated: The "Symfony\Component\Debug\FatalErrorHandler\ClassNotFoundFatalErrorHandler" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\FatalErrorHandler\ClassNotFoundFatalErrorHandler" instead. at /Users/xxxx/localdev/xxxx/vendor/symfony/debug/FatalErrorHandler/ClassNotFoundFatalErrorHandler.php:20)"} []

@bobdenotter
Copy link
Member Author

The solution should be the top item in this file: https://github.com/bolt/project/blob/master/UPDATE.md

After making these changes, run bin/console cache:clear, and you should be up and running again.

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

Successfully merging this pull request may close these issues.

Exceptions handled by Bolt itself, should show the Exception.
2 participants