|
Whoops, looks like something went wrong.
|
|
Get help in the TYPO3 Documentation
|
|
If you need help solving this exception, you can have a look at the TYPO3 Documentation. There you can find solutions provided by the TYPO3 community. Once you have found a solution to the problem, help others by contributing to the documentation page.
|
|
|
|
Find a solution for this exception in the TYPO3 Documentation.
|
|
|
|
(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception
|
|
PHP Runtime Deprecation Notice: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /home/users/myuser/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 2033
|
|
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Error/ErrorHandler.php line 138
|
|
}
|
|
|
|
$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()
|
|
at strip_tags()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 2033
|
|
* @return string The processed input value
|
|
*/
|
|
public function stdWrap_stripHtml($content = '')
|
|
{
|
|
return strip_tags($content);
|
|
// return !empty($content) ? strip_tags($content) : '';
|
|
}
|
|
|
|
/**
|
|
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->stdWrap_stripHtml()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 1234
|
|
$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] ?? null)) {
|
|
$isExecuted[$functionName] = true;
|
|
$isExecuted[$functionProperties] = true;
|
|
}
|
|
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->stdWrap()
|
|
in /home/users/myuser/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()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 709
|
|
}
|
|
|
|
// 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()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 656
|
|
$fullConfigArray = $this->mergeTSRef($fullConfigArray, 'tempKey');
|
|
$contentObject = $this->getContentObject($fullConfigArray['tempKey']);
|
|
$content = '';
|
|
if ($contentObject) {
|
|
$content = $this->render($contentObject, $fullConfigArray['tempKey.']);
|
|
}
|
|
if ($timeTracker->LR) {
|
|
$timeTracker->pull($content);
|
|
}
|
|
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSingle()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 625
|
|
foreach ($sKeyArray as $theKey) {
|
|
$theValue = $setup[$theKey];
|
|
if ((int)$theKey && !str_contains($theKey, '.')) {
|
|
$conf = $setup[$theKey . '.'] ?? [];
|
|
$contentObjects[] = $this->cObjGetSingle($theValue, $conf, $addKey . $theKey);
|
|
}
|
|
}
|
|
return $contentObjects;
|
|
}
|
|
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSeparated()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 605
|
|
{
|
|
if (!is_array($setup)) {
|
|
return '';
|
|
}
|
|
return implode('', $this->cObjGetSeparated($setup, $addKey));
|
|
}
|
|
|
|
/**
|
|
* Rendering of a "numerical array" of cObjects from TypoScript
|
|
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGet()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/ContentObject/ContentObjectArrayContentObject.php line 43
|
|
if (!empty($conf['if.']) && !$this->cObj->checkIf($conf['if.'])) {
|
|
return '';
|
|
}
|
|
|
|
$content = $this->cObj->cObjGet($conf);
|
|
$wrap = $this->cObj->stdWrapValue('wrap', $conf ?? []);
|
|
if ($wrap) {
|
|
$content = $this->cObj->wrap($content, $wrap);
|
|
}
|
|
at TYPO3\CMS\Frontend\ContentObject\ContentObjectArrayContentObject->render()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 709
|
|
}
|
|
|
|
// 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()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 656
|
|
$fullConfigArray = $this->mergeTSRef($fullConfigArray, 'tempKey');
|
|
$contentObject = $this->getContentObject($fullConfigArray['tempKey']);
|
|
$content = '';
|
|
if ($contentObject) {
|
|
$content = $this->render($contentObject, $fullConfigArray['tempKey.']);
|
|
}
|
|
if ($timeTracker->LR) {
|
|
$timeTracker->pull($content);
|
|
}
|
|
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSingle()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/ContentObject/ContentContentObject.php line 95
|
|
$frontendController->currentRecord = $registerField;
|
|
$this->cObj->lastChanged($row['tstamp'] ?? 0);
|
|
$cObj->setRequest($this->request);
|
|
$cObj->start($row, $conf['table']);
|
|
$tmpValue = $cObj->cObjGetSingle($renderObjName, $renderObjConf, $renderObjKey);
|
|
$cobjValue .= $tmpValue;
|
|
}
|
|
}
|
|
}
|
|
at TYPO3\CMS\Frontend\ContentObject\ContentContentObject->render()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 709
|
|
}
|
|
|
|
// 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()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 656
|
|
$fullConfigArray = $this->mergeTSRef($fullConfigArray, 'tempKey');
|
|
$contentObject = $this->getContentObject($fullConfigArray['tempKey']);
|
|
$content = '';
|
|
if ($contentObject) {
|
|
$content = $this->render($contentObject, $fullConfigArray['tempKey.']);
|
|
}
|
|
if ($timeTracker->LR) {
|
|
$timeTracker->pull($content);
|
|
}
|
|
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSingle()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 1430
|
|
* @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()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 1234
|
|
$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] ?? null)) {
|
|
$isExecuted[$functionName] = true;
|
|
$isExecuted[$functionProperties] = true;
|
|
}
|
|
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->stdWrap()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 1623
|
|
* @return string The processed input value
|
|
*/
|
|
public function stdWrap_stdWrap($content = '', $conf = [])
|
|
{
|
|
return $this->stdWrap($content, $conf['stdWrap.']);
|
|
}
|
|
|
|
/**
|
|
* stdWrap process hook
|
|
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->stdWrap_stdWrap()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 1234
|
|
$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] ?? null)) {
|
|
$isExecuted[$functionName] = true;
|
|
$isExecuted[$functionProperties] = true;
|
|
}
|
|
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->stdWrap()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 1213
|
|
($functionName === 'ifEmpty' && !empty(trim((string)$content)))) {
|
|
continue;
|
|
}
|
|
|
|
$conf[$functionName] = $this->stdWrap($conf[$functionName] ?? '', $conf[$functionProperties]);
|
|
}
|
|
}
|
|
// Check if key is still containing something, since it might have been changed by next level stdWrap before
|
|
if ((isset($conf[$functionName]) || ($conf[$functionProperties] ?? null))
|
|
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->stdWrap()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/Http/RequestHandler.php line 849
|
|
foreach ($conf as $key => $properties) {
|
|
$replace = false;
|
|
if (is_array($properties)) {
|
|
$nodeValue = $properties['_typoScriptNodeValue'] ?? '';
|
|
$value = trim((string)$cObj->stdWrap($nodeValue, $metaTagTypoScript[$key . '.']));
|
|
if ($value === '' && !empty($properties['value'])) {
|
|
$value = $properties['value'];
|
|
$replace = false;
|
|
}
|
|
at TYPO3\CMS\Frontend\Http\RequestHandler->generateMetaTagHtml()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/Http/RequestHandler.php line 693
|
|
GeneralUtility::callUserFunction($_funcRef, $_params, $_ref);
|
|
}
|
|
|
|
$this->generateHrefLangTags($controller, $request);
|
|
$this->generateMetaTagHtml(
|
|
$controller->pSetup['meta.'] ?? [],
|
|
$controller->cObj
|
|
);
|
|
|
|
at TYPO3\CMS\Frontend\Http\RequestHandler->processHtmlBasedRenderingSettings()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/Http/RequestHandler.php line 201
|
|
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()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/Http/RequestHandler.php line 135
|
|
// Content generation
|
|
$this->timeTracker->incStackPointer();
|
|
$this->timeTracker->push('Page generation PAGE object');
|
|
|
|
$controller->content = $this->generatePageContent($controller, $request);
|
|
|
|
$this->timeTracker->pull($this->timeTracker->LR ? $controller->content : '');
|
|
$this->timeTracker->decStackPointer();
|
|
|
|
at TYPO3\CMS\Frontend\Http\RequestHandler->handle()
|
|
in /home/users/myuser/typo3conf/ext/fh_debug/Classes/Middleware/Bootstrap.php line 45
|
|
{
|
|
$api = GeneralUtility::makeInstance(BootstrapApi::class);
|
|
$api->init($request);
|
|
|
|
return $handler->handle($request);
|
|
}
|
|
}
|
|
at JambageCom\FhDebug\Middleware\Bootstrap->process()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/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()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/Middleware/OutputCompression.php line 44
|
|
// 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()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/Middleware/ContentSecurityPolicyHeaders.php line 51
|
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
// return early in case CSP shall not be used
|
|
if (!$this->features->isFeatureEnabled('security.frontend.enforceContentSecurityPolicy')) {
|
|
return $handler->handle($request);
|
|
}
|
|
// make sure, the nonce value is set before processing the remaining middlewares
|
|
$request = $request->withAttribute('nonce', $this->requestId->nonce);
|
|
$response = $handler->handle($request);
|
|
at TYPO3\CMS\Frontend\Middleware\ContentSecurityPolicyHeaders->process()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelDataPersister.php line 41
|
|
* Render the admin panel if activated
|
|
*/
|
|
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()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelRenderer.php line 42
|
|
* Render the admin panel if activated
|
|
*/
|
|
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()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/Middleware/ContentLengthResponseHeader.php line 42
|
|
* Adds the content length
|
|
*/
|
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
|
|
{
|
|
$response = $handler->handle($request);
|
|
if ($GLOBALS['TSFE'] instanceof TypoScriptFrontendController) {
|
|
$context = $GLOBALS['TSFE']->getContext();
|
|
if (
|
|
(!isset($GLOBALS['TSFE']->config['config']['enableContentLengthHeader']) || $GLOBALS['TSFE']->config['config']['enableContentLengthHeader'])
|
|
at TYPO3\CMS\Frontend\Middleware\ContentLengthResponseHeader->process()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/Middleware/ShortcutAndMountPointRedirect.php line 93
|
|
$controller->getPageAccessFailureReasons(PageAccessFailureReasons::INVALID_EXTERNAL_URL)
|
|
);
|
|
}
|
|
|
|
return $handler->handle($request);
|
|
}
|
|
|
|
protected function getRedirectUri(ServerRequestInterface $request): ?string
|
|
{
|
|
at TYPO3\CMS\Frontend\Middleware\ShortcutAndMountPointRedirect->process()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/Middleware/PrepareTypoScriptFrontendRendering.php line 58
|
|
|
|
// Set new request which now has the frontend.typoscript attribute
|
|
$GLOBALS['TYPO3_REQUEST'] = $request;
|
|
|
|
$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()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3conf/ext/tt_products/Classes/Middleware/StoreBasket.php line 81
|
|
);
|
|
}
|
|
}
|
|
|
|
return $handler->handle($request);
|
|
}
|
|
}
|
|
at JambageCom\TtProducts\Middleware\StoreBasket->process()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/Middleware/TypoScriptFrontendInitialization.php line 112
|
|
// 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()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/Middleware/PageArgumentValidator.php line 113
|
|
}
|
|
}
|
|
|
|
$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()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/Middleware/PreviewSimulator.php line 90
|
|
$this->context->setAspect('visibility', $newAspect);
|
|
}
|
|
}
|
|
|
|
return $handler->handle($request);
|
|
}
|
|
|
|
protected function checkIfRootlineRequiresPreview(int $pageId): bool
|
|
{
|
|
at TYPO3\CMS\Frontend\Middleware\PreviewSimulator->process()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/adminpanel/Classes/Middleware/SqlLogging.php line 53
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
return $handler->handle($request);
|
|
}
|
|
}
|
|
at TYPO3\CMS\Adminpanel\Middleware\SqlLogging->process()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/Middleware/PageResolver.php line 102
|
|
// 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()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/Middleware/StaticRouteResolver.php line 63
|
|
|
|
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()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelInitiator.php line 51
|
|
MainController::class
|
|
);
|
|
$request = $adminPanelController->initialize($request);
|
|
}
|
|
return $handler->handle($request);
|
|
}
|
|
}
|
|
at TYPO3\CMS\Adminpanel\Middleware\AdminPanelInitiator->process()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/Middleware/ContentSecurityPolicyReporter.php line 42
|
|
// @todo create report, then call persist, then dispatch new event
|
|
$this->persistCspReport($scope, $request);
|
|
return new NullResponse();
|
|
}
|
|
return $handler->handle($request);
|
|
}
|
|
}
|
|
at TYPO3\CMS\Frontend\Middleware\ContentSecurityPolicyReporter->process()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/Middleware/SiteBaseRedirectResolver.php line 90
|
|
$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()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/redirects/Classes/Http/Middleware/RedirectHandler.php line 68
|
|
);
|
|
|
|
// If the matched redirect is found, resolve it, and check further
|
|
if (!is_array($matchedRedirect)) {
|
|
return $handler->handle($request);
|
|
}
|
|
$url = $this->redirectService->getTargetUrl($matchedRedirect, $request);
|
|
if ($url === null) {
|
|
return $handler->handle($request);
|
|
at TYPO3\CMS\Redirects\Http\Middleware\RedirectHandler->process()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/Middleware/FrontendUserAuthenticator.php line 72
|
|
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()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/Middleware/BackendUserAuthenticator.php line 79
|
|
$request = $request->withAttribute('noCache', true);
|
|
}
|
|
}
|
|
|
|
$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()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Middleware/RequestTokenMiddleware.php line 71
|
|
$this->securityAspect->setReceivedRequestToken(false);
|
|
$this->logger->debug('Could not resolve request token', ['exception' => $exception]);
|
|
}
|
|
|
|
$response = $handler->handle($request);
|
|
return $this->enrichResponseWithCookie($request, $response);
|
|
}
|
|
|
|
protected function resolveNoncePool(ServerRequestInterface $request): NoncePool
|
|
at TYPO3\CMS\Core\Middleware\RequestTokenMiddleware->process()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/Middleware/MaintenanceMode.php line 51
|
|
) {
|
|
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()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/Middleware/EidHandler.php line 48
|
|
{
|
|
$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()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/Middleware/SiteResolver.php line 53
|
|
$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()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3conf/ext/div2007/Classes/Middleware/StoreRequest.php line 73
|
|
$extendedRequest = $extendedRequest->withAttribute('routing', $routeResult);
|
|
|
|
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['div2007']['TYPO3_REQUEST'] = $extendedRequest;
|
|
|
|
return $handler->handle($request);
|
|
}
|
|
}
|
|
at JambageCom\Div2007\Middleware\StoreRequest->process()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Middleware/NormalizedParamsAttribute.php line 41
|
|
*/
|
|
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()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Middleware/VerifyHostHeader.php line 55
|
|
1396795884
|
|
);
|
|
}
|
|
|
|
return $handler->handle($request);
|
|
}
|
|
|
|
/**
|
|
* Checks if the provided host header value matches the trusted hosts pattern.
|
|
at TYPO3\CMS\Core\Middleware\VerifyHostHeader->process()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/Middleware/TimeTrackerInitialization.php line 46
|
|
$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()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 162
|
|
|
|
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/home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:128$11e4->handle()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 70
|
|
* Invoke the middleware stack
|
|
*/
|
|
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()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/AbstractApplication.php line 80
|
|
|
|
public function handle(ServerRequestInterface $request): ResponseInterface
|
|
{
|
|
try {
|
|
$response = $this->requestHandler->handle($request);
|
|
} catch (ImmediateResponseException $exception) {
|
|
$response = $exception->getResponse();
|
|
}
|
|
return $response;
|
|
at TYPO3\CMS\Core\Http\AbstractApplication->handle()
|
|
in /home/users/myuser/typo3/sysext/frontend/Classes/Http/Application.php line 59
|
|
// 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()
|
|
in /home/users/myuser/typo3/sysext/core/Classes/Http/AbstractApplication.php line 92
|
|
* Set up the application and shut it down afterwards
|
|
*/
|
|
final public function run()
|
|
{
|
|
$response = $this->handle(ServerRequestFactory::fromGlobals());
|
|
$this->sendResponse($response);
|
|
}
|
|
}
|
|
at TYPO3\CMS\Core\Http\AbstractApplication->run()
|
|
in /home/users/myuser/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 /home/users/myuser/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();
|
|
});
|
|
|