-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Call to a member function getI18n() on null #6473
Comments
@ben29 thanks for reporting. I don't use the login feature myself in any application so, can you please debug this to find the cause of the error? Thanks! |
The login template checks if EasyAdminBundle/src/Resources/views/page/login.html.twig Lines 5 to 6 in 5e86095
Previously it was null if there was no context in the request, now it is always defined ( |
This PR was merged into the 4.x branch. Discussion ---------- `ea` twig variable existence check fix Fix for #6473 Added `hasContext` method to check for AdminContext existence instead of relying on `is defined`. #6273 made `ea` twig global variable always defined. Commits ------- 6c817f9 Add hasContext in AdminContextProvider
Closing as fixed in #6475. Thanks. |
@javiereguiluz the problem still occurs with https://symfony.com/bundles/EasyAdminBundle/current/dashboards.html#content-page-template |
Thanks for reporting this. It's being fixed in #6497. |
Describe the bug
after update to version 4.13.0 getting error on login page.
To Reproduce
same like here:
https://symfony.com/bundles/EasyAdminBundle/4.x/dashboards.html#login-form-template
The text was updated successfully, but these errors were encountered: