in /var/www/html/html/typo3/sysext/core/Classes/Routing/PageSlugCandidateProvider.php line 72
* @param string $urlPath
* @param SiteLanguage $language
* @return array<int,array<string,mixed>>
*/
public function getCandidatesForPath(string $urlPath, SiteLanguage $language): array
{
$slugCandidates = $this->getCandidateSlugsFromRoutePath($urlPath ?: '/');
$pageCandidates = [];
$languages = [$language->getLanguageId()];
at TYPO3\CMS\Core\Routing\PageSlugCandidateProvider->getCandidatesForPath('/', null)
in /var/www/html/html/typo3/sysext/core/Classes/Routing/PageRouter.php line 152
// will handle this then.
// The prepended slash will ensure that the root page of the site tree will also be fetched
$prefixedUrlPath = '/' . ltrim($urlPath, '/');
$pageCandidates = $candidateProvider->getCandidatesForPath($prefixedUrlPath, $language);
// Stop if there are no candidates
if (empty($pageCandidates)) {
throw new RouteNotFoundException('No page candidates found for path "' . $prefixedUrlPath . '"', 1538389999);
at TYPO3\CMS\Core\Routing\PageRouter->matchRequest(object(TYPO3\CMS\Core\Http\ServerRequest), object(TYPO3\CMS\Core\Routing\SiteRouteResult))
in /var/www/html/html/typo3/sysext/frontend/Classes/Middleware/PageResolver.php line 75
// Check for the route arguments or Query Parameter ID
try {
/** @var PageArguments $pageArguments */
$pageArguments = $site->getRouter()->matchRequest($request, $previousResult);
$request = $request->withAttribute('routing', $pageArguments);
} catch (RouteNotFoundException $e) {
return GeneralUtility::makeInstance(ErrorController::class)->pageNotFoundAction(
$request,
at TYPO3\CMS\Frontend\Middleware\PageResolver->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47))
in /var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/html/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(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47))
in /var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/html/typo3/sysext/frontend/Classes/Middleware/FrontendUserAuthenticator.php line 97
if ($this->context->getAspect('frontend.user')->isLoggedIn() && $rateLimiter) {
$rateLimiter->reset();
}
$response = $handler->handle($request);
// Store session data for fe_users if it still exists
if ($frontendUser instanceof FrontendUserAuthentication) {
$frontendUser->storeSessionData();
at TYPO3\CMS\Frontend\Middleware\FrontendUserAuthenticator->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47))
in /var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/html/typo3/sysext/frontend/Classes/Middleware/BackendUserAuthenticator.php line 78
Bootstrap::loadExtTables();
$this->setBackendUserAspect($GLOBALS['BE_USER']);
}
$response = $handler->handle($request);
// If, when building the response, the user is still available, then ensure that the headers are sent properly
if ($this->context->getAspect('backend.user')->isLoggedIn()) {
return $this->applyHeadersToResponse($response);
at TYPO3\CMS\Frontend\Middleware\BackendUserAuthenticator->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47))
in /var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/html/typo3/sysext/frontend/Classes/Middleware/MaintenanceMode.php line 55
) {
return GeneralUtility::makeInstance(ErrorController::class)->unavailableAction($request, 'This page is temporarily unavailable.');
}
// Continue the regular stack if no maintenance mode is active
return $handler->handle($request);
}
}
at TYPO3\CMS\Frontend\Middleware\MaintenanceMode->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47))
in /var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/html/typo3/sysext/frontend/Classes/Middleware/EidHandler.php line 64
{
$eID = $request->getParsedBody()['eID'] ?? $request->getQueryParams()['eID'] ?? null;
if ($eID === null) {
return $handler->handle($request);
}
// Remove any output produced until now
ob_clean();
at TYPO3\CMS\Frontend\Middleware\EidHandler->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47))
in /var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/html/typo3/sysext/frontend/Classes/Middleware/StaticRouteResolver.php line 80
return new HtmlResponse($content, 200, ['Content-Type' => $contentType]);
}
}
return $handler->handle($request);
}
/**
* Find the proper configuration for the static route in the static route configuration. Mainly:
at TYPO3\CMS\Frontend\Middleware\StaticRouteResolver->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47))
in /var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/html/typo3conf/ext/authorized_preview/Classes/Http/Middleware/Preview.php line 50
}
$language = $request->getAttribute('language', null);
if (!$language instanceof SiteLanguage) {
return $handler->handle($request);
}
$hash = $this->findHashInRequest($request);
if (empty($hash) && $language->isEnabled()) {
at B13\AuthorizedPreview\Http\Middleware\Preview->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47))
in /var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/html/typo3/sysext/frontend/Classes/Middleware/SiteResolver.php line 65
$request = $request->withAttribute('routing', $routeResult);
if ($routeResult->getLanguage() instanceof SiteLanguage) {
Locales::setSystemLocaleFromSiteLanguage($routeResult->getLanguage());
}
return $handler->handle($request);
}
}
at TYPO3\CMS\Frontend\Middleware\SiteResolver->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47))
in /var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/html/typo3/sysext/core/Classes/Middleware/NormalizedParamsAttribute.php line 45
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$request = $request->withAttribute('normalizedParams', NormalizedParams::createFromRequest($request));
return $handler->handle($request);
}
}
at TYPO3\CMS\Core\Middleware\NormalizedParamsAttribute->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47))
in /var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/html/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(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47))
in /var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/html/typo3/sysext/frontend/Classes/Middleware/TimeTrackerInitialization.php line 58
$this->timeTracker->setEnabled($timeTrackingEnabled);
$this->timeTracker->start(microtime(true));
$this->timeTracker->push('');
$response = $handler->handle($request);
// Finish time tracking
$this->timeTracker->pull();
$this->timeTracker->finish();
at TYPO3\CMS\Frontend\Middleware\TimeTrackerInitialization->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47))
in /var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/packages/mv_template/Classes/Middleware/SiteBaseRedirectResolver.php line 89
$uri = $requestedUri->withPath(rtrim($requestedUri->getPath(), '/'));
return new RedirectResponse($uri, 307);
}
}
return $handler->handle($request);
}
}
at Multivisio\MvTemplate\Middleware\SiteBaseRedirectResolver->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47))
in /var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/html/typo3conf/ext/opcache_control/Classes/Http/Middleware/OpcacheStatusHandler.php line 33
{
$action = new OpcacheAction(OpcacheAction::STATUS);
if (strtolower($request->getMethod()) !== $action->getRequestMethod() || $request->getUri()->getPath() !== $action->getUriPath()) {
return $handler->handle($request);
}
$response = $this->opcacheActionResponseFactory->createResponse($request, function (array $result): array {
$result['status'] = $this->opcacheStatusReporter->getStatus();
at Pagemachine\OpcacheControl\Http\Middleware\OpcacheStatusHandler->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47))
in /var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/html/typo3conf/ext/opcache_control/Classes/Http/Middleware/OpcacheResetHandler.php line 33
{
$action = new OpcacheAction(OpcacheAction::RESET);
if (strtolower($request->getMethod()) !== $action->getRequestMethod() || $request->getUri()->getPath() !== $action->getUriPath()) {
return $handler->handle($request);
}
$response = $this->opcacheActionResponseFactory->createResponse($request);
at Pagemachine\OpcacheControl\Http\Middleware\OpcacheResetHandler->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47))
in /var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at Psr\Http\Server\RequestHandlerInterface@anonymous/var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$47->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/html/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 78
* @return ResponseInterface
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
return $this->tip->handle($request);
}
/**
* Seed the middleware stack with the inner request handler
at TYPO3\CMS\Core\Http\MiddlewareDispatcher->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/html/typo3/sysext/core/Classes/Http/AbstractApplication.php line 86
*/
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(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/html/typo3/sysext/frontend/Classes/Http/Application.php line 69
// Create new request object having applicationType "I am a frontend request" attribute.
$request = $request->withAttribute('applicationType', SystemEnvironmentBuilder::REQUESTTYPE_FE);
$this->initializeContext();
return parent::handle($request);
}
/**
* Create a PSR-7 Response that redirects to the install tool
at TYPO3\CMS\Frontend\Http\Application->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /var/www/html/html/typo3/sysext/core/Classes/Http/AbstractApplication.php line 100
* @param callable $execute Deprecated, will be removed in TYPO3 v12.0
*/
final public function run(callable $execute = null)
{
$response = $this->handle(ServerRequestFactory::fromGlobals());
if ($execute !== null) {
trigger_error('Custom execution of Application code will be removed in TYPO3 v12.0, use PSR-15 Middlewares instead.', E_USER_DEPRECATED);
$execute();
}
at TYPO3\CMS\Core\Http\AbstractApplication->run()
in /var/www/html/html/index.php line 20
// Set up the application for the frontend
call_user_func(static 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/html/index.php line 21
call_user_func(static 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();
});