( ! ) Fatal error: Uncaught TypeError: Avmoz\application\http\controller\HttpController::__construct(): Argument #1 ($dispatcher) must be of type Avmoz\application\http\dispatcher\HttpDispatcher, Avmoz\infrastructure\core\DIContainer given, called in /var/www/AvMoz-Codebase/source-code/application/MainController.php on line 77 and defined in /var/www/AvMoz-Codebase/source-code/application/http/controller/HttpController.php on line 54
( ! ) TypeError: Avmoz\application\http\controller\HttpController::__construct(): Argument #1 ($dispatcher) must be of type Avmoz\application\http\dispatcher\HttpDispatcher, Avmoz\infrastructure\core\DIContainer given, called in /var/www/AvMoz-Codebase/source-code/application/MainController.php on line 77 in /var/www/AvMoz-Codebase/source-code/application/http/controller/HttpController.php on line 54
Call Stack
#TimeMemoryFunctionLocation
10.0001382056{main}( ).../index.php:0
20.0010387728require_once( '/var/www/AvMoz-Codebase/bootstrap/app.php ).../index.php:55
30.0012397544Avmoz\application\MainController->run( ).../app.php:94
40.0036444656Avmoz\application\http\controller\HttpController->__construct( $dispatcher = class Avmoz\infrastructure\core\DIContainer { private array $recipes = ['Avmoz\\infrastructure\\config\\Config' => class Closure { ... }, 'Avmoz\\infrastructure\\session\\Session' => class Closure { ... }, 'Avmoz\\domain\\persistence\\DatabaseInterface' => class Closure { ... }, 'Avmoz\\infrastructure\\authentication\\CookieManager' => class Closure { ... }, 'Smarty\\Smarty' => class Closure { ... }, 'League\\CommonMark\\CommonMarkConverter' => class Closure { ... }, 'Avmoz\\application\\service\\ContentProcessor' => class Closure { ... }, 'Avmoz\\application\\service\\HtmlMinifier' => class Closure { ... }, 'Avmoz\\domain\\user\\UserRepositoryInterface' => class Closure { ... }, 'Avmoz\\application\\http\\ModelFactory' => class Closure { ... }, 'Avmoz\\application\\xhr\\XhrActionFactory' => class Closure { ... }, 'Avmoz\\infrastructure\\view\\ViewInterface' => class Closure { ... }, 'Avmoz\\infrastructure\\authentication\\JwtCookies' => class Closure { ... }, 'Avmoz\\application\\authentication\\AutoLog' => class Closure { ... }, 'Avmoz\\application\\http\\dispatcher\\HttpDispatcher' => class Closure { ... }, 'Avmoz\\application\\xhr\\dispatcher\\XhrDispatcher' => class Closure { ... }, 'Avmoz\\application\\http\\handler\\AuthenticationFailureHandler' => class Closure { ... }, 'Avmoz\\application\\http\\handler\\TemplateRenderingFailureHandler' => 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 { ... }, 'Avmoz\\infrastructure\\authentication\\CookieManager' => class Avmoz\infrastructure\authentication\CookieManager { ... }, 'Avmoz\\infrastructure\\authentication\\JwtCookies' => class Avmoz\infrastructure\authentication\JwtCookies { ... }, 'Avmoz\\application\\authentication\\AutoLog' => class Avmoz\application\authentication\AutoLog { ... }] }, $modelFactory = class Avmoz\domain\user\User { public readonly string $uuid = 'd86e80a7-a9ca-11f0-952b-bc305bde3730'; public readonly int $id = 0; public readonly string $firstName = 'Guest'; public readonly string $lastName = 'User'; public readonly ?string $email = 'noreply@example.com'; public readonly ?int $organisationId = NULL; public readonly bool $loggedIn = FALSE; public readonly int $autoLog = 0 }, $view = '/property/database-concepts/normalization', $user = ???, $authFailureHandler = ???, $templateFailureHandler = ???, $cookiePolicyName = ??? ).../MainController.php:77