We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The problem is that ErrorHandler does not use application view in this case: https://github.com/yiisoft/yii2/blob/master/framework/web/ErrorHandler.php#L220
But toolbar is only rendered on view end body event: https://github.com/yiisoft/yii2/blob/master/extensions/debug/Module.php#L122
@samdark do you remember why app view is not used on PHP error?
We might fix this by adding a similar event to the errorhandler.
The text was updated successfully, but these errors were encountered:
I think it's a safeguard for the case when there's an error somewhere in View layer. Adding event seems like a good solution for it.
Sorry, something went wrong.
Issue moved to yiisoft/yii2-debug#80
reopening as the fix needs a framework change.
No branches or pull requests
The problem is that ErrorHandler does not use application view in this case:
https://github.com/yiisoft/yii2/blob/master/framework/web/ErrorHandler.php#L220
But toolbar is only rendered on view end body event:
https://github.com/yiisoft/yii2/blob/master/extensions/debug/Module.php#L122
@samdark do you remember why app view is not used on PHP error?
We might fix this by adding a similar event to the errorhandler.
The text was updated successfully, but these errors were encountered: