You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My DEV environment always crashes with the toolbar asking me to be opened in a dialog. However, PROD works just fine, so the problem is with the Symfony toolbar
Error: Call to a member function getUser() on null
I've tried with a fresh new 2.8.3 project with no vendor bundle aside the standard ones, just this listener and getting the same error.
The text was updated successfully, but these errors were encountered:
Closing as you should indeed check if a token is returned. TokenStorageInterface::getToken()might return null. It doesn't happen on production as you most likely don't have any production routes with no authentication (toolbar should be disabled). Feel free to provide more information if you still think this is a bug and we'll re-open.
Using SF 2.8.3 and having the following class and its configuration:
My DEV environment always crashes with the toolbar asking me to be opened in a dialog. However, PROD works just fine, so the problem is with the Symfony toolbar
I've tried with a fresh new 2.8.3 project with no vendor bundle aside the standard ones, just this listener and getting the same error.
The text was updated successfully, but these errors were encountered: