( ! ) Fatal error: Declaration of Avmoz\application\http\ModelFactory::create(string $modelIdentifier, Avmoz\application\http\dispatcher\PageInformationInterface $pageInfo, Avmoz\domain\persistence\DatabaseInterface $db, Avmoz\infrastructure\session\SessionInterface $session, Avmoz\infrastructure\view\ViewInterface $view, Avmoz\domain\user\UserInterface $user, array &$schemaArrays, Psr\Container\ContainerInterface $container): ?object must be compatible with Avmoz\application\http\ModelFactoryInterface::create(string $modelIdentifier, Avmoz\application\http\dispatcher\PageInformationInterface $pageInfo, Avmoz\domain\persistence\DatabaseInterface $db, Avmoz\infrastructure\session\Session $session, Avmoz\infrastructure\view\ViewInterface $view, Avmoz\domain\user\UserInterface $user, array &$schemaArrays, Psr\Container\ContainerInterface $container): ?object in /var/www/AvMoz-Codebase/source-code/application/http/ModelFactory.php on line 20
Call Stack
#TimeMemoryFunctionLocation
10.0001381688{main}( ).../index.php:0
20.0014405128Avmoz\application\MainController->run( ).../index.php:86
30.0028452504Avmoz\application\ControllerFactory->create( $isXhr = FALSE, $user = class Avmoz\domain\user\User { public readonly string $uuid = 'a559f1da-8d0b-4159-987e-45c80f3e7208'; 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 }, $requestUri = '/bc/7' ).../MainController.php:54
40.0029452840Avmoz\infrastructure\core\DIContainer->get( $id = 'Avmoz\\application\\http\\ModelFactory' ).../ControllerFactory.php:51
50.0029452840{closure:/var/www/AvMoz-Codebase/bootstrap/app.php:118-118}( $c = class Avmoz\infrastructure\core\DIContainer { private array $recipes = ['Psr\\Container\\ContainerInterface' => class Closure { ... }, 'Avmoz\\infrastructure\\config\\Config' => 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\\http\\ModelFactory' => class Closure { ... }, 'Avmoz\\application\\xhr\\XhrActionFactory' => 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\\application\\http\\dispatcher\\HttpDispatcher' => class Closure { ... }, 'Avmoz\\application\\xhr\\dispatcher\\XhrDispatcher' => class Closure { ... }, 'Avmoz\\application\\xhr\\JsonResponseBuilder' => 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\\domain\\form\\FormDefinitionRepositoryInterface' => class Closure { ... }, 'Avmoz\\application\\form\\CsrfTokenManagerInterface' => class Closure { ... }, 'Avmoz\\application\\form\\FormBuilderInterface' => class Closure { ... }, 'Avmoz\\application\\form\\FormValidatorInterface' => class Closure { ... }, 'Avmoz\\application\\ControllerFactory' => class Closure { ... }, 'Avmoz\\application\\ControllerFactoryInterface' => class Closure { ... }, 'Avmoz\\application\\MainController' => class Closure { ... }, 'Avmoz\\domain\\user\\UserInterface' => 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 { ... }, 'Avmoz\\infrastructure\\authentication\\JwtCookies' => class Avmoz\infrastructure\authentication\JwtCookies { ... }, 'Avmoz\\application\\authentication\\AutoLog' => class Avmoz\application\authentication\AutoLog { ... }, 'Avmoz\\application\\http\\dispatcher\\HttpDispatcher' => class Avmoz\application\http\dispatcher\HttpDispatcher { ... }] } ).../DIContainer.php:65
60.0029452936Composer\Autoload\ClassLoader->loadClass( $class = 'Avmoz\\application\\http\\ModelFactory' ).../app.php:118
70.0029452936{closure:/var/www/AvMoz-Codebase/vendor/composer/ClassLoader.php:575-577}( $file = '/var/www/AvMoz-Codebase/vendor/composer/../../source-code/application/http/ModelFactory.php' ).../ClassLoader.php:427
80.0029453320include( '/var/www/AvMoz-Codebase/source-code/application/http/ModelFactory.php ).../ClassLoader.php:576