-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Warning: Undefined variable $_v0 since 3.15 #4480
Comments
Duplicate of #4452? |
Does #4475 help? |
Yes, #4452 has the exact same error in one of the comments, the issue title was not meaningful for my use case sorry ! |
for that you probably need symfony/symfony#58964 (i.e. the latest patch release of |
I'm currently on 7.2 RC1, I'll wait the next RC to update Twig then |
Closing as this has been fixed already as mentioned above. |
Hi,
Since twig 3.15, the base layout of easyadmin ( vendor/easycorp/easyadmin-bundle/templates/layout.html.twig ) triggers a warning at line 108 of the template :
{{ item.label|trans }}
.The warning tells that the $_v0 variable is undefined in the compiled version of the twig template, here is the line :
And the full function from the compiled template :
I rolled back to 3.14.2 and all works again.
Thanks
The text was updated successfully, but these errors were encountered: