( ! ) 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 |
# | Time | Memory | Function | Location |
1 | 0.0001 | 381768 | {main}( ) | .../index.php:0 |
2 | 0.0009 | 387544 | require_once( '/var/www/AvMoz-Codebase/bootstrap/app.php ) | .../index.php:55 |
3 | 0.0010 | 400048 | Avmoz\application\MainController->run( ) | .../app.php:227 |
4 | 0.0010 | 400048 | Avmoz\infrastructure\core\DIContainer->get( $id = 'Avmoz\\application\\authentication\\AutoLog' ) | .../MainController.php:77 |
5 | 0.0010 | 400048 | {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 |
6 | 0.0020 | 443568 | Avmoz\infrastructure\core\DIContainer->get( $id = 'Avmoz\\infrastructure\\authentication\\JwtCookies' ) | .../app.php:136 |
7 | 0.0020 | 443568 | {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 |
8 | 0.0020 | 443952 | Avmoz\infrastructure\core\DIContainer->get( $id = 'Avmoz\\infrastructure\\authentication\\CookieManager' ) | .../app.php:146 |
9 | 0.0021 | 443952 | {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 |
10 | 0.0021 | 444104 | Avmoz\infrastructure\authentication\CookieManager->__construct( $cookieSetter = class Avmoz\infrastructure\config\Config { } ) | .../app.php:121 |