in /homepages/28/d737999010/htdocs/typo3-site/vendor/symfony/routing/Generator/UrlGenerator.php line 194
if (!$optional || $important || !\array_key_exists($varName, $defaults) || (null !== $mergedParams[$varName] && (string) $mergedParams[$varName] !== (string) $defaults[$varName])) {
// check requirement (while ignoring look-around patterns)
if (null !== $this->strictRequirements && !preg_match('#^'.preg_replace('/\(\?(?:=|<=|!|<!)((?:[^()\\\\]+|\\\\.|\((?1)\))*)\)/', '', $token[2]).'$#i'.(empty($token[4]) ? '' : 'u'), $mergedParams[$token[3]] ?? '')) {
if ($this->strictRequirements) {
throw new InvalidParameterException(strtr($message, ['{parameter}' => $varName, '{route}' => $name, '{expected}' => $token[2], '{given}' => $mergedParams[$varName]]));
}
if ($this->logger) {
$this->logger->error($message, ['parameter' => $varName, 'route' => $name, 'expected' => $token[2], 'given' => $mergedParams[$varName]]);
at Symfony\Component\Routing\Generator\UrlGenerator->doGenerate()
in /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Routing/UrlGenerator.php line 55
// map default values for URL generation (e.g. '1' becomes 'one' if defined in aspect)
$mappableProcessor = $this->mappableProcessor ?? new MappableProcessor();
$mappableProcessor->generate($route, $defaults);
return parent::doGenerate($variables, $defaults, $requirements, $tokens, $parameters, $name, $referenceType, $hostTokens, $requiredSchemes);
}
}
at TYPO3\CMS\Core\Routing\UrlGenerator->doGenerate()
in /homepages/28/d737999010/htdocs/typo3-site/vendor/symfony/routing/Generator/UrlGenerator.php line 161
$parameters['_locale'] = $defaults['_locale'];
}
}
return $this->doGenerate($variables, $defaults, $route->getRequirements(), $compiledRoute->getTokens(), $parameters, $name, $referenceType, $compiledRoute->getHostTokens(), $route->getSchemes());
}
/**
* @throws MissingMandatoryParametersException When some parameters are missing that are mandatory for the route
at Symfony\Component\Routing\Generator\UrlGenerator->generate()
in /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Routing/PageRouter.php line 353
$parameters = $route->getOption('deflatedParameters');
}
$mappableProcessor->generate($route, $parameters);
// ABSOLUTE_URL is used as default fallback
$urlAsString = $generator->generate($routeName, $parameters, $referenceType);
$uri = new Uri($urlAsString);
/** @var Route $matchedRoute */
$matchedRoute = $collection->get($routeName);
// fetch potential applied defaults for later cHash generation
at TYPO3\CMS\Core\Routing\PageRouter->generateUri()
in /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php line 428
$uri = $siteOfTargetPage->getRouter()->generateUri(
$targetPageId,
$queryParameters,
$fragment,
$useAbsoluteUrl ? RouterInterface::ABSOLUTE_URL : RouterInterface::ABSOLUTE_PATH
);
} catch (InvalidRouteArgumentsException $e) {
throw new UnableToLinkException('The target page could not be linked. Error: ' . $e->getMessage(), 1535472406);
}
at TYPO3\CMS\Frontend\Typolink\PageLinkBuilder->generateUrlForPageWithSiteConfiguration()
in /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php line 241
throw new UnableToLinkException('Link to external page "' . $page['uid'] . '" does not have a proper target URL, so "' . $linkText . '" was not linked.', 1551621999, null, $linkText);
}
} else {
// Generate the URL
$url = $this->generateUrlForPageWithSiteConfiguration($page, $siteOfTargetPage, $queryParameters, $sectionMark, $conf);
// no scheme => always not external
if (!$url->getScheme() || !$url->getHost()) {
$treatAsExternalLink = false;
} else {
at TYPO3\CMS\Frontend\Typolink\PageLinkBuilder->build()
in /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 5162
$this,
$tsfe
);
try {
[$this->lastTypoLinkUrl, $linkText, $target] = $linkBuilder->build($linkDetails, $linkText, $target, $conf);
$this->lastTypoLinkTarget = htmlspecialchars($target);
$this->lastTypoLinkLD['target'] = htmlspecialchars($target);
$this->lastTypoLinkLD['totalUrl'] = $this->lastTypoLinkUrl;
} catch (UnableToLinkException $e) {
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->typoLink()
in /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 5383
* @see typoLink()
*/
public function typoLink_URL($conf)
{
$this->typoLink('|', $conf);
return $this->lastTypoLinkUrl;
}
/**
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->typoLink_URL()
in /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/seo/Classes/Canonical/CanonicalGenerator.php line 152
'exclude' => implode(
',',
CanonicalizationUtility::getParamsToExcludeForCanonicalizedUrl(
(int)$this->typoScriptFrontendController->id,
(array)$GLOBALS['TYPO3_CONF_VARS']['FE']['additionalCanonicalizedUrlParameters']
)
)
]
]);
at TYPO3\CMS\Seo\Canonical\CanonicalGenerator->checkDefaultCanonical()
in /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/seo/Classes/Canonical/CanonicalGenerator.php line 76
$href = $this->checkForCanonicalLink();
}
if (empty($href)) {
// 3) Fallback, create canonical URL
$href = $this->checkDefaultCanonical();
}
if (!empty($href)) {
$canonical = '<link ' . GeneralUtility::implodeAttributes([
at TYPO3\CMS\Seo\Canonical\CanonicalGenerator->generate()
at call_user_func_array()
in /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Utility/GeneralUtility.php line 3397
$methodName = (string)$parts[1];
$callable = [$classObj, $methodName];
if (is_callable($callable)) {
// Call method:
$content = call_user_func_array($callable, [&$params, &$ref]);
} else {
$errorMsg = 'No method name \'' . $parts[1] . '\' in class ' . $parts[0];
throw new \InvalidArgumentException($errorMsg, 1294585865);
}
at TYPO3\CMS\Core\Utility\GeneralUtility::callUserFunction()
in /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/frontend/Classes/Http/RequestHandler.php line 718
// @internal hook for EXT:seo, will be gone soon, do not use it in your own extensions
$_params = ['page' => $controller->page];
$_ref = null;
foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['TYPO3\CMS\Frontend\Page\PageGenerator']['generateMetaTags'] ?? [] as $_funcRef) {
GeneralUtility::callUserFunction($_funcRef, $_params, $_ref);
}
$this->generateHrefLangTags($controller, $request);
$this->generateMetaTagHtml(
at TYPO3\CMS\Frontend\Http\RequestHandler->processHtmlBasedRenderingSettings()
in /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/frontend/Classes/Http/RequestHandler.php line 204
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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/frontend/Classes/Http/RequestHandler.php line 134
// 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()
in /homepages/28/d737999010/htdocs/typo3-site/public/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()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/typo3conf/ext/tt_news/Classes/Middleware/AjaxResolver.php line 48
{
$eID = $request->getParsedBody()['ttnewsID'] ?? $request->getQueryParams()['ttnewsID'] ?? null;
if ($eID === null) {
return $handler->handle($request);
}
$parsedBody = $request->getQueryParams();
at RG\TtNews\Middleware\AjaxResolver->process()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/typo3conf/ext/rdct/Classes/Middleware/SendRedirect.php line 42
{
// No GET parameter set, do nothing
$redirectHash = $request->getQueryParams()['RDCT'] ?? '';
if (empty($redirectHash)) {
return $handler->handle($request);
}
$row = $this->fetchRedirectRecord($redirectHash);
if (is_array($row)) {
at FoT3\Rdct\Middleware\SendRedirect->process()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/typo3conf/ext/jumpurl/Classes/Middleware/JumpUrlHandler.php line 72
// Regular jump URL
$this->validateIfJumpUrlRedirectIsAllowed($jumpUrl, $juHash);
return $this->redirectToJumpUrl($jumpUrl);
}
return $handler->handle($request);
}
/**
* Redirects the user to the given jump URL if all submitted values
* are valid (checked before)
at FoT3\Jumpurl\Middleware\JumpUrlHandler->process()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/typo3conf/ext/direct_mail/Classes/Middleware/JumpurlController.php line 145
$queryParamsToPass['juHash'] = $this->calculateJumpUrlHash($jumpurl);
$queryParamsToPass['jumpurl'] = $jumpurl;
}
return $handler->handle($request->withQueryParams($queryParamsToPass));
}
/**
* Check if an entry exists that is younger than 10 seconds
at DirectMailTeam\DirectMail\Middleware\JumpurlController->process()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelDataPersister.php line 45
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$response = $handler->handle($request);
if (
!($response instanceof NullResponse)
&& $GLOBALS['TSFE'] instanceof TypoScriptFrontendController
&& $GLOBALS['TSFE']->isOutputting(true)
at TYPO3\CMS\Adminpanel\Middleware\AdminPanelDataPersister->process()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelRenderer.php line 47
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$response = $handler->handle($request);
if (
!($response instanceof NullResponse)
&& $GLOBALS['TSFE'] instanceof TypoScriptFrontendController
&& $GLOBALS['TSFE']->isOutputting(true)
at TYPO3\CMS\Adminpanel\Middleware\AdminPanelRenderer->process()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/frontend/Classes/Middleware/ContentLengthResponseHeader.php line 47
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$response = $handler->handle($request);
if (
!($response instanceof NullResponse)
&& $GLOBALS['TSFE'] instanceof TypoScriptFrontendController
&& $GLOBALS['TSFE']->isOutputting(true)) {
at TYPO3\CMS\Frontend\Middleware\ContentLengthResponseHeader->process()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/frontend/Classes/Middleware/ShortcutAndMountPointRedirect.php line 69
return new RedirectResponse($externalUrl, 303);
}
}
return $handler->handle($request);
}
protected function getRedirectUri(ServerRequestInterface $request): ?string
{
at TYPO3\CMS\Frontend\Middleware\ShortcutAndMountPointRedirect->process()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/frontend/Classes/Middleware/PrepareTypoScriptFrontendRendering.php line 86
$this->convertCharsetRecursivelyToUtf8($parsedBody, $this->controller->metaCharset);
$request = $request->withParsedBody($parsedBody);
}
}
return $handler->handle($request);
}
/**
* Small helper function to convert charsets for arrays to UTF-8
at TYPO3\CMS\Frontend\Middleware\PrepareTypoScriptFrontendRendering->process()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/frontend/Classes/Middleware/TypoScriptFrontendInitialization.php line 108
}
// Make TSFE globally available
$GLOBALS['TSFE'] = $controller;
return $handler->handle($request);
}
/**
* Register the backend user as aspect
at TYPO3\CMS\Frontend\Middleware\TypoScriptFrontendInitialization->process()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/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()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/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()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/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()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/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()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/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()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/packages/hsv_base/Classes/Middleware/SiteFinderMiddleware.php line 26
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
if ($request->getUri()->getPath() !== '/api/baseurl-by-pid') {
return $handler->handle($request);
}
$siteFinder = GeneralUtility::makeInstance(SiteFinder::class);
$site = $siteFinder->getSiteByPageId($request->getQueryParams()['pid']);
at MR\HsvBase\Middleware\SiteFinderMiddleware->process()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/packages/hsv_base/Classes/Middleware/PublicPageTreeMiddleware.php line 37
->withHeader('Content-Type', 'application/json; charset=utf-8');
$response->getBody()->write(json_encode($tree));
return $response;
}
return $handler->handle($request);
}
/**
* @param int $pageUid Root page
at MR\HsvBase\Middleware\PublicPageTreeMiddleware->process()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/packages/hsv_base/Classes/Middleware/LaravelSessionMiddleware.php line 42
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
if ($request->getUri()->getPath() !== '/api/laravel') {
return $handler->handle($request);
}
if ($request->getMethod() !== 'POST') {
return $handler->handle($request);
at MR\HsvBase\Middleware\LaravelSessionMiddleware->process()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/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()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/redirects/Classes/Http/Middleware/RedirectHandler.php line 102
unset($GLOBALS['TYPO3_REQUEST']);
}
}
return $handler->handle($request);
}
/**
* Creates a PSR-7 compatible Response object
at TYPO3\CMS\Redirects\Http\Middleware\RedirectHandler->process()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/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()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/frontend/Classes/Middleware/FrontendUserAuthenticator.php line 83
// Register the frontend user as aspect and within the session
$this->setFrontendUserAspect($frontendUser);
$request = $request->withAttribute('frontend.user', $frontendUser);
$response = $handler->handle($request);
// Store session data for fe_users if it still exists
if ($frontendUser instanceof FrontendUserAuthentication) {
$frontendUser->storeSessionData();
at TYPO3\CMS\Frontend\Middleware\FrontendUserAuthenticator->process()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/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()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/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()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/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()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/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()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/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()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/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()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$187->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/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()
in /homepages/28/d737999010/htdocs/typo3-site/public/typo3/sysext/core/Classes/Http/AbstractApplication.php line 85
* @return ResponseInterface
*/
protected function handle(ServerRequestInterface $request): ResponseInterface
{
return $this->requestHandler->handle($request);
}
/**
* Set up the application and shut it down afterwards
at TYPO3\CMS\Core\Http\AbstractApplication->handle()
in /homepages/28/d737999010/htdocs/typo3-site/public/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()
in /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/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 /homepages/28/d737999010/htdocs/typo3-site/public/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();
});