( ! ) Fatal error: Uncaught TypeError: Avmoz\infrastructure\authentication\JwtCookies::__construct(): Argument #1 ($config) must be of type Avmoz\infrastructure\config\Config, string given, called in /var/www/AvMoz-Codebase/source-code/infrastructure/providers/AuthenticationProvider.php on line 80 and defined in /var/www/AvMoz-Codebase/source-code/infrastructure/authentication/JwtCookies.php on line 14
( ! ) TypeError: Avmoz\infrastructure\authentication\JwtCookies::__construct(): Argument #1 ($config) must be of type Avmoz\infrastructure\config\Config, string given, called in /var/www/AvMoz-Codebase/source-code/infrastructure/providers/AuthenticationProvider.php on line 80 in /var/www/AvMoz-Codebase/source-code/infrastructure/authentication/JwtCookies.php on line 14
Call Stack
#TimeMemoryFunctionLocation
10.0001381976{main}( ).../index.php:0
20.0014410408Avmoz\application\MainController->run( ).../index.php:93
30.0014410408Avmoz\infrastructure\core\DIContainer->get( $id = 'Avmoz\\application\\authentication\\AutoLog' ).../MainController.php:47
40.0014410408Avmoz\infrastructure\providers\AuthenticationProvider->{closure:/var/www/AvMoz-Codebase/source-code/infrastructure/providers/AuthenticationProvider.php:65-71}( $c = class Avmoz\infrastructure\core\DIContainer { private array $recipes = ['Avmoz\\infrastructure\\config\\Config' => class Closure { ... }, 'Psr\\Container\\ContainerInterface' => class Closure { ... }, 'Avmoz\\infrastructure\\config\\SiteConfig' => class Closure { ... }, 'Smarty\\Smarty' => class Closure { ... }, 'League\\CommonMark\\CommonMarkConverter' => class Closure { ... }, 'Avmoz\\application\\service\\ContentProcessor' => class Closure { ... }, 'Avmoz\\application\\service\\HtmlMinifier' => class Closure { ... }, 'Avmoz\\infrastructure\\view\\ViewInterface' => class Closure { ... }, 'Avmoz\\infrastructure\\session\\NativeSession' => class Closure { ... }, 'Avmoz\\infrastructure\\session\\SessionInterface' => class Closure { ... }, 'Avmoz\\domain\\persistence\\DatabaseInterface' => class Closure { ... }, 'Avmoz\\infrastructure\\authentication\\CookieSetterInterface' => class Closure { ... }, 'Avmoz\\infrastructure\\authentication\\CookieManager' => class Closure { ... }, 'Avmoz\\domain\\user\\UserRepositoryInterface' => class Closure { ... }, 'Avmoz\\application\\authentication\\AutoLog' => class Closure { ... }, 'Avmoz\\infrastructure\\authentication\\JwtCookies' => class Closure { ... }, 'Avmoz\\application\\authentication\\VisitorIdentifierInterface' => class Closure { ... }, 'Avmoz\\infrastructure\\authentication\\PersonCookieInterface' => class Closure { ... }, 'Avmoz\\infrastructure\\persistence\\StrikeMechanism' => class Closure { ... }, 'Avmoz\\application\\security\\StrikeMechanismInterface' => class Closure { ... }, 'Avmoz\\application\\http\\HttpModelFactoryInterface' => class Closure { ... }, 'Avmoz\\application\\http\\model\\LoginModel' => class Closure { ... }, 'Avmoz\\application\\xhr\\XhrActionFactory' => class Closure { ... }, 'Avmoz\\application\\http\\dispatcher\\HttpDispatcher' => class Closure { ... }, 'Avmoz\\application\\xhr\\dispatcher\\XhrDispatcher' => class Closure { ... }, 'Avmoz\\application\\xhr\\JsonResponseBuilder' => class Closure { ... }, 'Avmoz\\domain\\form\\FormDefinitionRepositoryInterface' => class Closure { ... }, 'Avmoz\\application\\form\\CsrfTokenManagerInterface' => class Closure { ... }, 'Avmoz\\application\\form\\FormBuilderInterface' => class Closure { ... }, 'Avmoz\\application\\form\\RuleRegistryInterface' => class Closure { ... }, 'Avmoz\\application\\form\\FieldsValidatorInterface' => class Closure { ... }, 'Avmoz\\application\\xhr\\process\\LoginRequestProcess' => class Closure { ... }, 'Avmoz\\application\\http\\handler\\TemplateRenderingFailureHandler' => class Closure { ... }, 'Avmoz\\application\\http\\handler\\HttpAuthenticationFailureHandler' => class Closure { ... }, 'Avmoz\\application\\xhr\\handler\\XhrAuthenticationFailureHandler' => class Closure { ... }, 'Avmoz\\application\\http\\handler\\HttpPermissionDeniedHandler' => class Closure { ... }, 'Avmoz\\application\\xhr\\handler\\XhrPermissionDeniedHandler' => class Closure { ... }, 'Avmoz\\application\\ControllerFactory' => class Closure { ... }, 'Avmoz\\application\\ControllerFactoryInterface' => class Closure { ... }, 'Avmoz\\application\\MainController' => class Closure { ... }, 'Avmoz\\infrastructure\\persistence\\HttpModelRegistry' => class Closure { ... }]; private array $instances = ['Avmoz\\application\\ControllerFactory' => class Avmoz\application\ControllerFactory { ... }, 'Avmoz\\application\\ControllerFactoryInterface' => class Avmoz\application\ControllerFactory { ... }, 'Avmoz\\application\\MainController' => class Avmoz\application\MainController { ... }, 'Avmoz\\infrastructure\\config\\Config' => class Avmoz\infrastructure\config\Config { ... }, 'Avmoz\\domain\\persistence\\DatabaseInterface' => class Avmoz\infrastructure\persistence\Database { ... }, 'Avmoz\\domain\\user\\UserRepositoryInterface' => class Avmoz\infrastructure\persistence\UserRepository { ... }, 'Avmoz\\infrastructure\\session\\NativeSession' => class Avmoz\infrastructure\session\NativeSession { ... }, 'Avmoz\\infrastructure\\session\\SessionInterface' => class Avmoz\infrastructure\session\NativeSession { ... }, 'Avmoz\\infrastructure\\authentication\\CookieSetterInterface' => class Avmoz\infrastructure\authentication\GlobalCookieSetter { ... }, 'Avmoz\\infrastructure\\authentication\\CookieManager' => class Avmoz\infrastructure\authentication\CookieManager { ... }] } ).../DIContainer.php:65
50.0026455896Avmoz\infrastructure\core\DIContainer->get( $id = 'Avmoz\\infrastructure\\authentication\\JwtCookies' ).../AuthenticationProvider.php:69
60.0026455896Avmoz\infrastructure\providers\AuthenticationProvider->{closure:/var/www/AvMoz-Codebase/source-code/infrastructure/providers/AuthenticationProvider.php:78-85}( $c = class Avmoz\infrastructure\core\DIContainer { private array $recipes = ['Avmoz\\infrastructure\\config\\Config' => class Closure { ... }, 'Psr\\Container\\ContainerInterface' => class Closure { ... }, 'Avmoz\\infrastructure\\config\\SiteConfig' => class Closure { ... }, 'Smarty\\Smarty' => class Closure { ... }, 'League\\CommonMark\\CommonMarkConverter' => class Closure { ... }, 'Avmoz\\application\\service\\ContentProcessor' => class Closure { ... }, 'Avmoz\\application\\service\\HtmlMinifier' => class Closure { ... }, 'Avmoz\\infrastructure\\view\\ViewInterface' => class Closure { ... }, 'Avmoz\\infrastructure\\session\\NativeSession' => class Closure { ... }, 'Avmoz\\infrastructure\\session\\SessionInterface' => class Closure { ... }, 'Avmoz\\domain\\persistence\\DatabaseInterface' => class Closure { ... }, 'Avmoz\\infrastructure\\authentication\\CookieSetterInterface' => class Closure { ... }, 'Avmoz\\infrastructure\\authentication\\CookieManager' => class Closure { ... }, 'Avmoz\\domain\\user\\UserRepositoryInterface' => class Closure { ... }, 'Avmoz\\application\\authentication\\AutoLog' => class Closure { ... }, 'Avmoz\\infrastructure\\authentication\\JwtCookies' => class Closure { ... }, 'Avmoz\\application\\authentication\\VisitorIdentifierInterface' => class Closure { ... }, 'Avmoz\\infrastructure\\authentication\\PersonCookieInterface' => class Closure { ... }, 'Avmoz\\infrastructure\\persistence\\StrikeMechanism' => class Closure { ... }, 'Avmoz\\application\\security\\StrikeMechanismInterface' => class Closure { ... }, 'Avmoz\\application\\http\\HttpModelFactoryInterface' => class Closure { ... }, 'Avmoz\\application\\http\\model\\LoginModel' => class Closure { ... }, 'Avmoz\\application\\xhr\\XhrActionFactory' => class Closure { ... }, 'Avmoz\\application\\http\\dispatcher\\HttpDispatcher' => class Closure { ... }, 'Avmoz\\application\\xhr\\dispatcher\\XhrDispatcher' => class Closure { ... }, 'Avmoz\\application\\xhr\\JsonResponseBuilder' => class Closure { ... }, 'Avmoz\\domain\\form\\FormDefinitionRepositoryInterface' => class Closure { ... }, 'Avmoz\\application\\form\\CsrfTokenManagerInterface' => class Closure { ... }, 'Avmoz\\application\\form\\FormBuilderInterface' => class Closure { ... }, 'Avmoz\\application\\form\\RuleRegistryInterface' => class Closure { ... }, 'Avmoz\\application\\form\\FieldsValidatorInterface' => class Closure { ... }, 'Avmoz\\application\\xhr\\process\\LoginRequestProcess' => class Closure { ... }, 'Avmoz\\application\\http\\handler\\TemplateRenderingFailureHandler' => class Closure { ... }, 'Avmoz\\application\\http\\handler\\HttpAuthenticationFailureHandler' => class Closure { ... }, 'Avmoz\\application\\xhr\\handler\\XhrAuthenticationFailureHandler' => class Closure { ... }, 'Avmoz\\application\\http\\handler\\HttpPermissionDeniedHandler' => class Closure { ... }, 'Avmoz\\application\\xhr\\handler\\XhrPermissionDeniedHandler' => class Closure { ... }, 'Avmoz\\application\\ControllerFactory' => class Closure { ... }, 'Avmoz\\application\\ControllerFactoryInterface' => class Closure { ... }, 'Avmoz\\application\\MainController' => class Closure { ... }, 'Avmoz\\infrastructure\\persistence\\HttpModelRegistry' => class Closure { ... }]; private array $instances = ['Avmoz\\application\\ControllerFactory' => class Avmoz\application\ControllerFactory { ... }, 'Avmoz\\application\\ControllerFactoryInterface' => class Avmoz\application\ControllerFactory { ... }, 'Avmoz\\application\\MainController' => class Avmoz\application\MainController { ... }, 'Avmoz\\infrastructure\\config\\Config' => class Avmoz\infrastructure\config\Config { ... }, 'Avmoz\\domain\\persistence\\DatabaseInterface' => class Avmoz\infrastructure\persistence\Database { ... }, 'Avmoz\\domain\\user\\UserRepositoryInterface' => class Avmoz\infrastructure\persistence\UserRepository { ... }, 'Avmoz\\infrastructure\\session\\NativeSession' => class Avmoz\infrastructure\session\NativeSession { ... }, 'Avmoz\\infrastructure\\session\\SessionInterface' => class Avmoz\infrastructure\session\NativeSession { ... }, 'Avmoz\\infrastructure\\authentication\\CookieSetterInterface' => class Avmoz\infrastructure\authentication\GlobalCookieSetter { ... }, 'Avmoz\\infrastructure\\authentication\\CookieManager' => class Avmoz\infrastructure\authentication\CookieManager { ... }] } ).../DIContainer.php:65
70.0027456680Avmoz\infrastructure\authentication\JwtCookies->__construct( $config = 'xOOBuGFlmIjkMtTaPZlIv0nDYGu/mIPV/l7bfRnd3sUoW552zRMuUVkvPLp+p/fuPt006lvC8QpVtDzmiWQsew==', $cookieManager = class Avmoz\infrastructure\config\Config { }, $tokenManager = class Avmoz\infrastructure\authentication\CookieManager { private readonly Avmoz\infrastructure\authentication\CookieSetterInterface $cookieSetter = class Avmoz\infrastructure\authentication\GlobalCookieSetter { } } ).../AuthenticationProvider.php:80