in /html/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Site/Entity/Site.php line 246
{
if (isset($this->languages[$languageId])) {
return $this->languages[$languageId];
}
throw new \InvalidArgumentException(
'Language ' . $languageId . ' does not exist on site ' . $this->identifier . '.',
1522960188
);
}
at TYPO3\CMS\Core\Site\Entity\Site->getLanguageById(1)
in /html/tmp/typo3_src-10.4.23/typo3/sysext/seo/Classes/HrefLang/HrefLangGenerator.php line 130
if (!$site instanceof SiteInterface) {
return $this->getTypoScriptFrontendController()->page;
}
$targetSiteLanguage = $site->getLanguageById($languageId);
$languageAspect = LanguageAspectFactory::createFromSiteLanguage($targetSiteLanguage);
$context = clone GeneralUtility::makeInstance(Context::class);
$context->setAspect('language', $languageAspect);
at TYPO3\CMS\Seo\HrefLang\HrefLangGenerator->getTranslatedPageRecord(330, 1, object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/typo3/sysext/seo/Classes/HrefLang/HrefLangGenerator.php line 72
$pageId = (int)$this->getTypoScriptFrontendController()->id;
foreach ($languages['languagemenu'] as $language) {
if (!empty($language['link']) && $language['hreflang']) {
$page = $this->getTranslatedPageRecord($pageId, $language['languageId'], $event->getRequest());
// do not set hreflang if a page is not translated explicitly
if (empty($page)) {
continue;
}
at TYPO3\CMS\Seo\HrefLang\HrefLangGenerator->__invoke(object(TYPO3\CMS\Frontend\Event\ModifyHrefLangTagsEvent))
in /html/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/EventDispatcher/EventDispatcher.php line 51
if ($event instanceof StoppableEventInterface && $event->isPropagationStopped()) {
return $event;
}
foreach ($this->listenerProvider->getListenersForEvent($event) as $listener) {
$listener($event);
if ($event instanceof StoppableEventInterface && $event->isPropagationStopped()) {
break;
}
}
at TYPO3\CMS\Core\EventDispatcher\EventDispatcher->dispatch(object(TYPO3\CMS\Frontend\Event\ModifyHrefLangTagsEvent))
in /html/tmp/typo3_src-10.4.23/typo3/sysext/adminpanel/Classes/Service/EventDispatcher.php line 41
*/
public function dispatch(object $event)
{
$this->dispatchedEvents[] = $event;
return parent::dispatch($event);
}
}
at TYPO3\CMS\Adminpanel\Service\EventDispatcher->dispatch(object(TYPO3\CMS\Frontend\Event\ModifyHrefLangTagsEvent))
in /html/tmp/typo3_src-10.4.23/typo3/sysext/frontend/Classes/Http/RequestHandler.php line 1057
protected function generateHrefLangTags(TypoScriptFrontendController $controller, ServerRequestInterface $request): void
{
$hrefLangs = $this->eventDispatcher->dispatch(
new ModifyHrefLangTagsEvent($request)
)->getHrefLangs();
if (count($hrefLangs) > 1) {
$data = [];
foreach ($hrefLangs as $hrefLang => $href) {
at TYPO3\CMS\Frontend\Http\RequestHandler->generateHrefLangTags(object(TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController), object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/typo3/sysext/frontend/Classes/Http/RequestHandler.php line 720
foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['TYPO3\CMS\Frontend\Page\PageGenerator']['generateMetaTags'] ?? [] as $_funcRef) {
GeneralUtility::callUserFunction($_funcRef, $_params, $_ref);
}
$this->generateHrefLangTags($controller, $request);
$this->generateMetaTagHtml(
$controller->pSetup['meta.'] ?? [],
$controller->cObj
);
at TYPO3\CMS\Frontend\Http\RequestHandler->processHtmlBasedRenderingSettings(object(TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController), object(TYPO3\CMS\Core\Site\Entity\SiteLanguage), object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/typo3/sysext/frontend/Classes/Http/RequestHandler.php line 203
if ($controller->config['config']['disableAllHeaderCode'] ?? false) {
return $pageContent;
}
// Now, populate pageRenderer with all additional data
$this->processHtmlBasedRenderingSettings($controller, $controller->getLanguage(), $request);
$pageRenderer = $this->getPageRenderer();
// Add previously generated page content within the <body> tag afterwards
$pageRenderer->addBodyContent(LF . $pageContent);
if ($controller->isINTincScript()) {
at TYPO3\CMS\Frontend\Http\RequestHandler->generatePageContent(object(TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController), object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/typo3/sysext/frontend/Classes/Http/RequestHandler.php line 133
// Content generation
$this->timeTracker->incStackPointer();
$this->timeTracker->push($controller->sPre, 'PAGE');
$controller->content = $this->generatePageContent($controller, $request);
$this->timeTracker->pull($this->timeTracker->LR ? $controller->content : '');
$this->timeTracker->decStackPointer();
at TYPO3\CMS\Frontend\Http\RequestHandler->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/typo3/sysext/frontend/Classes/Middleware/OutputCompression.php line 48
// Throw away all output that may have happened during bootstrapping by weird extensions
ob_clean();
// Initialize output compression if configured
$this->initializeOutputCompression();
return $handler->handle($request);
}
/**
* Initialize output compression if configured
at TYPO3\CMS\Frontend\Middleware\OutputCompression->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(TYPO3\CMS\Frontend\Http\RequestHandler))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelDataPersister.php line 45
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$response = $handler->handle($request);
if (
!($response instanceof NullResponse)
&& $GLOBALS['TSFE'] instanceof TypoScriptFrontendController
&& $GLOBALS['TSFE']->isOutputting(true)
at TYPO3\CMS\Adminpanel\Middleware\AdminPanelDataPersister->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelRenderer.php line 47
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$response = $handler->handle($request);
if (
!($response instanceof NullResponse)
&& $GLOBALS['TSFE'] instanceof TypoScriptFrontendController
&& $GLOBALS['TSFE']->isOutputting(true)
at TYPO3\CMS\Adminpanel\Middleware\AdminPanelRenderer->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/typo3/sysext/frontend/Classes/Middleware/ContentLengthResponseHeader.php line 47
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$response = $handler->handle($request);
if (
!($response instanceof NullResponse)
&& $GLOBALS['TSFE'] instanceof TypoScriptFrontendController
&& $GLOBALS['TSFE']->isOutputting(true)) {
at TYPO3\CMS\Frontend\Middleware\ContentLengthResponseHeader->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/typo3/sysext/frontend/Classes/Middleware/ShortcutAndMountPointRedirect.php line 69
return new RedirectResponse($externalUrl, 303);
}
}
return $handler->handle($request);
}
protected function getRedirectUri(ServerRequestInterface $request): ?string
{
at TYPO3\CMS\Frontend\Middleware\ShortcutAndMountPointRedirect->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/typo3/sysext/frontend/Classes/Middleware/PrepareTypoScriptFrontendRendering.php line 86
$this->convertCharsetRecursivelyToUtf8($parsedBody, $this->controller->metaCharset);
$request = $request->withParsedBody($parsedBody);
}
}
return $handler->handle($request);
}
/**
* Small helper function to convert charsets for arrays to UTF-8
at TYPO3\CMS\Frontend\Middleware\PrepareTypoScriptFrontendRendering->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3conf/ext/frontend_editing/Classes/Middleware/FrontendEditingAspect.php line 56
// Change the sanitizer to allow the attributes used in Frontend Editing.
$GLOBALS['TYPO3_CONF_VARS']['SYS']['htmlSanitizer']['default'] =
\TYPO3\CMS\FrontendEditing\Html\FrontendEditingSanitizerBuilder::class;
}
return $handler->handle($request);
}
}
at TYPO3\CMS\FrontendEditing\Middleware\FrontendEditingAspect->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3conf/ext/frontend_editing/Classes/Middleware/FrontendEditingInitiator.php line 45
$GLOBALS['TSFE']->displayFieldEditIcons = 1;
// Disable cHash check when browsing the frontend in frontend editing
$GLOBALS['TYPO3_CONF_VARS']['FE']['pageNotFoundOnCHashError'] = false;
}
return $handler->handle($request);
}
}
at TYPO3\CMS\FrontendEditing\Middleware\FrontendEditingInitiator->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/typo3/sysext/frontend/Classes/Middleware/TypoScriptFrontendInitialization.php line 108
}
// Make TSFE globally available
$GLOBALS['TSFE'] = $controller;
return $handler->handle($request);
}
/**
* Register the backend user as aspect
at TYPO3\CMS\Frontend\Middleware\TypoScriptFrontendInitialization->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/typo3/sysext/frontend/Classes/Middleware/PreviewSimulator.php line 66
$previewAspect = GeneralUtility::makeInstance(PreviewAspect::class, $isPreview);
$this->context->setAspect('frontend.preview', $previewAspect);
}
return $handler->handle($request);
}
/**
* Simulate dates for preview functionality
at TYPO3\CMS\Frontend\Middleware\PreviewSimulator->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/typo3/sysext/adminpanel/Classes/Middleware/SqlLogging.php line 58
if (StateUtility::isActivatedForUser() && StateUtility::isOpen()) {
$connection = $this->connectionPool->getConnectionByName(ConnectionPool::DEFAULT_CONNECTION_NAME);
$connection->getConfiguration()->setSQLLogger(GeneralUtility::makeInstance(DoctrineSqlLogger::class));
}
return $handler->handle($request);
}
}
at TYPO3\CMS\Adminpanel\Middleware\SqlLogging->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/typo3/sysext/workspaces/Classes/Middleware/WorkspacePreviewPermissions.php line 47
$pageArguments = $request->getAttribute('routing', null);
if ($pageArguments instanceof PageArguments && $GLOBALS['BE_USER'] instanceof PreviewUserAuthentication) {
$GLOBALS['BE_USER']->setWebmounts([$pageArguments->getPageId()]);
}
return $handler->handle($request);
}
}
at TYPO3\CMS\Workspaces\Middleware\WorkspacePreviewPermissions->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/typo3/sysext/frontend/Classes/Middleware/PageArgumentValidator.php line 131
}
}
$request = $request->withAttribute('noCache', $this->disableCache);
return $handler->handle($request);
}
/**
* Filters out the arguments that are necessary for calculating cHash
at TYPO3\CMS\Frontend\Middleware\PageArgumentValidator->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/typo3/sysext/frontend/Classes/Middleware/PageResolver.php line 106
// merge the PageArguments with the request query parameters
$queryParams = array_replace_recursive($request->getQueryParams(), $pageArguments->getArguments());
$request = $request->withQueryParams($queryParams);
return $handler->handle($request);
}
}
at TYPO3\CMS\Frontend\Middleware\PageResolver->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/typo3/sysext/workspaces/Classes/Middleware/WorkspacePreview.php line 127
$addInformationAboutDisabledCache = true;
$setCookieOnCurrentRequest = false;
}
$response = $handler->handle($request);
if ($GLOBALS['TSFE'] instanceof TypoScriptFrontendController && $addInformationAboutDisabledCache) {
$GLOBALS['TSFE']->set_no_cache('GET Parameter ADMCMD_prev=LIVE was given', true);
}
at TYPO3\CMS\Workspaces\Middleware\WorkspacePreview->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/typo3/sysext/frontend/Classes/Middleware/StaticRouteResolver.php line 80
return new HtmlResponse($content, 200, ['Content-Type' => $contentType]);
}
}
return $handler->handle($request);
}
/**
* Find the proper configuration for the static route in the static route configuration. Mainly:
at TYPO3\CMS\Frontend\Middleware\StaticRouteResolver->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/typo3/sysext/frontend/Classes/Middleware/SiteBaseRedirectResolver.php line 94
$uri = $requestedUri->withPath(rtrim($requestedUri->getPath(), '/'));
return new RedirectResponse($uri, 307);
}
}
return $handler->handle($request);
}
/**
* Checks if the language is allowed in Frontend, if not, check if there is valid BE user
at TYPO3\CMS\Frontend\Middleware\SiteBaseRedirectResolver->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelInitiator.php line 55
MainController::class
);
$request = $adminPanelController->initialize($request);
}
return $handler->handle($request);
}
}
at TYPO3\CMS\Adminpanel\Middleware\AdminPanelInitiator->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/typo3/sysext/frontend/Classes/Middleware/FrontendUserAuthenticator.php line 77
// 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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3conf/ext/fal_securedownload/Classes/Middleware/EidFrontendAuthentication.php line 40
{
$eID = $request->getParsedBody()['eID'] ?? $request->getQueryParams()['eID'] ?? null;
if ($eID === null || !in_array($eID, ['dumpFile', 'FalSecuredownloadFileTreeState'])) {
return $handler->handle($request);
}
$frontendUser = GeneralUtility::makeInstance(FrontendUserAuthentication::class);
// List of page IDs where to look for frontend user records
at BeechIt\FalSecuredownload\Middleware\EidFrontendAuthentication->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /html/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f9212c0241b->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/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/tmp/typo3_src-10.4.23/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();
});