in /var/www/html/typo3/sysext/core/Classes/Error/ErrorHandler.php line 145
}
$message = self::ERROR_LEVEL_LABELS[$errorLevel] . ': ' . $errorMessage . ' in ' . $errorFile . ' line ' . $errorLine;
if ($errorLevel & $this->exceptionalErrors) {
throw new Exception($message, 1476107295);
}
$message = $this->getFormattedLogMessage($message);
at TYPO3\CMS\Core\Error\ErrorHandler->handleError(2, 'Undefined array key "href"', '/var/www/html/typo3/sysext/indexed_search/Classes/Indexer.php', 604)
in /var/www/html/typo3/sysext/indexed_search/Classes/Indexer.php line 604
if ($index % 2 !== 0) {
$tagAttributes = $htmlParser->get_tag_attributes($tagData, true);
$firstTagName = $htmlParser->getFirstTagName($tagData);
if (strtolower($firstTagName) === 'a') {
if ($tagAttributes[0]['href'] && $tagAttributes[0]['href'][0] !== '#') {
$hyperLinksData[] = [
'tag' => $tagData,
'href' => $tagAttributes[0]['href'],
'localPath' => $this->createLocalPath(urldecode($tagAttributes[0]['href'])),
at TYPO3\CMS\IndexedSearch\Indexer->extractHyperLinks('<!DOCTYPE
html><html lang="de-DE"><head><meta
charset="utf-8"><!-- This website is powered by TYPO3 - inspiring
people to share! TYPO3 is a free open source Content Management
Framework initially created by Kasper Skaarhoj and licensed under
GNU/GPL. TYPO3 is copyright 1998-2021 of Kasper Skaarhoj. Extensions are
copyright of their respective owners. Information and contribution at
https://typo3.org/--><title>[Translate to Deutsch:]
Home</title><meta name="generator" content="TYPO3 CMS"
/><meta name="twitter:card" content="summary" /><link
rel="stylesheet"
href="/typo3temp/assets/css/7015c8c4ac5ff815b57530b221005fc6.css?1630921532"
media="all"><link rel="canonical"
href="http://typo3cms.ddev.site/"/><link rel="alternate"
hreflang="en-US" href="//typo3cms.ddev.site/en/"/><link
rel="alternate" hreflang="de-DE"
href="//typo3cms.ddev.site/"/><link rel="alternate"
hreflang="es-ES" href="http://typo3cms.ddev.es.ddev.site/"/><link
rel="alternate" hreflang="x-default"
href="//typo3cms.ddev.site/en/"/></head><body>
<div id="c146" class="frame frame-default frame-type-textmedia
frame-layout-0">
<div class="ce-textpic ce-center ce-above">
</div>
</div>
<div id="c103" class="frame frame-default frame-type-textpic
frame-layout-1">
<div class="ce-textpic ce-center ce-above">
<div class="ce-bodytext">
<p>erzhehzerh</p>
</div> </div>
</div> <div id="c2"
class="frame frame-default frame-type-menu_abstract frame-layout-0">
<a id="c23"></a>
<header>
<h2 class="">
[Translate to Deutsch:] Abstracts </h2>
</header>
<ul>
<li> <a
href="/translate-to-deutsch-page-a" title="[Translate to Deutsch:] Page
A"> <span>[Translate to Deutsch:] Page
A</span> </a>
</li> <li>
<a href="/translate-to-deutsch-page-b" title="[Translate to
Deutsch:] Page B"> <span>[Translate to
Deutsch:] Page B</span> </a>
</li> <li>
<a href="/translate-to-deutsch-page-a"
title="[Translate to Deutsch:] Page C">
<span>[Translate to Deutsch:] Page C</span>
</a> </li>
<li> <a href=""
title="[Translate to Deutsch:] Page D">
<span>[Translate to Deutsch:] Page D</span>
</a> </li>
<li> <a href="/page-e"
title="Page E"> <span>Page
E</span> </a>
</li> <li>
<a href="/sub-4/" title="Sub 3">
<span>Sub 3</span> </a>
</li>
<li> <a href="/sub-3" title="Sub 3">
<span>Sub 3</span>
</a> </li>
<li> <a href=""
title="Shortcut">
<span>Shortcut</span> </a>
</li>
<li> <a href="/translate-to-deutsch-subpage"
title="[Translate to Deutsch:] Subpage">
<span>[Translate to Deutsch:] Subpage</span>
</a> </li>
</ul>
</div> <div id="c3" class="frame
frame-default frame-type-menu_categorized_pages frame-layout-0">
<a id="c24"></a>
<header>
<h2 class="">
[Translate to Deutsch:] Categorized pages </h2>
</header>
<ul>
<li> <a href="/sub-4/" title="Sub
4"> <span>Sub 4</span>
</a> </li>
</ul>
</div>
<div id="c4" class="frame frame-default
frame-type-menu_pages frame-layout-0">
<a id="c15"></a>
<header>
<h2 class=""> [Translate to Deutsch:] Pages
</h2>
</header>
<ul> <li>
<a href="/sub-4/" title="Sub 3">
<span>Sub 3</span> </a>
</li> <li>
<a href="/sub-3" title="Sub 3">
<span>Sub 3</span> </a>
</li> </ul>
</div> <div
id="c10" class="frame frame-default frame-type-menu_sitemap_pages
frame-layout-0"> <a
id="c16"></a>
<header>
<h2 class=""> [Translate to Deutsch:] Sitemap
</h2>
</header>
<ul> <li>
<a href="/translate-to-deutsch-page-a" title="[Translate to Deutsch:]
Page A"> <span>[Translate to Deutsch:]
Page A</span> </a>
</li> <li>
<a href="/translate-to-deutsch-page-b"
title="[Translate to Deutsch:] Page B">
<span>[Translate to Deutsch:] Page B</span>
</a> </li>
<li> <a
href="/translate-to-deutsch-page-a" title="[Translate to Deutsch:] Page
C"> <span>[Translate to Deutsch:] Page
C</span> </a>
</li> <li>
<a href="" title="[Translate to Deutsch:] Page D">
<span>[Translate to Deutsch:] Page D</span>
</a>
</li> <li>
<a href="/page-e" title="Page E">
<span>Page E</span> </a>
</li>
<li> <a href="/sub-4/" title="Sub 3">
<span>Sub 3</span>
</a> <ul>
<li> <a href="/sub-4/default-title"
title="Level 2"> <span>Level
2</span> </a>
</li> </ul>
</li> <li>
<a href="/sub-3" title="Sub 3">
<span>Sub 3</span> </a>
<ul> <li>
<a href="/sub-3/default-title" title="Level 2">
<span>Level 2</span>
</a> </li>
</ul> </li>
<li> <a href="" title="Shortcut">
<span>Shortcut</span>
</a> </li>
<li> <a
href="/translate-to-deutsch-subpage" title="[Translate to Deutsch:]
Subpage"> <span>[Translate to Deutsch:]
Subpage</span> </a>
</li> </ul>
</div>
<div id="c5" class="frame frame-default frame-type-menu_subpages
frame-layout-0"> <a
id="c17"></a>
<header>
<h2 class=""> [Translate to Deutsch:] Subpages
</h2>
</header>
<ul> <li>
<a href="/translate-to-deutsch-page-a" title="[Translate to Deutsch:]
Page A"> <span>[Translate to Deutsch:]
Page A</span> </a>
</li> <li>
<a href="/translate-to-deutsch-page-b" title="[Translate to Deutsch:]
Page B"> <span>[Translate to Deutsch:]
Page B</span> </a>
</li> <li>
<a href="/translate-to-deutsch-page-a" title="[Translate to Deutsch:]
Page C"> <span>[Translate to Deutsch:]
Page C</span> </a>
</li> <li>
<a href="" title="[Translate to Deutsch:] Page D">
<span>[Translate to Deutsch:] Page D</span>
</a> </li>
<li> <a href="/page-e" title="Page
E"> <span>Page E</span>
</a> </li>
<li> <a href="/sub-4/" title="Sub 3">
<span>Sub 3</span>
</a> </li>
<li> <a href="/sub-3" title="Sub 3">
<span>Sub 3</span>
</a> </li>
<li> <a href="" title="Shortcut">
<span>Shortcut</span>
</a> </li>
<li> <a href="/translate-to-deutsch-subpage"
title="[Translate to Deutsch:] Subpage">
<span>[Translate to Deutsch:] Subpage</span>
</a> </li> </ul>
</div>
<div id="c6" class="frame frame-default
frame-type-menu_recently_updated frame-layout-0">
<a id="c18"></a>
<header>
<h2 class=""> [Translate to
Deutsch:] Recently updated </h2>
</header>
<ul>
<li> <a href="/" title="[Translate to
Deutsch:] Home"> <span>[Translate to
Deutsch:] Home</span> </a>
</li> </ul>
</div> <div id="c9"
class="frame frame-default frame-type-menu_related_pages
frame-layout-0"> <a
id="c19"></a>
<header>
<h2 class=""> [Translate to Deutsch:] Related
</h2>
</header>
</div>
<div id="c20" class="frame frame-default frame-type-textmedia
frame-layout-0">
<header>
<h2
class=""> parent </h2>
</header>
<div class="ce-textpic ce-center ce-above">
<div class="ce-gallery" data-ce-columns="1"
data-ce-images="1"> <div class="ce-outer">
<div class="ce-inner">
<div class="ce-row">
<div class="ce-column">
<figure class="image">
<img class="image-embed-item" title="hihufgig" alt="kvhkhvv"
src="/fileadmin/_processed_/6/5/csm_bus_lane_ada792b15f.jpg" width="600"
height="337" loading="lazy" />
</figure> </div>
</div>
</div> </div> </div>
</div>
</div> <p
style="background-color: yellow; padding: 0.5em
1em;"><strong>ERROR:</strong> Content Element with uid
"42" and type "mask_test" has no rendering definition!</p><p
style="background-color: yellow; padding: 0.5em
1em;"><strong>ERROR:</strong> Content Element with uid
"67" and type "mask_a" has no rendering
definition!</p></body></html>')
in /var/www/html/typo3/sysext/indexed_search/Classes/Indexer.php line 543
*/
public function extractLinks($content)
{
// Get links:
$list = $this->extractHyperLinks($content);
// Traverse links:
foreach ($list as $linkInfo) {
// Decode entities:
if ($linkInfo['localPath']) {
at TYPO3\CMS\IndexedSearch\Indexer->extractLinks('<!DOCTYPE
html><html lang="de-DE"><head><meta
charset="utf-8"><!-- This website is powered by TYPO3 - inspiring
people to share! TYPO3 is a free open source Content Management
Framework initially created by Kasper Skaarhoj and licensed under
GNU/GPL. TYPO3 is copyright 1998-2021 of Kasper Skaarhoj. Extensions are
copyright of their respective owners. Information and contribution at
https://typo3.org/--><title>[Translate to Deutsch:]
Home</title><meta name="generator" content="TYPO3 CMS"
/><meta name="twitter:card" content="summary" /><link
rel="stylesheet"
href="/typo3temp/assets/css/7015c8c4ac5ff815b57530b221005fc6.css?1630921532"
media="all"><link rel="canonical"
href="http://typo3cms.ddev.site/"/><link rel="alternate"
hreflang="en-US" href="//typo3cms.ddev.site/en/"/><link
rel="alternate" hreflang="de-DE"
href="//typo3cms.ddev.site/"/><link rel="alternate"
hreflang="es-ES" href="http://typo3cms.ddev.es.ddev.site/"/><link
rel="alternate" hreflang="x-default"
href="//typo3cms.ddev.site/en/"/></head><body>
<div id="c146" class="frame frame-default frame-type-textmedia
frame-layout-0">
<div class="ce-textpic ce-center ce-above">
</div>
</div>
<div id="c103" class="frame frame-default frame-type-textpic
frame-layout-1">
<div class="ce-textpic ce-center ce-above">
<div class="ce-bodytext">
<p>erzhehzerh</p>
</div> </div>
</div> <div id="c2"
class="frame frame-default frame-type-menu_abstract frame-layout-0">
<a id="c23"></a>
<header>
<h2 class="">
[Translate to Deutsch:] Abstracts </h2>
</header>
<ul>
<li> <a
href="/translate-to-deutsch-page-a" title="[Translate to Deutsch:] Page
A"> <span>[Translate to Deutsch:] Page
A</span> </a>
</li> <li>
<a href="/translate-to-deutsch-page-b" title="[Translate to
Deutsch:] Page B"> <span>[Translate to
Deutsch:] Page B</span> </a>
</li> <li>
<a href="/translate-to-deutsch-page-a"
title="[Translate to Deutsch:] Page C">
<span>[Translate to Deutsch:] Page C</span>
</a> </li>
<li> <a href=""
title="[Translate to Deutsch:] Page D">
<span>[Translate to Deutsch:] Page D</span>
</a> </li>
<li> <a href="/page-e"
title="Page E"> <span>Page
E</span> </a>
</li> <li>
<a href="/sub-4/" title="Sub 3">
<span>Sub 3</span> </a>
</li>
<li> <a href="/sub-3" title="Sub 3">
<span>Sub 3</span>
</a> </li>
<li> <a href=""
title="Shortcut">
<span>Shortcut</span> </a>
</li>
<li> <a href="/translate-to-deutsch-subpage"
title="[Translate to Deutsch:] Subpage">
<span>[Translate to Deutsch:] Subpage</span>
</a> </li>
</ul>
</div> <div id="c3" class="frame
frame-default frame-type-menu_categorized_pages frame-layout-0">
<a id="c24"></a>
<header>
<h2 class="">
[Translate to Deutsch:] Categorized pages </h2>
</header>
<ul>
<li> <a href="/sub-4/" title="Sub
4"> <span>Sub 4</span>
</a> </li>
</ul>
</div>
<div id="c4" class="frame frame-default
frame-type-menu_pages frame-layout-0">
<a id="c15"></a>
<header>
<h2 class=""> [Translate to Deutsch:] Pages
</h2>
</header>
<ul> <li>
<a href="/sub-4/" title="Sub 3">
<span>Sub 3</span> </a>
</li> <li>
<a href="/sub-3" title="Sub 3">
<span>Sub 3</span> </a>
</li> </ul>
</div> <div
id="c10" class="frame frame-default frame-type-menu_sitemap_pages
frame-layout-0"> <a
id="c16"></a>
<header>
<h2 class=""> [Translate to Deutsch:] Sitemap
</h2>
</header>
<ul> <li>
<a href="/translate-to-deutsch-page-a" title="[Translate to Deutsch:]
Page A"> <span>[Translate to Deutsch:]
Page A</span> </a>
</li> <li>
<a href="/translate-to-deutsch-page-b"
title="[Translate to Deutsch:] Page B">
<span>[Translate to Deutsch:] Page B</span>
</a> </li>
<li> <a
href="/translate-to-deutsch-page-a" title="[Translate to Deutsch:] Page
C"> <span>[Translate to Deutsch:] Page
C</span> </a>
</li> <li>
<a href="" title="[Translate to Deutsch:] Page D">
<span>[Translate to Deutsch:] Page D</span>
</a>
</li> <li>
<a href="/page-e" title="Page E">
<span>Page E</span> </a>
</li>
<li> <a href="/sub-4/" title="Sub 3">
<span>Sub 3</span>
</a> <ul>
<li> <a href="/sub-4/default-title"
title="Level 2"> <span>Level
2</span> </a>
</li> </ul>
</li> <li>
<a href="/sub-3" title="Sub 3">
<span>Sub 3</span> </a>
<ul> <li>
<a href="/sub-3/default-title" title="Level 2">
<span>Level 2</span>
</a> </li>
</ul> </li>
<li> <a href="" title="Shortcut">
<span>Shortcut</span>
</a> </li>
<li> <a
href="/translate-to-deutsch-subpage" title="[Translate to Deutsch:]
Subpage"> <span>[Translate to Deutsch:]
Subpage</span> </a>
</li> </ul>
</div>
<div id="c5" class="frame frame-default frame-type-menu_subpages
frame-layout-0"> <a
id="c17"></a>
<header>
<h2 class=""> [Translate to Deutsch:] Subpages
</h2>
</header>
<ul> <li>
<a href="/translate-to-deutsch-page-a" title="[Translate to Deutsch:]
Page A"> <span>[Translate to Deutsch:]
Page A</span> </a>
</li> <li>
<a href="/translate-to-deutsch-page-b" title="[Translate to Deutsch:]
Page B"> <span>[Translate to Deutsch:]
Page B</span> </a>
</li> <li>
<a href="/translate-to-deutsch-page-a" title="[Translate to Deutsch:]
Page C"> <span>[Translate to Deutsch:]
Page C</span> </a>
</li> <li>
<a href="" title="[Translate to Deutsch:] Page D">
<span>[Translate to Deutsch:] Page D</span>
</a> </li>
<li> <a href="/page-e" title="Page
E"> <span>Page E</span>
</a> </li>
<li> <a href="/sub-4/" title="Sub 3">
<span>Sub 3</span>
</a> </li>
<li> <a href="/sub-3" title="Sub 3">
<span>Sub 3</span>
</a> </li>
<li> <a href="" title="Shortcut">
<span>Shortcut</span>
</a> </li>
<li> <a href="/translate-to-deutsch-subpage"
title="[Translate to Deutsch:] Subpage">
<span>[Translate to Deutsch:] Subpage</span>
</a> </li> </ul>
</div>
<div id="c6" class="frame frame-default
frame-type-menu_recently_updated frame-layout-0">
<a id="c18"></a>
<header>
<h2 class=""> [Translate to
Deutsch:] Recently updated </h2>
</header>
<ul>
<li> <a href="/" title="[Translate to
Deutsch:] Home"> <span>[Translate to
Deutsch:] Home</span> </a>
</li> </ul>
</div> <div id="c9"
class="frame frame-default frame-type-menu_related_pages
frame-layout-0"> <a
id="c19"></a>
<header>
<h2 class=""> [Translate to Deutsch:] Related
</h2>
</header>
</div>
<div id="c20" class="frame frame-default frame-type-textmedia
frame-layout-0">
<header>
<h2
class=""> parent </h2>
</header>
<div class="ce-textpic ce-center ce-above">
<div class="ce-gallery" data-ce-columns="1"
data-ce-images="1"> <div class="ce-outer">
<div class="ce-inner">
<div class="ce-row">
<div class="ce-column">
<figure class="image">
<img class="image-embed-item" title="hihufgig" alt="kvhkhvv"
src="/fileadmin/_processed_/6/5/csm_bus_lane_ada792b15f.jpg" width="600"
height="337" loading="lazy" />
</figure> </div>
</div>
</div> </div> </div>
</div>
</div> <p
style="background-color: yellow; padding: 0.5em
1em;"><strong>ERROR:</strong> Content Element with uid
"42" and type "mask_test" has no rendering definition!</p><p
style="background-color: yellow; padding: 0.5em
1em;"><strong>ERROR:</strong> Content Element with uid
"67" and type "mask_a" has no rendering
definition!</p></body></html>')
in /var/www/html/typo3/sysext/indexed_search/Classes/Indexer.php line 364
$this->updateParsetime($this->hash['phash'], IndexedSearchUtility::milliseconds() - $Pstart);
// Checking external files if configured for.
$this->log_push('Checking external files', '');
if ($this->conf['index_externals']) {
$this->extractLinks($this->conf['content']);
}
$this->log_pull();
} else {
// Update the timestamp
at TYPO3\CMS\IndexedSearch\Indexer->indexTypo3PageContent()
in /var/www/html/typo3/sysext/indexed_search/Classes/Hook/TypoScriptFrontendHook.php line 72
// Init and start indexing
$indexer = GeneralUtility::makeInstance(Indexer::class);
$indexer->forceIndexing = $forceIndexing;
$indexer->init($this->initializeIndexerConfiguration($tsfe, $languageAspect));
$indexer->indexTypo3PageContent();
$timeTracker->pull();
}
/**
at TYPO3\CMS\IndexedSearch\Hook\TypoScriptFrontendHook->indexPageContent(array('pObj' => object(TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController)), object(TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController))
at call_user_func_array(array(object(TYPO3\CMS\IndexedSearch\Hook\TypoScriptFrontendHook), 'indexPageContent'), array(array('pObj' => object(TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController)), object(TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController)))
in /var/www/html/typo3/sysext/core/Classes/Utility/GeneralUtility.php line 3186
$methodName = (string)$parts[1];
$callable = [$classObj, $methodName];
if (is_callable($callable)) {
// Call method:
$content = call_user_func_array($callable, [&$params, &$ref]);
} else {
throw new \InvalidArgumentException('No method name \'' . $parts[1] . '\' in class ' . $parts[0], 1294585865);
}
} else {
at TYPO3\CMS\Core\Utility\GeneralUtility::callUserFunction('TYPO3\\CMS\\IndexedSearch\\Hook\\TypoScriptFrontendHook->indexPageContent', array('pObj' => object(TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController)), object(TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController))
in /var/www/html/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php line 2572
// Processing if caching is enabled:
if (!$this->no_cache) {
// Hook for post-processing of page content before being cached:
foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['contentPostProc-cached'] ?? [] as $_funcRef) {
GeneralUtility::callUserFunction($_funcRef, $_params, $this);
}
}
// Convert charset for output. Any hooks before (including indexed search) will have to convert from UTF-8 to the target
// charset as well.
at TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->generatePage_postProcessing()
in /var/www/html/typo3/sysext/frontend/Classes/Http/RequestHandler.php line 145
$this->timeTracker->pull($this->timeTracker->LR ? $controller->content : '');
$this->timeTracker->decStackPointer();
$controller->generatePage_postProcessing();
$this->timeTracker->pull();
}
$controller->releaseLocks();
at TYPO3\CMS\Frontend\Http\RequestHandler->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/core/Classes/Middleware/ResponsePropagation.php line 34
{
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
try {
$response = $handler->handle($request);
} catch (PropagateResponseException $e) {
$response = $e->getResponse();
}
at TYPO3\CMS\Core\Middleware\ResponsePropagation->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(TYPO3\CMS\Frontend\Http\RequestHandler))
in /var/www/html/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 Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/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(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e))
in /var/www/html/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 Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/frontend/Classes/Middleware/ContentLengthResponseHeader.php line 46
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$response = $handler->handle($request);
if ($GLOBALS['TSFE'] instanceof TypoScriptFrontendController) {
if (
(!isset($GLOBALS['TSFE']->config['config']['enableContentLengthHeader']) || $GLOBALS['TSFE']->config['config']['enableContentLengthHeader'])
&& !$GLOBALS['TSFE']->isBackendUserLoggedIn() && !($GLOBALS['TYPO3_CONF_VARS']['FE']['debug'] ?? false)
at TYPO3\CMS\Frontend\Middleware\ContentLengthResponseHeader->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e))
in /var/www/html/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 Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/frontend/Classes/Middleware/ShortcutAndMountPointRedirect.php line 74
);
}
}
return $handler->handle($request);
}
protected function getRedirectUri(ServerRequestInterface $request): ?string
{
at TYPO3\CMS\Frontend\Middleware\ShortcutAndMountPointRedirect->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e))
in /var/www/html/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 Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/frontend/Classes/Middleware/PrepareTypoScriptFrontendRendering.php line 78
$this->convertCharsetRecursivelyToUtf8($parsedBody, $controller->metaCharset);
$request = $request->withParsedBody($parsedBody);
}
}
$response = $handler->handle($request);
/**
* Release TSFE locks. They have been acquired in the above call to controller->getFromCache().
* TSFE locks are usually released by the RequestHandler 'final' middleware.
at TYPO3\CMS\Frontend\Middleware\PrepareTypoScriptFrontendRendering->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e))
in /var/www/html/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 Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/frontend/Classes/Middleware/TypoScriptFrontendInitialization.php line 104
// Make TSFE globally available
// @todo deprecate $GLOBALS['TSFE'] once TSFE is retrieved from the
// PSR-7 request attribute frontend.controller throughout TYPO3 core
$GLOBALS['TSFE'] = $controller;
return $handler->handle($request);
}
}
at TYPO3\CMS\Frontend\Middleware\TypoScriptFrontendInitialization->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e))
in /var/www/html/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 Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/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(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e))
in /var/www/html/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 Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/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(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e))
in /var/www/html/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 Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/frontend/Classes/Middleware/PageArgumentValidator.php line 132
}
}
$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(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e))
in /var/www/html/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 Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/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(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e))
in /var/www/html/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 Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/workspaces/Classes/Middleware/WorkspacePreview.php line 128
$addInformationAboutDisabledCache = true;
$setCookieOnCurrentRequest = false;
}
$response = $handler->handle($request);
$tsfe = $this->getTypoScriptFrontendController();
if ($tsfe instanceof TypoScriptFrontendController && $addInformationAboutDisabledCache) {
$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(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e))
in /var/www/html/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 Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/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(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e))
in /var/www/html/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 Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/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(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e))
in /var/www/html/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 Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/redirects/Classes/Http/Middleware/RedirectHandler.php line 74
return $response;
}
}
return $handler->handle($request);
}
protected function buildRedirectResponse(UriInterface $uri, array $redirectRecord): ResponseInterface
{
at TYPO3\CMS\Redirects\Http\Middleware\RedirectHandler->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e))
in /var/www/html/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 Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/frontend/Classes/Middleware/FrontendUserAuthenticator.php line 91
if ($this->context->getAspect('frontend.user')->isLoggedIn() && $rateLimiter) {
$rateLimiter->reset();
}
$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(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e))
in /var/www/html/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 Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/typo3/sysext/frontend/Classes/Middleware/BackendUserAuthenticator.php line 78
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(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e))
in /var/www/html/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 Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/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(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e))
in /var/www/html/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 Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/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(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e))
in /var/www/html/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 Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/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(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e))
in /var/www/html/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 Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/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(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e))
in /var/www/html/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 Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/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(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e))
in /var/www/html/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 Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$28e->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/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 /var/www/html/typo3/sysext/core/Classes/Http/AbstractApplication.php line 85
* @return ResponseInterface
*/
public 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 /var/www/html/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);
}
/**
* Create a PSR-7 Response that redirects to the install tool
at TYPO3\CMS\Frontend\Http\Application->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/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) {
trigger_error('Custom execution of Application code will be removed in TYPO3 v12.0, use PSR-15 Middlewares instead.', E_USER_DEPRECATED);
$execute();
at TYPO3\CMS\Core\Http\AbstractApplication->run()
in /var/www/html/index.php line 20
// Set up the application for the frontend
call_user_func(static 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 /var/www/html/index.php line 21
call_user_func(static 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();
});