( ! ) Fatal error: Uncaught TypeError: Avmoz\application\http\handler\AuthenticationFailureHandler::__construct(): Argument #1 ($dispatcher) must be of type Avmoz\application\http\dispatcher\HttpDispatcher, Avmoz\infrastructure\view\View given, called in /var/www/AvMoz-Codebase/bootstrap/app.php on line 80 and defined in /var/www/AvMoz-Codebase/source-code/application/http/handler/AuthenticationFailureHandler.php on line 22 | ||||
---|---|---|---|---|
( ! ) TypeError: Avmoz\application\http\handler\AuthenticationFailureHandler::__construct(): Argument #1 ($dispatcher) must be of type Avmoz\application\http\dispatcher\HttpDispatcher, Avmoz\infrastructure\view\View given, called in /var/www/AvMoz-Codebase/bootstrap/app.php on line 80 in /var/www/AvMoz-Codebase/source-code/application/http/handler/AuthenticationFailureHandler.php on line 22 | ||||
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 382216 | {main}( ) | .../index.php:0 |
2 | 0.0008 | 387904 | require_once( '/var/www/AvMoz-Codebase/bootstrap/app.php ) | .../index.php:55 |
3 | 0.0010 | 397720 | Avmoz\application\MainController->run( ) | .../app.php:94 |
4 | 0.0056 | 469720 | Avmoz\infrastructure\core\DIContainer->get( $id = 'Avmoz\\application\\http\\handler\\AuthenticationFailureHandler' ) | .../MainController.php:34 |
5 | 0.0056 | 469720 | {closure:/var/www/AvMoz-Codebase/bootstrap/app.php:80-84}( $c = 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 { ... }, 'Avmoz\\application\\http\\dispatcher\\HttpDispatcher' => class Avmoz\application\http\dispatcher\HttpDispatcher { ... }, 'Avmoz\\application\\http\\ModelFactory' => class Avmoz\application\http\ModelFactory { ... }, 'Smarty\\Smarty' => class Smarty\Smarty { ... }, 'League\\CommonMark\\CommonMarkConverter' => class League\CommonMark\CommonMarkConverter { ... }, 'Avmoz\\application\\service\\ContentProcessor' => class Avmoz\application\service\ContentProcessor { ... }, 'Avmoz\\application\\service\\HtmlMinifier' => class Avmoz\application\service\HtmlMinifier { ... }, 'Avmoz\\infrastructure\\view\\ViewInterface' => class Avmoz\infrastructure\view\View { ... }] } ) | .../DIContainer.php:65 |
6 | 0.0060 | 470184 | Avmoz\application\http\handler\AuthenticationFailureHandler->__construct( $dispatcher = class Avmoz\infrastructure\view\View { private Smarty\Smarty $smarty = class Smarty\Smarty { protected $smarty = NULL; public $tpl_vars = [...]; public $parent = NULL; public $config_vars = [...]; private ${Smarty\Data}_var_stack = [...]; private ${Smarty\Data}_config_stack = [...]; protected $defaultScope = 1; public $cache_id = NULL; public $compile_id = NULL; public $caching = 0; public $compile_check = 1; public $cache_lifetime = 3600; public $tplFunctions = [...]; private ${Smarty\TemplateBase}debug = NULL; public $auto_literal = TRUE; public $error_unassigned = FALSE; public $_templateDirNormalized = FALSE; public $_joined_template_dir = NULL; public $_configDirNormalized = FALSE; public $_joined_config_dir = NULL; public $default_template_handler_func = NULL; public $default_config_handler_func = NULL; private $default_plugin_handler_func = NULL; public $_compileDirNormalized = TRUE; public $_cacheDirNormalized = TRUE; public $force_compile = FALSE; public $use_sub_dirs = FALSE; public $merge_compiled_includes = FALSE; public $force_cache = FALSE; private $left_delimiter = '{'; private $right_delimiter = '}'; public $literals = [...]; public $security_class = 'Smarty\\Security'; public $security_policy = NULL; public $debugging = FALSE; public $debugging_ctrl = 'NONE'; public $smarty_debug_id = 'SMARTY_DEBUG'; public $debug_tpl = NULL; public $error_reporting = NULL; public $config_overwrite = TRUE; public $config_booleanize = TRUE; public $config_read_hidden = FALSE; public $compile_locking = TRUE; public $cache_locking = FALSE; public $locking_timeout = 10; public $default_resource_type = 'file'; private $cacheResource = class Smarty\Cacheresource\File { ... }; public $default_config_type = 'file'; public $cache_modified_check = FALSE; public $registered_plugins = [...]; public $registered_objects = [...]; public $registered_classes = [...]; public $registered_resources = [...]; private $registered_cache_resources = [...]; public $default_modifiers = [...]; public $escape_html = FALSE; public $start_time = 1760536649.744861; public $_parserdebug = FALSE; public $_debug = NULL; protected $template_dir = [...]; protected $_processedTemplateDir = [...]; protected $config_dir = [...]; protected $_processedConfigDir = [...]; protected $compile_dir = '/var/www/oophp.uk/CompiledCode/'; protected $cache_dir = '/var/www/oophp.uk/cache/'; private $isMutingUndefinedOrNullWarnings = FALSE; public $_resource_handlers = [...]; public $_cacheresource_handlers = [...]; private $extensions = [...]; private $BCPluginsAdapter = class Smarty\Extension\BCPluginsAdapter { ... }; private $templates = [...]; private $runtimes = [...]; private $_caching_type = 'file' }; private Avmoz\application\service\ContentProcessor $processor = class Avmoz\application\service\ContentProcessor { private League\CommonMark\CommonMarkConverter $converter = class League\CommonMark\CommonMarkConverter { ... } }; private Avmoz\application\service\HtmlMinifier $minifier = class Avmoz\application\service\HtmlMinifier { }; private string $deviceType = 'computer' }, $view = class Avmoz\domain\user\User { public readonly string $uuid = 'e3ba3166-a9ce-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 }, $user = class Avmoz\infrastructure\session\Session { public bool $auth = FALSE; public string $sid = *uninitialized*; public ?string $message = NULL; public string $log = '/var/www/siteLogs/programLogs/oophp.uk.log' }, $session = ??? ) | .../app.php:80 |