( ! ) Fatal error: Uncaught TypeError: Avmoz\infrastructure\authentication\CookieManager::__construct(): Argument #1 ($cookieSetter) must be of type Avmoz\infrastructure\authentication\CookieSetterInterface, Avmoz\infrastructure\config\Config given, called in /var/www/AvMoz-Codebase/bootstrap/app.php on line 121 and defined in /var/www/AvMoz-Codebase/source-code/infrastructure/authentication/CookieManager.php on line 10
( ! ) TypeError: Avmoz\infrastructure\authentication\CookieManager::__construct(): Argument #1 ($cookieSetter) must be of type Avmoz\infrastructure\authentication\CookieSetterInterface, Avmoz\infrastructure\config\Config given, called in /var/www/AvMoz-Codebase/bootstrap/app.php on line 121 in /var/www/AvMoz-Codebase/source-code/infrastructure/authentication/CookieManager.php on line 10
Call Stack
#TimeMemoryFunctionLocation
10.0001381768{main}( ).../index.php:0
20.0009387544require_once( '/var/www/AvMoz-Codebase/bootstrap/app.php ).../index.php:55
30.0010400048Avmoz\application\MainController->run( ).../app.php:227
40.0010400048Avmoz\infrastructure\core\DIContainer->get( $id = 'Avmoz\\application\\authentication\\AutoLog' ).../MainController.php:77
50.0010400048{closure:/var/www/AvMoz-Codebase/bootstrap/app.php:133-137}( $c = class Avmoz\infrastructure\core\DIContainer { private array $recipes = ['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\\config\\Config' => class Closure { ... }, 'Avmoz\\infrastructure\\session\\Session' => class Closure { ... }, 'Avmoz\\domain\\persistence\\DatabaseInterface' => class Closure { ... }, 'Avmoz\\infrastructure\\authentication\\CookieManager' => class Closure { ... }, 'Avmoz\\domain\\user\\UserRepositoryInterface' => class Closure { ... }, 'Avmoz\\application\\http\\ModelFactory' => class Closure { ... }, 'Avmoz\\application\\xhr\\XhrActionFactory' => class Closure { ... }, 'Avmoz\\application\\authentication\\AutoLog' => class Closure { ... }, 'Avmoz\\infrastructure\\authentication\\JwtCookies' => class Closure { ... }, 'Avmoz\\application\\http\\dispatcher\\HttpDispatcher' => class Closure { ... }, 'Avmoz\\application\\xhr\\dispatcher\\XhrDispatcher' => class Closure { ... }, 'Avmoz\\application\\xhr\\JsonResponseBuilder' => class Closure { ... }, 'Avmoz\\application\\http\\handler\\AuthenticationFailureHandler' => class Closure { ... }, 'Avmoz\\application\\http\\handler\\TemplateRenderingFailureHandler' => class Closure { ... }, 'Avmoz\\application\\authentication\\VisitorIdentifierInterface' => class Closure { ... }, 'Avmoz\\infrastructure\\authentication\\PersonCookieInterface' => class Closure { ... }, 'FormDefinitionRepositoryInterface' => class Closure { ... }, 'CsrfTokenManagerInterface' => class Closure { ... }, 'Avmoz\\application\\form\\FormBuilderInterface' => class Closure { ... }, 'Avmoz\\application\\form\\FormValidatorInterface' => class Closure { ... }]; private array $instances = ['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\\Session' => class Avmoz\infrastructure\session\Session { ... }] } ).../DIContainer.php:65
60.0020443568Avmoz\infrastructure\core\DIContainer->get( $id = 'Avmoz\\infrastructure\\authentication\\JwtCookies' ).../app.php:136
70.0020443568{closure:/var/www/AvMoz-Codebase/bootstrap/app.php:141-147}( $c = class Avmoz\infrastructure\core\DIContainer { private array $recipes = ['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\\config\\Config' => class Closure { ... }, 'Avmoz\\infrastructure\\session\\Session' => class Closure { ... }, 'Avmoz\\domain\\persistence\\DatabaseInterface' => class Closure { ... }, 'Avmoz\\infrastructure\\authentication\\CookieManager' => class Closure { ... }, 'Avmoz\\domain\\user\\UserRepositoryInterface' => class Closure { ... }, 'Avmoz\\application\\http\\ModelFactory' => class Closure { ... }, 'Avmoz\\application\\xhr\\XhrActionFactory' => class Closure { ... }, 'Avmoz\\application\\authentication\\AutoLog' => class Closure { ... }, 'Avmoz\\infrastructure\\authentication\\JwtCookies' => class Closure { ... }, 'Avmoz\\application\\http\\dispatcher\\HttpDispatcher' => class Closure { ... }, 'Avmoz\\application\\xhr\\dispatcher\\XhrDispatcher' => class Closure { ... }, 'Avmoz\\application\\xhr\\JsonResponseBuilder' => class Closure { ... }, 'Avmoz\\application\\http\\handler\\AuthenticationFailureHandler' => class Closure { ... }, 'Avmoz\\application\\http\\handler\\TemplateRenderingFailureHandler' => class Closure { ... }, 'Avmoz\\application\\authentication\\VisitorIdentifierInterface' => class Closure { ... }, 'Avmoz\\infrastructure\\authentication\\PersonCookieInterface' => class Closure { ... }, 'FormDefinitionRepositoryInterface' => class Closure { ... }, 'CsrfTokenManagerInterface' => class Closure { ... }, 'Avmoz\\application\\form\\FormBuilderInterface' => class Closure { ... }, 'Avmoz\\application\\form\\FormValidatorInterface' => class Closure { ... }]; private array $instances = ['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\\Session' => class Avmoz\infrastructure\session\Session { ... }] } ).../DIContainer.php:65
80.0020443952Avmoz\infrastructure\core\DIContainer->get( $id = 'Avmoz\\infrastructure\\authentication\\CookieManager' ).../app.php:146
90.0021443952{closure:/var/www/AvMoz-Codebase/bootstrap/app.php:121-123}( $c = class Avmoz\infrastructure\core\DIContainer { private array $recipes = ['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\\config\\Config' => class Closure { ... }, 'Avmoz\\infrastructure\\session\\Session' => class Closure { ... }, 'Avmoz\\domain\\persistence\\DatabaseInterface' => class Closure { ... }, 'Avmoz\\infrastructure\\authentication\\CookieManager' => class Closure { ... }, 'Avmoz\\domain\\user\\UserRepositoryInterface' => class Closure { ... }, 'Avmoz\\application\\http\\ModelFactory' => class Closure { ... }, 'Avmoz\\application\\xhr\\XhrActionFactory' => class Closure { ... }, 'Avmoz\\application\\authentication\\AutoLog' => class Closure { ... }, 'Avmoz\\infrastructure\\authentication\\JwtCookies' => class Closure { ... }, 'Avmoz\\application\\http\\dispatcher\\HttpDispatcher' => class Closure { ... }, 'Avmoz\\application\\xhr\\dispatcher\\XhrDispatcher' => class Closure { ... }, 'Avmoz\\application\\xhr\\JsonResponseBuilder' => class Closure { ... }, 'Avmoz\\application\\http\\handler\\AuthenticationFailureHandler' => class Closure { ... }, 'Avmoz\\application\\http\\handler\\TemplateRenderingFailureHandler' => class Closure { ... }, 'Avmoz\\application\\authentication\\VisitorIdentifierInterface' => class Closure { ... }, 'Avmoz\\infrastructure\\authentication\\PersonCookieInterface' => class Closure { ... }, 'FormDefinitionRepositoryInterface' => class Closure { ... }, 'CsrfTokenManagerInterface' => class Closure { ... }, 'Avmoz\\application\\form\\FormBuilderInterface' => class Closure { ... }, 'Avmoz\\application\\form\\FormValidatorInterface' => class Closure { ... }]; private array $instances = ['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\\Session' => class Avmoz\infrastructure\session\Session { ... }] } ).../DIContainer.php:65
100.0021444104Avmoz\infrastructure\authentication\CookieManager->__construct( $cookieSetter = class Avmoz\infrastructure\config\Config { } ).../app.php:121