Whoops, looks like something went wrong.

(1/1) TypeError

Argument 1 passed to TYPO3\CMS\FrontendEditing\Hook\FrontendEditingInitializationHook::isFrontendEditingEnabled() must be an instance of TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController, null given, called in /html/typo3/typo3conf/ext/frontend_editing/Classes/Hook/FrontendEditingInitializationHook.php on line 117

in /html/typo3/typo3conf/ext/frontend_editing/Classes/Hook/FrontendEditingInitializationHook.php line 136
     *
     * @param TypoScriptFrontendController $tsfe
     * @return bool
     */
    protected function isFrontendEditingEnabled(TypoScriptFrontendController $tsfe): bool
    {
        $this->accessService = GeneralUtility::makeInstance(AccessService::class);

        if ($this->accessService->isEnabled() && $tsfe->type === 0) {
at TYPO3\CMS\FrontendEditing\Hook\FrontendEditingInitializationHook->isFrontendEditingEnabled(null)
in /html/typo3/typo3conf/ext/frontend_editing/Classes/Hook/FrontendEditingInitializationHook.php line 117
            // @extensionScannerIgnoreLine
            && isset($GLOBALS['TYPO3_REQUEST'])
            // @extensionScannerIgnoreLine
            && $GLOBALS['TYPO3_REQUEST']->getAttribute('site') instanceof Site
            && $this->isFrontendEditingEnabled($GLOBALS['TSFE'])
        ) {
            $this->isSiteConfigurationFound = true;

            $GLOBALS['TSFE']->fePreview = 0;
at TYPO3\CMS\FrontendEditing\Hook\FrontendEditingInitializationHook->__construct()
in /html/typo3_src-10.4.36/typo3/sysext/core/Classes/Utility/GeneralUtility.php line 3492
            return self::$container->get($className);
        }

        // Create new instance and call constructor with parameters
        $instance = new $finalClassName(...$constructorArguments);
        // Register new singleton instance, but only if it is not a known PSR-11 container service
        if ($instance instanceof SingletonInterface && !(self::$container !== null && self::$container->has($className))) {
            self::$singletonInstances[$finalClassName] = $instance;
        }
at TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\FrontendEditing\\Hook\\FrontendEditingInitializationHook')
in /html/typo3_src-10.4.36/typo3/sysext/core/Classes/Utility/GeneralUtility.php line 3388
            // It's a class/method
            // Check if class/method exists:
            if (class_exists($parts[0])) {
                // Create object
                $classObj = self::makeInstance($parts[0]);
                $methodName = (string)$parts[1];
                $callable = [$classObj, $methodName];
                if (is_callable($callable)) {
                    // Call method:
at TYPO3\CMS\Core\Utility\GeneralUtility::callUserFunction('TYPO3\\CMS\\FrontendEditing\\Hook\\FrontendEditingInitializationHook->unsetPageSetup', array('config' => array('pageTitleProviders.' => array('record.' => array('provider' => 'TYPO3\\CMS\\Core\\PageTitle\\RecordPageTitleProvider'), 'seo.' => array('provider' => 'TYPO3\\CMS\\Seo\\PageTitle\\SeoTitlePageTitleProvider', 'before' => 'record'), 'news.' => array('provider' => 'GeorgRinger\\News\\Seo\\NewsTitleProvider', 'before' => 'altPageTitle,record,seo'), 'nnhelpers.' => array('provider' => 'Nng\\Nnhelpers\\Provider\\PageTitleProvider', 'before' => 'record', 'after' => 'altPageTitle')), 'tx_extbase.' => array('persistence.' => array('classes.' => array('SJBR\StaticInfoTables\Domain\Model\Country.' => array('mapping.' => array('columns.' => array('cn_short_de.' => array('mapOnProperty' => 'shortNameDe'), 'cn_address_format.' => array('mapOnProperty' => 'addressFormat'), 'cn_capital.' => array('mapOnProperty' => 'capitalCity'), 'cn_currency_iso_3.' => array('mapOnProperty' => 'currencyIsoCodeA3'), 'cn_currency_iso_nr.' => array('mapOnProperty' => 'currencyIsoCodeNumber'), 'cn_eu_member.' => array('mapOnProperty' => 'euMember'), 'cn_iso_2.' => array('mapOnProperty' => 'isoCodeA2'), 'cn_iso_3.' => array('mapOnProperty' => 'isoCodeA3'), 'cn_iso_nr.' => array('mapOnProperty' => 'isoCodeNumber'), 'cn_official_name_local.' => array('mapOnProperty' => 'officialNameLocal'), 'cn_official_name_en.' => array('mapOnProperty' => 'officialNameEn'), 'cn_parent_tr_iso_nr.' => array('mapOnProperty' => 'parentTerritoryUnCodeNumber'), 'cn_phone.' => array('mapOnProperty' => 'phonePrefix'), 'cn_short_local.' => array('mapOnProperty' => 'shortNameLocal'), 'cn_short_en.' => array('mapOnProperty' => 'shortNameEn'), 'cn_tldomain.' => array('mapOnProperty' => 'topLevelDomain'), 'cn_uno_member.' => array('mapOnProperty' => 'unMember'), 'cn_zone_flag.' => array('mapOnProperty' => 'zoneFlag'), 'cn_country_zones.' => array('mapOnProperty' => 'countryZones'), 'deleted.' => array('mapOnProperty' => 'deleted')), 'tableName' => 'static_countries')), 'SJBR\StaticInfoTables\Domain\Model\CountryZone.' => array('mapping.' => array('columns.' => array('zn_name_de.' => array('mapOnProperty' => 'nameDe'), 'zn_country_iso_2.' => array('mapOnProperty' => 'countryIsoCodeA2'), 'zn_country_iso_3.' => array('mapOnProperty' => 'countryIsoCodeA3'), 'zn_country_iso_nr.' => array('mapOnProperty' => 'countryIsoCodeNumber'), 'zn_code.' => array('mapOnProperty' => 'isoCode'), 'zn_name_local.' => array('mapOnProperty' => 'localName'), 'zn_name_en.' => array('mapOnProperty' => 'nameEn'), 'deleted.' => array('mapOnProperty' => 'deleted')), 'tableName' => 'static_country_zones')), 'SJBR\StaticInfoTables\Domain\Model\Currency.' => array('mapping.' => array('columns.' => array('cu_name_de.' => array('mapOnProperty' => 'nameDe'), 'cu_sub_name_de.' => array('mapOnProperty' => 'subdivisionNameDe'), 'cu_decimal_digits.' => array('mapOnProperty' => 'decimalDigits'), 'cu_decimal_point.' => array('mapOnProperty' => 'decimalPoint'), 'cu_sub_divisor.' => array('mapOnProperty' => 'divisor'), 'cu_iso_3.' => array('mapOnProperty' => 'isoCodeA3'), 'cu_iso_nr.' => array('mapOnProperty' => 'isoCodeNumber'), 'cu_name_en.' => array('mapOnProperty' => 'nameEn'), 'cu_sub_name_en.' => array('mapOnProperty' => 'subdivisionNameEn'), 'cu_sub_symbol_left.' => array('mapOnProperty' => 'subdivisionSymbolLeft'), 'cu_sub_symbol_right.' => array('mapOnProperty' => 'subdivisionSymbolRight'), 'cu_symbol_left.' => array('mapOnProperty' => 'symbolLeft'), 'cu_symbol_right.' => array('mapOnProperty' => 'symbolRight'), 'cu_thousands_point.' => array('mapOnProperty' => 'thousandsPoint'), 'deleted.' => array('mapOnProperty' => 'deleted')), 'tableName' => 'static_currencies')), 'SJBR\StaticInfoTables\Domain\Model\Language.' => array('mapping.' => array('columns.' => array('lg_name_de.' => array('mapOnProperty' => 'nameDe'), 'lg_collate_locale.' => array('mapOnProperty' => 'collatingLocale'), 'lg_country_iso_2.' => array('mapOnProperty' => 'countryIsoCodeA2'), 'lg_constructed.' => array('mapOnProperty' => 'constructedLanguage'), 'lg_iso_2.' => array('mapOnProperty' => 'isoCodeA2'), 'lg_name_local.' => array('mapOnProperty' => 'localName'), 'lg_name_en.' => array('mapOnProperty' => 'nameEn'), 'lg_sacred.' => array('mapOnProperty' => 'sacredLanguage'), 'lg_typo3.' => array('mapOnProperty' => 'typo3Code'), 'deleted.' => array('mapOnProperty' => 'deleted')), 'tableName' => 'static_languages')), 'SJBR\StaticInfoTables\Domain\Model\Territory.' => array('mapping.' => array('columns.' => array('tr_name_de.' => array('mapOnProperty' => 'nameDe'), 'tr_iso_nr.' => array('mapOnProperty' => 'unCodeNumber'), 'tr_name_en.' => array('mapOnProperty' => 'nameEn'), 'tr_parent_iso_nr.' => array('mapOnProperty' => 'parentTerritoryUnCodeNumber'), 'deleted.' => array('mapOnProperty' => 'deleted')), 'tableName' => 'static_territories')), 'GeorgRinger\News\Domain\Model\News.' => array('subclasses.' => array('GeorgRinger\\News\\Domain\\Model\\NewsDefault', 'GeorgRinger\\News\\Domain\\Model\\NewsInternal', 'GeorgRinger\\News\\Domain\\Model\\NewsExternal')), 'GeorgRinger\News\Domain\Model\NewsDefault.' => array('mapping.' => array('recordType' => '0', 'tableName' => 'tx_news_domain_model_news')), 'GeorgRinger\News\Domain\Model\NewsInternal.' => array('mapping.' => array('recordType' => '1', 'tableName' => 'tx_news_domain_model_news')), 'GeorgRinger\News\Domain\Model\NewsExternal.' => array('mapping.' => array('recordType' => '2', 'tableName' => 'tx_news_domain_model_news')), 'Nng\Nnhelpers\Domain\Model\File.' => array('mapping.' => array('tableName' => 'sys_file', 'columns.' => array('storage.' => array('mapOnProperty' => 'storageUid')))), 'Nng\Nnhelpers\Domain\Model\FileReference.' => array('mapping.' => array('tableName' => 'sys_file_reference', 'columns.' => array('uid_local.' => array('mapOnProperty' => 'file')))), 'GeorgRinger\News\Domain\Model\FileReference.' => array('mapping.' => array('tableName' => 'sys_file_reference')), 'GeorgRinger\News\Domain\Model\TtContent.' => array('mapping.' => array('tableName' => 'tt_content', 'columns.' => array('altText.' => array('mapOnProperty' => 'altText'), 'titleText.' => array('mapOnProperty' => 'titleText'), 'colPos.' => array('mapOnProperty' => 'colPos'), 'CType.' => array('mapOnProperty' => 'CType')))), 'GeorgRinger\News\Domain\Model\Category.' => array('mapping.' => array('tableName' => 'sys_category', 'columns.' => array('parent.' => array('mapOnProperty' => 'parentcategory')))), 'Nng\Nncalendar\Domain\Model\Category.' => array('mapping.' => array('recordType' => '0', 'tableName' => 'sys_category')), 'Nng\Nncalendar\Domain\Model\Rule.' => array('mapping.' => array('tableName' => 'tx_nncalendar_domain_model_rule', 'columns.' => array('deleted.' => array('mapOnProperty' => 'deleted')))), 'TYPO3\CMS\Extbase\Domain\Model\FrontendUser.' => array('subclasses.' => array('Tx_Nnfelogin_FrontendUser' => 'Nng\\Nnfelogin\\Domain\\Model\\FrontendUser')), 'Nng\Nnfelogin\Domain\Model\FrontendUser.' => array('mapping.' => array('tableName' => 'fe_users')), 'Nng\Nnfesubmit\Domain\Model\File.' => array('mapping.' => array('tableName' => 'sys_file')), 'SJBR\StaticInfoTables\Domain\Model\SystemLanguage.' => array('mapping.' => array('tableName' => 'sys_language', 'columns.' => array('title.' => array('mapOnProperty' => 'title'), 'static_lang_isocode.' => array('mapOnProperty' => 'isoLanguage')))), 'Nng\Nnsite\Domain\Model\FileReference.' => array('mapping.' => array('tableName' => 'sys_file_reference'))), 'enableAutomaticCacheClearing' => '1', 'updateReferenceIndex' => '1'), 'mvc.' => array('throwPageNotFoundExceptionIfActionCantBeResolved' => '0'), 'features.' => array('skipDefaultArguments' => '0', 'ignoreAllEnableFieldsInBe' => '0')), 'tx_dsgvo.' => array('clearer.' => array('core.' => array('sys_log.' => array('anonymize.' => array('where' => 'tstamp < UNIX_TIMESTAMP(DATE_SUB(now(), INTERVAL 7 DAY)) AND tstamp >= {lastRun}', 'fields' => 'IP'), 'deleteWhere' => 'tstamp < UNIX_TIMESTAMP(DATE_SUB(now(), INTERVAL 365 DAY))'), 'fe_users.' => array('deleteWhere' => 'deleted = 1')), 'tt_products.' => array('sys_products_orders.' => array('deleteWhere' => 'crdate < UNIX_TIMESTAMP(DATE_SUB(now(), INTERVAL 30 DAY))')), 'nnsubscribe.' => array('tx_nnsubscribe_domain_model_entry.' => array('deleteWhere' => 'crdate < UNIX_TIMESTAMP(DATE_SUB(now(), INTERVAL 7 DAY))')), 'tt_products_fluid.' => array('sys_products_orders.' => array('deleteWhere' => 'crdate < UNIX_TIMESTAMP(DATE_SUB(now(), INTERVAL 30 DAY))')), 'powermail.' => array('tx_powermail_domain_model_mails.' => array('anonymize.' => array('where' => 'crdate < UNIX_TIMESTAMP(DATE_SUB(now(), INTERVAL 7 DAY)) AND crdate >= {lastRun}', 'fields' => 'sender_ip,user_agent'), 'deleteWhere' => 'crdate < UNIX_TIMESTAMP(DATE_SUB(now(), INTERVAL 365 DAY))'), 'tx_powermail_domain_model_answers.' => array('deleteWhere' => 'crdate < UNIX_TIMESTAMP(DATE_SUB(now(), INTERVAL 365 DAY))'), 'tx_powermail_domain_model_mail.' => array('anonymize.' => array('where' => 'crdate < UNIX_TIMESTAMP(DATE_SUB(now(), INTERVAL 7 DAY)) AND crdate >= {lastRun}', 'fields' => 'sender_ip,user_agent'), 'deleteWhere' => 'crdate < UNIX_TIMESTAMP(DATE_SUB(now(), INTERVAL 365 DAY))'), 'tx_powermail_domain_model_answer.' => array('deleteWhere' => 'crdate < UNIX_TIMESTAMP(DATE_SUB(now(), INTERVAL 365 DAY))')), 'formhandler.' => array('tx_formhandler_log.' => array('deleteWhere' => 'crdate < UNIX_TIMESTAMP(DATE_SUB(now(), INTERVAL 365 DAY))')), 'nnsite_maillog.' => array('tx_nnsite_domain_model_maillog.' => array('deleteWhere' => 'crdate < UNIX_TIMESTAMP(DATE_SUB(now(), INTERVAL 365 DAY))')), 'tt_address.' => array('tt_address.' => array('deleteWhere' => 'deleted = 1')), 'comments.' => array('tx_comments_comments.' => array('deleteWhere' => 'deleted = 1')))), 'pageTitleFirst' => '0', 'enableContentLengthHeader' => '0', 'contentObjectExceptionHandler' => '0', 'spamProtectEmailAddresses' => '2', 'spamProtectEmailAddresses_atSubst' => '<span class="at"></span>', 'metaCharset' => 'utf-8', 'cache_period' => '86400', 'sendCacheHeaders' => '1', 'cache' => '1', 'no_cache' => '0', 'linkVars' => 'L', 'uniqueLinkVars' => '1', 'sys_language_uid' => '0', 'language' => 'de', 'locale_all' => 'de_DE.UTF8', 'htmlTag_langKey' => 'de', 'sys_language_mode' => 'ignore', 'sys_language_overlay' => 'hideNonTranslated', 'headerComment' => '##################################| Realisation: || www.99grad.de info@99grad.de |##################################', 'frontend_editing' => '1', 'disablePrefixComment' => '1', 'index_externals' => '1', 'index_enable' => '1', 'removeDefaultJS' => 'external', 'inlineStyle2TempFile' => 1, 'compressJs' => 0, 'absRefPrefix' => 'auto')), object(TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController))
in /html/typo3_src-10.4.36/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php line 2205

        // Hook for postProcessing the configuration array
        $params = ['config' => &$this->config['config']];
        foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['configArrayPostProc'] ?? [] as $funcRef) {
            GeneralUtility::callUserFunction($funcRef, $params, $this);
        }
    }

    /********************************************
at TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->getConfigArray()
in /html/typo3_src-10.4.36/typo3/sysext/redirects/Classes/Service/RedirectService.php line 372
        );
        $controller->fe_user = $frontendUserAuthentication;
        $controller->fetch_the_id();
        $controller->calculateLinkVars($queryParams);
        $controller->getConfigArray();
        $controller->settingLanguage();
        $controller->newCObj();
        if (!$GLOBALS['TSFE'] instanceof TypoScriptFrontendController) {
            $GLOBALS['TSFE'] = $controller;
at TYPO3\CMS\Redirects\Service\RedirectService->bootFrontendController(object(TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication), object(TYPO3\CMS\Core\Site\Entity\Site), array())
in /html/typo3_src-10.4.36/typo3/sysext/redirects/Classes/Service/RedirectService.php line 310
    {
        if (!isset($linkDetails['type'], $GLOBALS['TYPO3_CONF_VARS']['FE']['typolinkBuilder'][$linkDetails['type']])) {
            return null;
        }
        $controller = $this->bootFrontendController($frontendUserAuthentication, $site, $queryParams);
        /** @var AbstractTypolinkBuilder $linkBuilder */
        $linkBuilder = GeneralUtility::makeInstance(
            $GLOBALS['TYPO3_CONF_VARS']['FE']['typolinkBuilder'][$linkDetails['type']],
            $controller->cObj,
at TYPO3\CMS\Redirects\Service\RedirectService->getUriFromCustomLinkDetails(array('uid' => 56, 'pid' => 0, 'updatedon' => 1563883370, 'createdon' => 1563883370, 'createdby' => 2, 'deleted' => 0, 'disabled' => 0, 'starttime' => 0, 'endtime' => 0, 'source_host' => '*', 'source_path' => '/magie-erleben.html', 'is_regexp' => 0, 'force_https' => 0, 'respect_query_parameters' => 0, 'keep_query_parameters' => 0, 'target' => 't3://page?uid=5', 'target_statuscode' => 301, 'hitcount' => 0, 'lasthiton' => 0, 'disable_hitcount' => 0), object(TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication), object(TYPO3\CMS\Core\Site\Entity\Site), array('pageuid' => '5', 'type' => 'page'), array())
in /html/typo3_src-10.4.36/typo3/sysext/redirects/Classes/Service/RedirectService.php line 269
        if (($site === null || $site instanceof NullSite) && $linkDetails['type'] === 'page') {
            $site = $this->siteFinder->getSiteByPageId((int)$linkDetails['pageuid']);
        }
        // If it's a record or page, then boot up TSFE and use typolink
        return $this->getUriFromCustomLinkDetails($matchedRedirect, $frontendUserAuthentication, $site, $linkDetails, $queryParams);
    }

    /**
     * Adds query parameters to a Uri object
at TYPO3\CMS\Redirects\Service\RedirectService->getTargetUrl(array('uid' => 56, 'pid' => 0, 'updatedon' => 1563883370, 'createdon' => 1563883370, 'createdby' => 2, 'deleted' => 0, 'disabled' => 0, 'starttime' => 0, 'endtime' => 0, 'source_host' => '*', 'source_path' => '/magie-erleben.html', 'is_regexp' => 0, 'force_https' => 0, 'respect_query_parameters' => 0, 'keep_query_parameters' => 0, 'target' => 't3://page?uid=5', 'target_statuscode' => 301, 'hitcount' => 0, 'lasthiton' => 0, 'disable_hitcount' => 0), array(), object(TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication), object(TYPO3\CMS\Core\Http\Uri), object(TYPO3\CMS\Core\Site\Entity\Site))
in /html/typo3_src-10.4.36/typo3/sysext/redirects/Classes/Http/Middleware/RedirectHandler.php line 79
            $globalRequestSet = ($GLOBALS['TYPO3_REQUEST'] ?? null) instanceof ServerRequestInterface;
            if (!$globalRequestSet) {
                $GLOBALS['TYPO3_REQUEST'] = $request;
            }
            $url = $this->redirectService->getTargetUrl($matchedRedirect, $request->getQueryParams(), $request->getAttribute('frontend.user'), $request->getUri(), $request->getAttribute('site'));
            if ($url instanceof UriInterface) {
                if ($this->redirectUriWillRedirectToCurrentUri($request, $url)) {
                    if ($url->getFragment()) {
                        // Enrich error message for unsharp check with target url fragment.
at TYPO3\CMS\Redirects\Http\Middleware\RedirectHandler->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$11c))
in /html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$11c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3_src-10.4.36/typo3/sysext/frontend/Classes/Middleware/FrontendUserAuthenticator.php line 83
        // Register the frontend user as aspect and within the session
        $this->setFrontendUserAspect($frontendUser);
        $request = $request->withAttribute('frontend.user', $frontendUser);

        $response = $handler->handle($request);

        // Store session data for fe_users if it still exists
        if ($frontendUser instanceof FrontendUserAuthentication) {
            $frontendUser->storeSessionData();
at TYPO3\CMS\Frontend\Middleware\FrontendUserAuthenticator->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$11c))
in /html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$11c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3_src-10.4.36/typo3/sysext/frontend/Classes/Middleware/BackendUserAuthenticator.php line 66
            Bootstrap::loadExtTables();
            $this->setBackendUserAspect($GLOBALS['BE_USER']);
        }

        $response = $handler->handle($request);

        // If, when building the response, the user is still available, then ensure that the headers are sent properly
        if ($this->context->getAspect('backend.user')->isLoggedIn()) {
            return $this->applyHeadersToResponse($response);
at TYPO3\CMS\Frontend\Middleware\BackendUserAuthenticator->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$11c))
in /html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$11c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3_src-10.4.36/typo3/sysext/frontend/Classes/Middleware/MaintenanceMode.php line 55
        ) {
            return GeneralUtility::makeInstance(ErrorController::class)->unavailableAction($request, 'This page is temporarily unavailable.');
        }
        // Continue the regular stack if no maintenance mode is active
        return $handler->handle($request);
    }
}
at TYPO3\CMS\Frontend\Middleware\MaintenanceMode->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$11c))
in /html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$11c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3_src-10.4.36/typo3/sysext/frontend/Classes/Middleware/SiteResolver.php line 65
        $request = $request->withAttribute('routing', $routeResult);
        if ($routeResult->getLanguage() instanceof SiteLanguage) {
            Locales::setSystemLocaleFromSiteLanguage($routeResult->getLanguage());
        }
        return $handler->handle($request);
    }
}
at TYPO3\CMS\Frontend\Middleware\SiteResolver->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$11c))
in /html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$11c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/typo3conf/ext/nnaddress/Classes/Middleware/NnaddressResolver.php line 33
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface {

  $e = $request->getParsedBody()['e'] ?? $request->getQueryParams()['e'] ?? null;
        if ($e !== 'nnaddress') return $handler->handle($request);

        ob_clean();

  \nn\t3::Tsfe()->init();
at Nng\Nnaddress\Middleware\NnaddressResolver->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$11c))
in /html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$11c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3_src-10.4.36/typo3/sysext/frontend/Classes/Middleware/EidHandler.php line 64
    {
        $eID = $request->getParsedBody()['eID'] ?? $request->getQueryParams()['eID'] ?? null;

        if ($eID === null) {
            return $handler->handle($request);
        }

        // Remove any output produced until now
        ob_clean();
at TYPO3\CMS\Frontend\Middleware\EidHandler->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$11c))
in /html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$11c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3_src-10.4.36/typo3/sysext/core/Classes/Middleware/NormalizedParamsAttribute.php line 45
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        $request = $request->withAttribute('normalizedParams', NormalizedParams::createFromRequest($request));
        return $handler->handle($request);
    }
}
at TYPO3\CMS\Core\Middleware\NormalizedParamsAttribute->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$11c))
in /html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$11c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3_src-10.4.36/typo3/sysext/frontend/Classes/Middleware/TimeTrackerInitialization.php line 58
        $this->timeTracker->setEnabled($timeTrackingEnabled);
        $this->timeTracker->start(microtime(true));
        $this->timeTracker->push('');

        $response = $handler->handle($request);

        // Finish time tracking
        $this->timeTracker->pull();
        $this->timeTracker->finish();
at TYPO3\CMS\Frontend\Middleware\TimeTrackerInitialization->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$11c))
in /html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$11c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 78
     * @return ResponseInterface
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        return $this->tip->handle($request);
    }

    /**
     * Seed the middleware stack with the inner request handler
at TYPO3\CMS\Core\Http\MiddlewareDispatcher->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/AbstractApplication.php line 85
     * @return ResponseInterface
     */
    protected function handle(ServerRequestInterface $request): ResponseInterface
    {
        return $this->requestHandler->handle($request);
    }

    /**
     * Set up the application and shut it down afterwards
at TYPO3\CMS\Core\Http\AbstractApplication->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3_src-10.4.36/typo3/sysext/frontend/Classes/Http/Application.php line 69
        // Create new request object having applicationType "I am a frontend request" attribute.
        $request = $request->withAttribute('applicationType', SystemEnvironmentBuilder::REQUESTTYPE_FE);

        $this->initializeContext();
        return parent::handle($request);
    }

    /**
     * Check if LocalConfiguration.php and PackageStates.php exist
at TYPO3\CMS\Frontend\Http\Application->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/AbstractApplication.php line 97
    final public function run(callable $execute = null)
    {
        try {
            $response = $this->handle(
                ServerRequestFactory::fromGlobals()
            );
            if ($execute !== null) {
                call_user_func($execute);
            }
at TYPO3\CMS\Core\Http\AbstractApplication->run()
in /html/typo3_src-10.4.36/index.php line 25
// Set up the application for the frontend
call_user_func(function () {
    $classLoader = require __DIR__.'/vendor/autoload.php';
    \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(0, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_FE);
    \TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Frontend\Http\Application::class)->run();
});
at {closure}()
in /html/typo3_src-10.4.36/index.php line 26
call_user_func(function () {
    $classLoader = require __DIR__.'/vendor/autoload.php';
    \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(0, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_FE);
    \TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Frontend\Http\Application::class)->run();
});