in /var/www/html/web/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 1328
* @param array $config The TypoScript array.
* @param string|int|bool|null $defaultValue Optional default value.
* @return string|int|bool|null Value of the config variable
*/
public function stdWrapValue($key, array $config, $defaultValue = '')
{
if (isset($config[$key])) {
if (!isset($config[$key . '.'])) {
return $config[$key];
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->stdWrapValue('wrap', null)
in /var/www/html/web/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 3157
$value = isset($conf[$objName . '.'])
? $this->stdWrap($this->cObjGet($conf[$objName . '.'], $objName . '.'), $conf[$objName . '.'])
: $this->cObjGet($conf[$objName . '.'], $objName . '.');
}
$wrap = (string)$this->stdWrapValue('wrap', $splitArr[$a]);
if ($wrap) {
$value = $this->wrap($value, $wrap);
}
$content .= $value;
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->splitObj('', array('token' => 'pagets__', '1.' => array('current' => '1', 'wrap' => '|')))
in /var/www/html/web/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 1821
* @return string The processed input value
*/
public function stdWrap_split($content = '', $conf = [])
{
return $this->splitObj($content, $conf['split.']);
}
/**
* replacement
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->stdWrap_split('pagets__OneColumn', array('split' => null, 'split.' => array('token' => 'pagets__', '1.' => array('current' => '1', 'wrap' => '|'))))
in /var/www/html/web/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 1307
$isExecuted[$functionName] = true;
$isExecuted[$functionProperties] = true;
// Call the function with the prefix stdWrap_ to make sure nobody can execute functions just by adding their name to the TS Array
$functionName = 'stdWrap_' . $functionName;
$content = $this->{$functionName}($content, $singleConf);
} elseif ($functionType === 'boolean' && !$conf[$functionName]) {
$isExecuted[$functionName] = true;
$isExecuted[$functionProperties] = true;
}
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->stdWrap('pagets__OneColumn', array('data' => 'levelfield:-1, backend_layout_next_level, slide', 'override.' => array('field' => 'backend_layout'), 'split.' => array('token' => 'pagets__', '1.' => array('current' => '1', 'wrap' => '|')), 'ifEmpty' => 'default', 'override' => 'pagets__OneColumn'))
in /var/www/html/web/typo3/sysext/frontend/Classes/ContentObject/TextContentObject.php line 44
$content = $this->cObj->stdWrap($content, $conf['value.']);
unset($conf['value.']);
}
if (!empty($conf)) {
$content = $this->cObj->stdWrap($content, $conf);
}
return $content;
}
}
at TYPO3\CMS\Frontend\ContentObject\TextContentObject->render(array('data' => 'levelfield:-1, backend_layout_next_level, slide', 'override.' => array('field' => 'backend_layout'), 'split.' => array('token' => 'pagets__', '1.' => array('current' => '1', 'wrap' => '|')), 'ifEmpty' => 'default'))
in /var/www/html/web/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 786
}
// Render content
try {
$content .= $contentObject->render($configuration);
} catch (ContentRenderingException $exception) {
// Content rendering Exceptions indicate a critical problem which should not be
// caught e.g. when something went wrong with Exception handling itself
throw $exception;
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->render(object(TYPO3\CMS\Frontend\ContentObject\TextContentObject), array('data' => 'levelfield:-1, backend_layout_next_level, slide', 'override.' => array('field' => 'backend_layout'), 'split.' => array('token' => 'pagets__', '1.' => array('current' => '1', 'wrap' => '|')), 'ifEmpty' => 'default'))
in /var/www/html/web/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 719
$timeTracker->decStackPointer();
} else {
$contentObject = $this->getContentObject($name);
if ($contentObject) {
$content .= $this->render($contentObject, $conf);
}
}
if ($timeTracker->LR) {
$timeTracker->pull($content);
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSingle('TEXT', array('data' => 'levelfield:-1, backend_layout_next_level, slide', 'override.' => array('field' => 'backend_layout'), 'split.' => array('token' => 'pagets__', '1.' => array('current' => '1', 'wrap' => '|')), 'ifEmpty' => 'default'), '/stdWrap/.cObject')
in /var/www/html/web/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 1493
* @return string The processed input value
*/
public function stdWrap_cObject($content = '', $conf = [])
{
return $this->cObjGetSingle($conf['cObject'] ?? '', $conf['cObject.'] ?? [], '/stdWrap/.cObject');
}
/**
* numRows
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->stdWrap_cObject('', array('cObject' => 'TEXT', 'cObject.' => array('data' => 'levelfield:-1, backend_layout_next_level, slide', 'override.' => array('field' => 'backend_layout'), 'split.' => array('token' => 'pagets__', '1.' => array('current' => '1', 'wrap' => '|')), 'ifEmpty' => 'default')))
in /var/www/html/web/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 1307
$isExecuted[$functionName] = true;
$isExecuted[$functionProperties] = true;
// Call the function with the prefix stdWrap_ to make sure nobody can execute functions just by adding their name to the TS Array
$functionName = 'stdWrap_' . $functionName;
$content = $this->{$functionName}($content, $singleConf);
} elseif ($functionType === 'boolean' && !$conf[$functionName]) {
$isExecuted[$functionName] = true;
$isExecuted[$functionProperties] = true;
}
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->stdWrap('', array('cObject' => 'TEXT', 'cObject.' => array('data' => 'levelfield:-1, backend_layout_next_level, slide', 'override.' => array('field' => 'backend_layout'), 'split.' => array('token' => 'pagets__', '1.' => array('current' => '1', 'wrap' => '|')), 'ifEmpty' => 'default')))
in /var/www/html/web/typo3/sysext/frontend/Classes/ContentObject/LoadRegisterContentObject.php line 42
$registerProperties = $register . '.';
if (isset($conf[$register]) && isset($conf[$registerProperties])) {
$theValue = $this->cObj->stdWrap($conf[$register], $conf[$registerProperties]);
} elseif (isset($conf[$registerProperties])) {
$theValue = $this->cObj->stdWrap('', $conf[$registerProperties]);
}
$GLOBALS['TSFE']->register[$register] = $theValue;
$isExecuted[$register] = true;
}
at TYPO3\CMS\Frontend\ContentObject\LoadRegisterContentObject->render(array('backendLayout.' => array('cObject' => 'TEXT', 'cObject.' => array('data' => 'levelfield:-1, backend_layout_next_level, slide', 'override.' => array('field' => 'backend_layout'), 'split.' => array('token' => 'pagets__', '1.' => array('current' => '1', 'wrap' => '|')), 'ifEmpty' => 'default'))))
in /var/www/html/web/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 786
}
// Render content
try {
$content .= $contentObject->render($configuration);
} catch (ContentRenderingException $exception) {
// Content rendering Exceptions indicate a critical problem which should not be
// caught e.g. when something went wrong with Exception handling itself
throw $exception;
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->render(object(TYPO3\CMS\Frontend\ContentObject\LoadRegisterContentObject), array('backendLayout.' => array('cObject' => 'TEXT', 'cObject.' => array('data' => 'levelfield:-1, backend_layout_next_level, slide', 'override.' => array('field' => 'backend_layout'), 'split.' => array('token' => 'pagets__', '1.' => array('current' => '1', 'wrap' => '|')), 'ifEmpty' => 'default'))))
in /var/www/html/web/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 719
$timeTracker->decStackPointer();
} else {
$contentObject = $this->getContentObject($name);
if ($contentObject) {
$content .= $this->render($contentObject, $conf);
}
}
if ($timeTracker->LR) {
$timeTracker->pull($content);
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSingle('LOAD_REGISTER', array('backendLayout.' => array('cObject' => 'TEXT', 'cObject.' => array('data' => 'levelfield:-1, backend_layout_next_level, slide', 'override.' => array('field' => 'backend_layout'), 'split.' => array('token' => 'pagets__', '1.' => array('current' => '1', 'wrap' => '|')), 'ifEmpty' => 'default'))), '1')
in /var/www/html/web/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 678
foreach ($sKeyArray as $theKey) {
$theValue = $setup[$theKey];
if ((int)$theKey && strpos($theKey, '.') === false) {
$conf = $setup[$theKey . '.'];
$content .= $this->cObjGetSingle($theValue, $conf, $addKey . $theKey);
}
}
return $content;
}
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGet(array('includeJSFooter.' => array(), 'includeCSS.' => array(), 'typeNum' => '0', 'LOAD_REGISTER', '1.' => array('backendLayout.' => array('cObject' => 'TEXT', 'cObject.' => array('data' => 'levelfield:-1, backend_layout_next_level, slide', 'override.' => array('field' => 'backend_layout'), 'split.' => array('token' => 'pagets__', '1.' => array('current' => '1', 'wrap' => '|')), 'ifEmpty' => 'default'))), 'FLUIDTEMPLATE', '10.' => array('templateName' => 'OneColumn', 'templateName.' => array('data' => 'register:backendLayout'), 'extbase.' => array('controllerExtensionName' => 'Template'), 'layoutRootPaths.' => array('EXT:template/Resources/Private/Layouts'), 'partialRootPaths.' => array('EXT:template/Resources/Private/Partials'), 'templateRootPaths.' => array('EXT:template/Resources/Private/Templates'), 'dataProcessing.' => array('TYPO3\\CMS\\Frontend\\DataProcessing\\LanguageMenuProcessor', '10.' => array('languages' => 'auto', 'as' => 'languageNavigation'), 'TYPO3\\CMS\\Frontend\\DataProcessing\\MenuProcessor', '20.' => array('special' => 'rootline', 'special.' => array('range' => '1|-1'), 'as' => 'rootline'), 'TYPO3\\CMS\\Frontend\\DataProcessing\\MenuProcessor', '30.' => array('levels' => '2', 'entryLevel' => '0', 'as' => 'nav'), 'TYPO3\\CMS\\Frontend\\DataProcessing\\MenuProcessor', '40.' => array('levels' => '4', 'entryLevel' => '1', 'as' => 'subnav'), 'TYPO3\\CMS\\Frontend\\DataProcessing\\MenuProcessor', '50.' => array('special' => 'directory', 'special.' => array('value' => '17'), 'as' => 'footernav'), 'TYPO3\\CMS\\Frontend\\DataProcessing\\MenuProcessor', '60.' => array('special' => 'directory', 'special.' => array('value' => '10'), 'as' => 'metanav'), 'TYPO3\\CMS\\Frontend\\DataProcessing\\FilesProcessor', '70.' => array('references.' => array('data' => 'levelmedia: -1, slide'), 'as' => 'pageMedia'), 'TYPO3\\CMS\\Frontend\\DataProcessing\\SiteProcessor', '80.' => array('as' => 'site')), 'variables.' => array('backendLayout' => 'TEXT', 'backendLayout.' => array('data' => 'register:backendLayout'), 'gtmCode' => 'TEXT', 'gtmCode.' => array('data' => 'site:gtmCode'), 'pageTitle' => 'TEXT', 'pageTitle.' => array('data' => 'page:title')), 'settings.' => array('file.' => array('locallang.' => array('backend' => 'EXT:template/Resources/Private/Language/locallang.xlf', 'frontend' => 'EXT:template/Resources/Private/Language/locallang.xlf')), 'uid.' => array('root' => '1', 'contact' => '5', 'sitemap' => '9', 'search' => '7', 'metaNavigation' => '10', 'footerNavigation' => '17'), 'image.' => array('header.' => array('width' => '1170', 'height' => '350c-100'))))))
in /var/www/html/web/typo3/sysext/frontend/Classes/Http/RequestHandler.php line 207
* @return string
*/
protected function generatePageBodyContent(TypoScriptFrontendController $controller): string
{
$pageContent = $controller->cObj->cObjGet($controller->pSetup) ?: '';
if ($controller->pSetup['wrap'] ?? false) {
$pageContent = $controller->cObj->wrap($pageContent, $controller->pSetup['wrap']);
}
if ($controller->pSetup['stdWrap.'] ?? false) {
at TYPO3\CMS\Frontend\Http\RequestHandler->generatePageBodyContent(object(TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController))
in /var/www/html/web/typo3/sysext/frontend/Classes/Http/RequestHandler.php line 173
protected function generatePageContent(TypoScriptFrontendController $controller, ServerRequestInterface $request): string
{
// Generate the main content between the <body> tags
// This has to be done first, as some additional TSFE-related code could have been written
$pageContent = $this->generatePageBodyContent($controller);
// If 'disableAllHeaderCode' is set, all the pageRenderer settings are not evaluated
if ($controller->config['config']['disableAllHeaderCode'] ?? false) {
return $pageContent;
}
at TYPO3\CMS\Frontend\Http\RequestHandler->generatePageContent(object(TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController), object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/web/typo3/sysext/frontend/Classes/Http/RequestHandler.php line 132
// 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 /var/www/html/web/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 /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/web/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelDataPersister.php line 44
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$response = $handler->handle($request);
if (
$GLOBALS['TSFE'] instanceof TypoScriptFrontendController
&& StateUtility::isActivatedForUser()
&& StateUtility::isActivatedInTypoScript()
at TYPO3\CMS\Adminpanel\Middleware\AdminPanelDataPersister->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/web/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelRenderer.php line 46
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$response = $handler->handle($request);
if (
$GLOBALS['TSFE'] instanceof TypoScriptFrontendController
&& StateUtility::isActivatedForUser()
&& StateUtility::isActivatedInTypoScript()
at TYPO3\CMS\Adminpanel\Middleware\AdminPanelRenderer->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/web/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']
at TYPO3\CMS\Frontend\Middleware\ContentLengthResponseHeader->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/web/typo3/sysext/frontend/Classes/Middleware/ShortcutAndMountPointRedirect.php line 84
);
}
}
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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/web/typo3/sysext/frontend/Classes/Middleware/PrepareTypoScriptFrontendRendering.php line 81
$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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/web/typo3/sysext/frontend/Classes/Middleware/TypoScriptFrontendInitialization.php line 101
$controller->determineId($request);
// Make TSFE globally available
$GLOBALS['TSFE'] = $controller;
return $handler->handle($request);
}
}
at TYPO3\CMS\Frontend\Middleware\TypoScriptFrontendInitialization->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/web/typo3/sysext/frontend/Classes/Middleware/SiteBaseRedirectResolver.php line 88
$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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/web/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(class@anonymous /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/web/typo3/sysext/frontend/Classes/Middleware/FrontendUserAuthenticator.php line 74
$userAspect = $frontendUser->createUserAspect();
$this->context->setAspect('frontend.user', $userAspect);
$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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8))
in /var/www/html/web/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 /var/www/html/web/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d8->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/web/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/web/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/web/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 /var/www/html/web/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 /var/www/html/web/index.php line 25
// Set up the application for the frontend
call_user_func(function () {
$classLoader = require dirname(__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/web/index.php line 26
call_user_func(function () {
$classLoader = require dirname(__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();
});