Skip to content

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

Merged
bobdenotter merged 3 commits intomasterfrom
fix/use-correct-error-controller
Jun 15, 2020
Merged

Use new Symfony Error Controller, instead of Twig's old one.#1477
bobdenotter merged 3 commits intomasterfrom
fix/use-correct-error-controller

Conversation

@bobdenotter
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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