Fatal error: Declaration of App\Security\UserChecker::checkPostAuth(Symfony\Component\Security\Core\User\UserInterface $user): void must be compatible with Symfony\Component\Security\Core\User\UserCheckerInterface::checkPostAuth(Symfony\Component\Security\Core\User\UserInterface $user, ?Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token = null): void in /home/super/projects/cafeflow/symfony/src/Security/UserChecker.php on line 25
Stack trace: #0 /home/super/projects/cafeflow/symfony/vendor/symfony/error-handler/DebugClassLoader.php(319): include() #1 [internal function]: Symfony\Component\ErrorHandler\DebugClassLoader->loadClass('App\\Security\\Us...') #2 /home/super/projects/cafeflow/symfony/vendor/symfony/config/Resource/ClassExistenceResource.php(76): class_exists('App\\Security\\Us...') #3 /home/super/projects/cafeflow/symfony/vendor/symfony/dependency-injection/ContainerBuilder.php(410): Symfony\Component\Config\Resource\ClassExistenceResource->isFresh(0) #4 /home/super/projects/cafeflow/symfony/vendor/symfony/dependency-injection/Loader/FileLoader.php(362): Symfony\Component\DependencyInjection\ContainerBuilder->getReflectionClass('App\\Security\\Us...') #5 /home/super/projects/cafeflow/symfony/vendor/symfony/dependency-injection/Loader/FileLoader.php(129): Symfony\Component\DependencyInjection\Loader\FileLoader->findClasses('App\\', '../src/', Array, '/home/super/pro...') #6 /home/super/projects/cafeflow/symfony/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(714): Symfony\Component\DependencyInjection\Loader\FileLoader->registerClasses(Object(Symfony\Component\DependencyInjection\Definition), 'App\\', '../src/', Array, '/home/super/pro...') #7 /home/super/projects/cafeflow/symfony/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(257): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->parseDefinition('App\\', Array, '/home/super/pro...', Array, false, true) #8 /home/super/projects/cafeflow/symfony/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(180): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->parseDefinitions(Array, '/home/super/pro...') #9 /home/super/projects/cafeflow/symfony/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(138): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->loadContent(Array, '/home/super/pro...') #10 /home/super/projects/cafeflow/symfony/vendor/symfony/config/Loader/FileLoader.php(175): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->load('/home/super/pro...', NULL) #11 /home/super/projects/cafeflow/symfony/vendor/symfony/config/Loader/FileLoader.php(92): Symfony\Component\Config\Loader\FileLoader->doImport('/home/super/pro...', NULL, false, '/home/super/pro...') #12 /home/super/projects/cafeflow/symfony/vendor/symfony/dependency-injection/Loader/FileLoader.php(78): Symfony\Component\Config\Loader\FileLoader->import('/home/super/pro...', NULL, false, '/home/super/pro...') #13 /home/super/projects/cafeflow/symfony/vendor/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php(67): Symfony\Component\DependencyInjection\Loader\FileLoader->import('/home/super/pro...', NULL, false, '/home/super/pro...') #14 /home/super/projects/cafeflow/symfony/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php(58): Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator->import('/home/super/pro...') #15 /home/super/projects/cafeflow/symfony/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php(208): App\Kernel->configureContainer(Object(Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator), Object(Symfony\Component\Config\Loader\DelegatingLoader), Object(Symfony\Component\DependencyInjection\ContainerBuilder)) #16 /home/super/projects/cafeflow/symfony/vendor/symfony/dependency-injection/Loader/ClosureLoader.php(35): App\Kernel->{closure:Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait::registerContainerConfiguration():164}(Object(Symfony\Component\DependencyInjection\ContainerBuilder), 'dev') #17 /home/super/projects/cafeflow/symfony/vendor/symfony/config/Loader/DelegatingLoader.php(37): Symfony\Component\DependencyInjection\Loader\ClosureLoader->load(Object(Closure), NULL) #18 /home/super/projects/cafeflow/symfony/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php(164): Symfony\Component\Config\Loader\DelegatingLoader->load(Object(Closure)) #19 /home/super/projects/cafeflow/symfony/vendor/symfony/http-kernel/Kernel.php(600): App\Kernel->registerContainerConfiguration(Object(Symfony\Component\Config\Loader\DelegatingLoader)) #20 /home/super/projects/cafeflow/symfony/vendor/symfony/http-kernel/Kernel.php(487): Symfony\Component\HttpKernel\Kernel->buildContainer() #21 /home/super/projects/cafeflow/symfony/vendor/symfony/http-kernel/Kernel.php(732): Symfony\Component\HttpKernel\Kernel->initializeContainer() #22 /home/super/projects/cafeflow/symfony/vendor/symfony/http-kernel/Kernel.php(170): Symfony\Component\HttpKernel\Kernel->preBoot() #23 /home/super/projects/cafeflow/symfony/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php(35): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #24 /home/super/projects/cafeflow/symfony/vendor/autoload_runtime.php(32): Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run() #25 /home/super/projects/cafeflow/symfony/public/index.php(5): require_once('/home/super/pro...') #26 {main} Compile Error: Declaration of App\Security\UserChecker::checkPostAuth(Symfony\Component\Security\Core\User\UserInterface $user): void must be compatible with Symfony\Component\Security\Core\User\UserCheckerInterface::checkPostAuth(Symfony\Component\Security\Core\User\UserInterface $user, ?Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token = null): void (500 Internal Server Error)

Symfony Exception

FatalError

HTTP 500 Internal Server Error

Compile Error: Declaration of App\Security\UserChecker::checkPostAuth(Symfony\Component\Security\Core\User\UserInterface $user): void must be compatible with Symfony\Component\Security\Core\User\UserCheckerInterface::checkPostAuth(Symfony\Component\Security\Core\User\UserInterface $user, ?Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token = null): void

Exception

Symfony\Component\ErrorHandler\Error\ FatalError

Show exception properties
Symfony\Component\ErrorHandler\Error\FatalError {#480
  -error: array:5 [
    "type" => 64
    "message" => "Declaration of App\Security\UserChecker::checkPostAuth(Symfony\Component\Security\Core\User\UserInterface $user): void must be compatible with Symfony\Component\Security\Core\User\UserCheckerInterface::checkPostAuth(Symfony\Component\Security\Core\User\UserInterface $user, ?Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token = null): void"
    "file" => "/home/super/projects/cafeflow/symfony/src/Security/UserChecker.php"
    "line" => 25
    "trace" => array:26 [
      0 => array:3 [
        "file" => "/home/super/projects/cafeflow/symfony/vendor/symfony/error-handler/DebugClassLoader.php"
        "line" => 319
        "function" => "include"
      ]
      1 => array:4 [
        "function" => "loadClass"
        "class" => "Symfony\Component\ErrorHandler\DebugClassLoader"
        "type" => "->"
        "args" => array:1 [
          0 => "App\Security\UserChecker"
        ]
      ]
      2 => array:4 [
        "function" => "class_exists"
        "file" => "/home/super/projects/cafeflow/symfony/vendor/symfony/config/Resource/ClassExistenceResource.php"
        "line" => 76
        "args" => array:1 [
          0 => "App\Security\UserChecker"
        ]
      ]
      3 => array:6 [
        "file" => "/home/super/projects/cafeflow/symfony/vendor/symfony/dependency-injection/ContainerBuilder.php"
        "line" => 410
        "function" => "isFresh"
        "class" => "Symfony\Component\Config\Resource\ClassExistenceResource"
        "type" => "->"
        "args" => array:1 [
          0 => 0
        ]
      ]
      4 => array:6 [
        "file" => "/home/super/projects/cafeflow/symfony/vendor/symfony/dependency-injection/Loader/FileLoader.php"
        "line" => 362
        "function" => "getReflectionClass"
        "class" => "Symfony\Component\DependencyInjection\ContainerBuilder"
        "type" => "->"
        "args" => array:1 [
          0 => "App\Security\UserChecker"
        ]
      ]
      5 => array:6 [
        "file" => "/home/super/projects/cafeflow/symfony/vendor/symfony/dependency-injection/Loader/FileLoader.php"
        "line" => 129
        "function" => "findClasses"
        "class" => "Symfony\Component\DependencyInjection\Loader\FileLoader"
        "type" => "->"
        "args" => array:4 [
          0 => "App\"
          1 => "../src/"
          2 => array:3 [
            0 => "../src/DependencyInjection/"
            1 => "../src/Entity/"
            2 => "../src/Kernel.php"
          ]
          3 => "/home/super/projects/cafeflow/symfony/config/services.yaml"
        ]
      ]
      6 => array:6 [
        "file" => "/home/super/projects/cafeflow/symfony/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php"
        "line" => 714
        "function" => "registerClasses"
        "class" => "Symfony\Component\DependencyInjection\Loader\FileLoader"
        "type" => "->"
        "args" => array:5 [
          0 => Symfony\Component\DependencyInjection\Definition {#379
            -class: null
            -file: null
            -factory: null
            -shared: true
            -deprecation: []
            -properties: []
            -calls: []
            -instanceof: []
            -autoconfigured: true
            -configurator: null
            -tags: []
            -public: false
            -synthetic: false
            -abstract: false
            -lazy: false
            -decoratedService: null
            -autowired: true
            -changes: []
            -bindings: []
            -errors: []
            #arguments: []
            +innerServiceId: null
            +decorationOnInvalid: null
          }
          1 => "App\"
          2 => "../src/"
          3 => array:3 [
            0 => "../src/DependencyInjection/"
            1 => "../src/Entity/"
            2 => "../src/Kernel.php"
          ]
          4 => "/home/super/projects/cafeflow/symfony/config/services.yaml"
        ]
      ]
      7 => array:6 [
        "file" => "/home/super/projects/cafeflow/symfony/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php"
        "line" => 257
        "function" => "parseDefinition"
        "class" => "Symfony\Component\DependencyInjection\Loader\YamlFileLoader"
        "type" => "->"
        "args" => array:6 [
          0 => "App\"
          1 => array:2 [
            "resource" => "../src/"
            "exclude" => array:3 [
              0 => "../src/DependencyInjection/"
              1 => "../src/Entity/"
              2 => "../src/Kernel.php"
            ]
          ]
          2 => "/home/super/projects/cafeflow/symfony/config/services.yaml"
          3 => array:2 [
            "autowire" => true
            "autoconfigure" => true
          ]
          4 => false
          5 => true
        ]
      ]
      8 => array:6 [
        "file" => "/home/super/projects/cafeflow/symfony/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php"
        "line" => 180
        "function" => "parseDefinitions"
        "class" => "Symfony\Component\DependencyInjection\Loader\YamlFileLoader"
        "type" => "->"
        "args" => array:2 [
          0 => array:2 [
            "services" => array:2 [
              "App\" => array:2 [
                "resource" => "../src/"
                "exclude" => array:3 [
                  0 => "../src/DependencyInjection/"
                  1 => "../src/Entity/"
                  2 => "../src/Kernel.php"
                ]
              ]
              "App\Controller\CheckoutController" => array:1 [
                "arguments" => array:1 [
                  "$securityLogger" => "@monolog.logger.security"
                ]
              ]
            ]
            "parameters" => array:2 [
              "mailer_from" => "%env(MAILER_FROM)%"
              "mailer_from_name" => "%env(MAILER_FROM_NAME)%"
            ]
          ]
          1 => "/home/super/projects/cafeflow/symfony/config/services.yaml"
        ]
      ]
      9 => array:6 [
        "file" => "/home/super/projects/cafeflow/symfony/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php"
        "line" => 138
        "function" => "loadContent"
        "class" => "Symfony\Component\DependencyInjection\Loader\YamlFileLoader"
        "type" => "->"
        "args" => array:2 [
          0 => array:2 [
            "services" => array:3 [
              "_defaults" => array:2 [
                "autowire" => true
                "autoconfigure" => true
              ]
              "App\" => array:2 [
                "resource" => "../src/"
                "exclude" => array:3 [
                  0 => "../src/DependencyInjection/"
                  1 => "../src/Entity/"
                  2 => "../src/Kernel.php"
                ]
              ]
              "App\Controller\CheckoutController" => array:1 [
                "arguments" => array:1 [
                  "$securityLogger" => "@monolog.logger.security"
                ]
              ]
            ]
            "parameters" => array:2 [
              "mailer_from" => "%env(MAILER_FROM)%"
              "mailer_from_name" => "%env(MAILER_FROM_NAME)%"
            ]
          ]
          1 => "/home/super/projects/cafeflow/symfony/config/services.yaml"
        ]
      ]
      10 => array:6 [
        "file" => "/home/super/projects/cafeflow/symfony/vendor/symfony/config/Loader/FileLoader.php"
        "line" => 175
        "function" => "load"
        "class" => "Symfony\Component\DependencyInjection\Loader\YamlFileLoader"
        "type" => "->"
        "args" => array:2 [
          0 => "/home/super/projects/cafeflow/symfony/config/services.yaml"
          1 => null
        ]
      ]
      11 => array:6 [
        "file" => "/home/super/projects/cafeflow/symfony/vendor/symfony/config/Loader/FileLoader.php"
        "line" => 92
        "function" => "doImport"
        "class" => "Symfony\Component\Config\Loader\FileLoader"
        "type" => "->"
        "args" => array:4 [
          0 => "/home/super/projects/cafeflow/symfony/config/services.yaml"
          1 => null
          2 => false
          3 => "/home/super/projects/cafeflow/symfony/src/Kernel.php"
        ]
      ]
      12 => array:6 [
        "file" => "/home/super/projects/cafeflow/symfony/vendor/symfony/dependency-injection/Loader/FileLoader.php"
        "line" => 78
        "function" => "import"
        "class" => "Symfony\Component\Config\Loader\FileLoader"
        "type" => "->"
        "args" => array:4 [
          0 => "/home/super/projects/cafeflow/symfony/{config}/services.yaml"
          1 => null
          2 => false
          3 => "/home/super/projects/cafeflow/symfony/src/Kernel.php"
        ]
      ]
      13 => array:6 [
        "file" => "/home/super/projects/cafeflow/symfony/vendor/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php"
        "line" => 67
        "function" => "import"
        "class" => "Symfony\Component\DependencyInjection\Loader\FileLoader"
        "type" => "->"
        "args" => array:4 [
          0 => "/home/super/projects/cafeflow/symfony/{config}/services.yaml"
          1 => null
          2 => false
          3 => "/home/super/projects/cafeflow/symfony/src/Kernel.php"
        ]
      ]
      14 => array:6 [
        "file" => "/home/super/projects/cafeflow/symfony/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php"
        "line" => 58
        "function" => "import"
        "class" => "Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator"
        "type" => "->"
        "args" => array:1 [
          0 => "/home/super/projects/cafeflow/symfony/{config}/services.yaml"
        ]
      ]
      15 => array:6 [
        "file" => "/home/super/projects/cafeflow/symfony/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php"
        "line" => 208
        "function" => "configureContainer"
        "class" => "App\Kernel"
        "type" => "->"
        "args" => array:3 [
          0 => Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator {#350
            #definition: null
            -instanceof: &1 []
            -anonymousCount: 0
            -container: Symfony\Component\DependencyInjection\ContainerBuilder {#35 …34}
            -loader: Symfony\Component\DependencyInjection\Loader\PhpFileLoader {#338
              #resolver: Symfony\Component\Config\Loader\LoaderResolver {#335
                -loaders: array:6 [
                  0 => Symfony\Component\DependencyInjection\Loader\YamlFileLoader {#336
                    #resolver: Symfony\Component\Config\Loader\LoaderResolver {#335}
                    #env: "dev"
                    -currentDir: "/home/super/projects/cafeflow/symfony/config"
                    #locator: Symfony\Component\HttpKernel\Config\FileLocator {#70
                      #paths: []
                      -kernel: App\Kernel {#13 …}
                    }
                    #isLoadingInstanceof: false
                    #instanceof: []
                    #interfaces: []
                    #singlyImplemented: []
                    #aliases: []
                    #autoRegisterAliasesForSinglyImplementedInterfaces: false
                    #extensionConfigs: []
                    #importing: 1
                    #container: Symfony\Component\DependencyInjection\ContainerBuilder {#35 …34}
                    #prepend: false
                    -yamlParser: Symfony\Component\Yaml\Parser {#357
                      -filename: null
                      -offset: 0
                      -numberOfParsedLines: 0
                      -totalNumberOfLines: null
                      -lines: []
                      -currentLineNb: 20
                      -currentLine: ""
                      -refs: []
                      -skippedLineNumbers: []
                      -locallySkippedLineNumbers: []
                      -refsBeingParsed: []
                    }
                    -anonymousServicesCount: 0
                    -anonymousServicesSuffix: "~7M7MFh9"
                  }
                  1 => Symfony\Component\DependencyInjection\Loader\IniFileLoader {#337
                    #resolver: Symfony\Component\Config\Loader\LoaderResolver {#335}
                    #env: "dev"
                    -currentDir: null
                    #locator: Symfony\Component\HttpKernel\Config\FileLocator {#70}
                    #isLoadingInstanceof: false
                    #instanceof: []
                    #interfaces: []
                    #singlyImplemented: []
                    #aliases: []
                    #autoRegisterAliasesForSinglyImplementedInterfaces: true
                    #extensionConfigs: []
                    #importing: 0
                    #container: Symfony\Component\DependencyInjection\ContainerBuilder {#35 …34}
                    #prepend: false
                  }
                  2 => Symfony\Component\DependencyInjection\Loader\PhpFileLoader {#338}
                  3 => Symfony\Component\DependencyInjection\Loader\GlobFileLoader {#339
                    #resolver: Symfony\Component\Config\Loader\LoaderResolver {#335}
                    #env: "dev"
                    -currentDir: null
                    #locator: Symfony\Component\HttpKernel\Config\FileLocator {#70}
                    #isLoadingInstanceof: false
                    #instanceof: []
                    #interfaces: []
                    #singlyImplemented: []
                    #aliases: []
                    #autoRegisterAliasesForSinglyImplementedInterfaces: true
                    #extensionConfigs: []
                    #importing: 0
                    #container: Symfony\Component\DependencyInjection\ContainerBuilder {#35 …34}
                    #prepend: false
                  }
                  4 => Symfony\Component\DependencyInjection\Loader\DirectoryLoader {#340
                    #resolver: Symfony\Component\Config\Loader\LoaderResolver {#335}
                    #env: "dev"
                    -currentDir: null
                    #locator: Symfony\Component\HttpKernel\Config\FileLocator {#70}
                    #isLoadingInstanceof: false
                    #instanceof: []
                    #interfaces: []
                    #singlyImplemented: []
                    #aliases: []
                    #autoRegisterAliasesForSinglyImplementedInterfaces: true
                    #extensionConfigs: []
                    #importing: 0
                    #container: Symfony\Component\DependencyInjection\ContainerBuilder {#35 …34}
                    #prepend: false
                  }
                  5 => Symfony\Component\DependencyInjection\Loader\ClosureLoader {#341
                    #resolver: Symfony\Component\Config\Loader\LoaderResolver {#335}
                    #env: "dev"
                    -container: Symfony\Component\DependencyInjection\ContainerBuilder {#35 …34}
                  }
                ]
              }
              #env: "dev"
              -currentDir: "/home/super/projects/cafeflow/symfony/src"
              #locator: Symfony\Component\HttpKernel\Config\FileLocator {#70}
              #isLoadingInstanceof: false
              #instanceof: &1 []
              #interfaces: []
              #singlyImplemented: []
              #aliases: []
              #autoRegisterAliasesForSinglyImplementedInterfaces: false
              #extensionConfigs: []
              #importing: 1
              #container: Symfony\Component\DependencyInjection\ContainerBuilder {#35 …34}
              #prepend: false
            }
            -path: "/home/super/projects/cafeflow/symfony/src/Kernel.php"
            -file: "/home/super/projects/cafeflow/symfony/src/Kernel.php"
            -env: "dev"
          }
          1 => Symfony\Component\Config\Loader\DelegatingLoader {#342
            #resolver: Symfony\Component\Config\Loader\LoaderResolver {#335}
            #env: ? ?string
          }
          2 => Symfony\Component\DependencyInjection\ContainerBuilder {#35 …34}
        ]
      ]
      16 => array:6 [
        "file" => "/home/super/projects/cafeflow/symfony/vendor/symfony/dependency-injection/Loader/ClosureLoader.php"
        "line" => 35
        "function" => "{closure:Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait::registerContainerConfiguration():164}"
        "class" => "App\Kernel"
        "type" => "->"
        "args" => array:2 [
          0 => Symfony\Component\DependencyInjection\ContainerBuilder {#35 …34}
          1 => "dev"
        ]
      ]
      17 => array:6 [
        "file" => "/home/super/projects/cafeflow/symfony/vendor/symfony/config/Loader/DelegatingLoader.php"
        "line" => 37
        "function" => "load"
        "class" => "Symfony\Component\DependencyInjection\Loader\ClosureLoader"
        "type" => "->"
        "args" => array:2 [
          0 => Closure(ContainerBuilder $container) {#343
            class: "App\Kernel"
            this: App\Kernel {#13 …}
            use: {
              $loader: Symfony\Component\Config\Loader\DelegatingLoader {#342}
            }
            file: "/home/super/projects/cafeflow/symfony/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php"
            line: "164 to 216"
          }
          1 => null
        ]
      ]
      18 => array:6 [
        "file" => "/home/super/projects/cafeflow/symfony/vendor/symfony/framework-bundle/Kernel/MicroKernelTrait.php"
        "line" => 164
        "function" => "load"
        "class" => "Symfony\Component\Config\Loader\DelegatingLoader"
        "type" => "->"
        "args" => array:1 [
          0 => Closure(ContainerBuilder $container) {#343}
        ]
      ]
      19 => array:6 [
        "file" => "/home/super/projects/cafeflow/symfony/vendor/symfony/http-kernel/Kernel.php"
        "line" => 600
        "function" => "registerContainerConfiguration"
        "class" => "App\Kernel"
        "type" => "->"
        "args" => array:1 [
          0 => Symfony\Component\Config\Loader\DelegatingLoader {#342}
        ]
      ]
      20 => array:6 [
        "file" => "/home/super/projects/cafeflow/symfony/vendor/symfony/http-kernel/Kernel.php"
        "line" => 487
        "function" => "buildContainer"
        "class" => "Symfony\Component\HttpKernel\Kernel"
        "type" => "->"
        "args" => []
      ]
      21 => array:6 [
        "file" => "/home/super/projects/cafeflow/symfony/vendor/symfony/http-kernel/Kernel.php"
        "line" => 732
        "function" => "initializeContainer"
        "class" => "Symfony\Component\HttpKernel\Kernel"
        "type" => "->"
        "args" => []
      ]
      22 => array:6 [
        "file" => "/home/super/projects/cafeflow/symfony/vendor/symfony/http-kernel/Kernel.php"
        "line" => 170
        "function" => "preBoot"
        "class" => "Symfony\Component\HttpKernel\Kernel"
        "type" => "->"
        "args" => []
      ]
      23 => array:6 [
        "file" => "/home/super/projects/cafeflow/symfony/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
        "line" => 35
        "function" => "handle"
        "class" => "Symfony\Component\HttpKernel\Kernel"
        "type" => "->"
        "args" => array:1 [
          0 => Symfony\Component\HttpFoundation\Request {#2
            +attributes: Symfony\Component\HttpFoundation\ParameterBag {#15
              #parameters: []
            }
            +request: Symfony\Component\HttpFoundation\InputBag {#5
              #parameters: []
            }
            +query: Symfony\Component\HttpFoundation\InputBag {#10
              #parameters: []
            }
            +server: Symfony\Component\HttpFoundation\ServerBag {#18
              #parameters: array:54 [
                "DOCUMENT_ROOT" => "/home/super/projects/cafeflow/symfony/public"
                "REMOTE_ADDR" => "127.0.0.1"
                "REMOTE_PORT" => "51448"
                "SERVER_SOFTWARE" => "PHP/8.5.5 (Development Server)"
                "SERVER_PROTOCOL" => "HTTP/1.0"
                "SERVER_NAME" => "0.0.0.0"
                "SERVER_PORT" => "8000"
                "REQUEST_URI" => "/"
                "REQUEST_METHOD" => "GET"
                "SCRIPT_NAME" => "/index.php"
                "SCRIPT_FILENAME" => "/home/super/projects/cafeflow/symfony/public/index.php"
                "PHP_SELF" => "/index.php"
                "HTTP_HOST" => "cafeflow.univercell.ru"
                "HTTP_X_REAL_IP" => "216.73.217.167"
                "HTTP_X_FORWARDED_FOR" => "216.73.217.167"
                "HTTP_X_FORWARDED_PROTO" => "https"
                "HTTP_CONNECTION" => "close"
                "HTTP_ACCEPT" => "*/*"
                "HTTP_USER_AGENT" => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
                "HTTP_ACCEPT_ENCODING" => "gzip, br, zstd, deflate"
                "REQUEST_TIME_FLOAT" => 1778983909.7168
                "REQUEST_TIME" => 1778983909
                "APP_RUNTIME_OPTIONS" => array:1 [
                  "project_dir" => "/home/super/projects/cafeflow/symfony"
                ]
                "APP_RUNTIME" => "Symfony\Component\Runtime\SymfonyRuntime"
                "APP_PROJECT_DIR" => "/home/super/projects/cafeflow/symfony"
                "SYMFONY_DOTENV_PATH" => "/home/super/projects/cafeflow/symfony/.env"
                "APP_ENV" => "dev"
                "APP_SECRET" => "da4f602f2a6a2b0484e652f6351262bd"
                "APP_SHARE_DIR" => "var/share"
                "DEFAULT_URI" => "https://cafeflow.univercell.ru"
                "DATABASE_URL" => "postgresql://cafeflow_user:yf7bpF-Eccf@127.0.0.1:5432/cafeflow_db?serverVersion=17&charset=utf8"
                "MESSENGER_TRANSPORT_DSN" => "doctrine://default?auto_setup=notnull"
                "MAILER_DSN" => "smtp://support:Optimum7+!@mail.univercell.ru:587?encryption=tls"
                "APP_NAME" => "CafeFlow"
                "MAILER_FROM" => "no-reply@univercell.ru"
                "MAILER_FROM_NAME" => "CafeFlow"
                "APP_DOMAIN" => "mail.univercell.ru"
                "SYMFONY_DOTENV_VARS" => "APP_ENV,APP_SECRET,APP_SHARE_DIR,DEFAULT_URI,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN,APP_NAME,MAILER_FROM,MAILER_FROM_NAME,APP_DOMAIN"
                "SHELL" => "/gnu/store/vhkg4avy9zf0kj70dcsmfpymnllkjq1y-bash-5.2.37/bin/bash"
                "PWD" => "/home/super/projects/cafeflow/symfony"
                "LOGNAME" => "super"
                "GIT_EXEC_PATH" => "/gnu/store/dfk1i1r02nyshazybhzpdzkrqyb0b4fp-profile/libexec/git-core"
                "HOME" => "/home/super"
                "GIT_SSL_CAINFO" => "/gnu/store/dfk1i1r02nyshazybhzpdzkrqyb0b4fp-profile/etc/ssl/certs/ca-certificates.crt"
                "SSL_CERT_DIR" => "/gnu/store/dfk1i1r02nyshazybhzpdzkrqyb0b4fp-profile/etc/ssl/certs"
                "TERM" => "tmux-256color"
                "USER" => "super"
                "CURL_CA_BUNDLE" => "/gnu/store/dfk1i1r02nyshazybhzpdzkrqyb0b4fp-profile/etc/ssl/certs/ca-certificates.crt"
                "SHLVL" => "1"
                "GUIX_ENVIRONMENT" => "/gnu/store/dfk1i1r02nyshazybhzpdzkrqyb0b4fp-profile"
                "SSL_CERT_FILE" => "/gnu/store/dfk1i1r02nyshazybhzpdzkrqyb0b4fp-profile/etc/ssl/certs/ca-certificates.crt"
                "PATH" => "/home/super/.local/bin:/home/super/bin:/gnu/store/dfk1i1r02nyshazybhzpdzkrqyb0b4fp-profile/bin:/gnu/store/dfk1i1r02nyshazybhzpdzkrqyb0b4fp-profile/sbin"
                "_" => "/gnu/store/dfk1i1r02nyshazybhzpdzkrqyb0b4fp-profile/bin/php"
                "APP_DEBUG" => "1"
              ]
            }
            +files: Symfony\Component\HttpFoundation\FileBag {#17
              #parameters: []
            }
            +cookies: Symfony\Component\HttpFoundation\InputBag {#16
              #parameters: []
            }
            +headers: Symfony\Component\HttpFoundation\HeaderBag {#19
              #headers: array:8 [
                "host" => array:1 [
                  0 => "cafeflow.univercell.ru"
                ]
                "x-real-ip" => array:1 [
                  0 => "216.73.217.167"
                ]
                "x-forwarded-for" => array:1 [
                  0 => "216.73.217.167"
                ]
                "x-forwarded-proto" => array:1 [
                  0 => "https"
                ]
                "connection" => array:1 [
                  0 => "close"
                ]
                "accept" => array:1 [
                  0 => "*/*"
                ]
                "user-agent" => array:1 [
                  0 => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
                ]
                "accept-encoding" => array:1 [
                  0 => "gzip, br, zstd, deflate"
                ]
              ]
              #cacheControl: []
            }
            #content: null
            #languages: null
            #charsets: null
            #encodings: null
            #acceptableContentTypes: null
            #pathInfo: null
            #requestUri: null
            #baseUrl: null
            #basePath: null
            #method: null
            #format: null
            #session: null
            #locale: null
            #defaultLocale: "en"
            -preferredFormat: null
            -isHostValid: true
            -isForwardedValid: true
            -isSafeContentPreferred: ? bool
            -trustedValuesCache: []
            -isIisRewrite: false
            pathInfo: "/"
            requestUri: "/"
            baseUrl: ""
            basePath: ""
            method: "GET"
            format: "html"
          }
        ]
      ]
      24 => array:6 [
        "file" => "/home/super/projects/cafeflow/symfony/vendor/autoload_runtime.php"
        "line" => 32
        "function" => "run"
        "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
        "type" => "->"
        "args" => []
      ]
      25 => array:4 [
        "file" => "/home/super/projects/cafeflow/symfony/public/index.php"
        "line" => 5
        "args" => array:1 [
          0 => "/home/super/projects/cafeflow/symfony/vendor/autoload_runtime.php"
        ]
        "function" => "require_once"
      ]
    ]
  ]
}
  1. 'Пожалуйста, подтвердите ваш email перед входом. Проверьте папку "Спам".'
  2. );
  3. }
  4. }
  5. public function checkPostAuth(UserInterface $user): void
  6. {
  7. // Можно добавить проверки после входа (например, блокировка аккаунта)
  8. }
  9. }

Stack Trace

FatalError
Symfony\Component\ErrorHandler\Error\FatalError:
Compile Error: Declaration of App\Security\UserChecker::checkPostAuth(Symfony\Component\Security\Core\User\UserInterface $user): void must be compatible with Symfony\Component\Security\Core\User\UserCheckerInterface::checkPostAuth(Symfony\Component\Security\Core\User\UserInterface $user, ?Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token = null): void

  at /home/super/projects/cafeflow/symfony/src/Security/UserChecker.php:25