-
Notifications
You must be signed in to change notification settings - Fork 642
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 base_template_class is deprecated #4755
Comments
Great. |
Sorry for that one, I'm just the messenger. |
We primarily extend the base class to hook template rendering into Yii profiling for the Debug toolbar. There’s no good alternative way to do that currently, as far as I can tell. Posted twigphp/Twig#3129 asking for a new way to hook into template rendering, so we’ll see what they come back with. |
This has been fixed for Craft 3.3! |
@brandonkelly we use |
Description
When running Craft CMS the following php error is triggered:
The option
base_template_class
is set in the View class here. This is related to #4704.This is a documented behavior of twig, please refer to their docs:
https://twig.symfony.com/doc/2.x/deprecated.html#environment
Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: