Error 500 Internal Server Error

POST https://goldenresa.fr/restaurant/sos-2/settings/file

Forwarded to ErrorController (04a2e2)

Security

Token

sosplus.antilles@gmail.com Username
Authenticated
Property Value
Roles
[
  "ROLE_ADMIN_RESTAURANT"
]
Inherited Roles
[
  "ROLE_RESTAURANT_MANAGER"
  "ROLE_USER"
]
Token
Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken {#407
  -user: App\Entity\User {#532 …}
  -roleNames: [
    "ROLE_ADMIN_RESTAURANT"
  ]
  -attributes: []
  -firewallName: "main"
}

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point security.authenticator.form_login.main
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "switch_user"
  "form_login"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#113
  -map: Symfony\Component\Security\Http\AccessMap {#114 …}
  -logger: Monolog\Logger {#81 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#122
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#160 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#81 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#123 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#93 …}
  -registered: false
  -trustResolver: Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver {#91 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#125 …}
}
7.64 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#53
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#127 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\SwitchUserListener {#478
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#161 …}
  -provider: Symfony\Bridge\Doctrine\Security\User\EntityUserProvider {#85 …}
  -userChecker: Symfony\Component\Security\Core\User\InMemoryUserChecker {#480 …}
  -firewallName: "main"
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#51 …}
  -usernameParameter: "_switch_user"
  -role: "ROLE_ADMIN"
  -logger: Monolog\Logger {#81 …}
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#270 …}
  -stateless: false
  -urlGenerator: Symfony\Bundle\FrameworkBundle\Routing\Router {#177 …}
  -targetRoute: null
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#388
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#161 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#51 …}
  -map: Symfony\Component\Security\Http\AccessMap {#114 …}
}
0.23 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#92
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#161 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "app_logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#75 …}
  -csrfTokenManager: null
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#93 …}
}
0.00 ms (none)

Authenticators

No authenticators have been recorded. Check previous profiles on your authentication endpoint.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"

Access decision log

# Result Attributes Object
1 GRANTED ROLE_ADMIN_RESTAURANT
Symfony\Component\HttpFoundation\Request {#2
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#16 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#10 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#13 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#20 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#18 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#17 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#21 …}
  #content: ""
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/restaurant/sos-2/settings/file"
  #requestUri: "/restaurant/sos-2/settings/file"
  #baseUrl: ""
  #basePath: ""
  #method: "POST"
  #format: null
  #session: Symfony\Component\HttpFoundation\Session\Session {#383 …}
  #locale: null
  #defaultLocale: "fr"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: ? bool
  -trustedValuesCache: []
  -isIisRewrite: false
  format: "html"
}
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS GRANTED
Show voter details