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
bug symfony#51 Fixed Symfony 4.3 wrong role variable type (Andrej-in-ua)
This PR was merged into the 3.0-dev branch.
Discussion
----------
Fixed Symfony 4.3 wrong role variable type
This should fix work in symfony < 4.3
Original error from logs symfony 3.4 application:
```
Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError:
"Call to a member function getRole() on string" at
vendor/symfony/symfony/src/Symfony/Component/Security/Core/Role/RoleHierarchy.php line 41
{"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0):
Call to a member function getRole() on string at
vendor/symfony/symfony/src/Symfony/Component/Security/Core/Role/RoleHierarchy.php:41
```
Found in symfony/security-acl#50 (comment)
Commits
-------
489dc66 Fixed Symfony 4.3 wrong role variable type
0 commit comments