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) #1521716622 TYPO3\CMS\Core\Exception\SiteNotFoundException

No site found in root line of page 1137

in /html/typo3/vendor/typo3/cms-core/Classes/Site/SiteFinder.php line 123
            if (isset($this->mappingRootPageIdToIdentifier[(int)$pageInRootLine['uid']])) {
                return $this->sites[$this->mappingRootPageIdToIdentifier[(int)$pageInRootLine['uid']]];
            }
        }
        throw new SiteNotFoundException('No site found in root line of page ' . $pageId, 1521716622);
    }

    protected function fetchAllSites(bool $useCache = true): void
    {
at TYPO3\CMS\Core\Site\SiteFinder->getSiteByPageId(1137)
in /html/typo3/vendor/typo3/cms-core/Classes/Routing/PageSlugCandidateProvider.php line 301

            // Add possible sub-pages prepended with the MountPoint page slug
            if ($mountPageInformation) {
                /** @var array $mountedPage */
                $siteOfMountedPage = $siteFinder->getSiteByPageId((int)$mountedPage['uid']);
                $morePageCandidates = $this->findPageCandidatesOfMountPoint(
                    $row,
                    $mountedPage,
                    $siteOfMountedPage,
at TYPO3\CMS\Core\Routing\PageSlugCandidateProvider->getPagesFromDatabaseForCandidates(array('/archive/malsfeld/malsfeld/politik_verwaltung/Parteien/GL/_1988_0100_GL_Dorfschelle_Ma.pdf/', '/archive/malsfeld/malsfeld/politik_verwaltung/Parteien/GL/_1988_0100_GL_Dorfschelle_Ma.pdf', '/archive/malsfeld/malsfeld/politik_verwaltung/Parteien/GL/', '/archive/malsfeld/malsfeld/politik_verwaltung/Parteien/GL', '/archive/malsfeld/malsfeld/politik_verwaltung/Parteien/', '/archive/malsfeld/malsfeld/politik_verwaltung/Parteien', '/archive/malsfeld/malsfeld/politik_verwaltung/', '/archive/malsfeld/malsfeld/politik_verwaltung', '/archive/malsfeld/malsfeld/', '/archive/malsfeld/malsfeld', '/archive/malsfeld/', '/archive/malsfeld', '/archive/', '/archive', '/'), 0)
in /html/typo3/vendor/typo3/cms-core/Classes/Routing/PageSlugCandidateProvider.php line 81
            $languages = array_merge($languages, $language->getFallbackLanguageIds());
        }
        // Iterate all defined languages in their configured order to get matching page candidates somewhere in the language fallback chain
        foreach ($languages as $languageId) {
            $pageCandidatesFromSlugsAndLanguage = $this->getPagesFromDatabaseForCandidates($slugCandidates, $languageId);
            // Determine whether fetched page candidates qualify for the request. The incoming URL is checked against all
            // pages found for the current URL and language.
            foreach ($pageCandidatesFromSlugsAndLanguage as $candidate) {
                $slugCandidate = '/' . trim($candidate['slug'], '/');
at TYPO3\CMS\Core\Routing\PageSlugCandidateProvider->getCandidatesForPath('/archive/malsfeld/malsfeld/politik_verwaltung/Parteien/GL/_1988_0100_GL_Dorfschelle_Ma.pdf', object(TYPO3\CMS\Core\Site\Entity\SiteLanguage))
in /html/typo3/vendor/typo3/cms-core/Classes/Routing/PageRouter.php line 131
        // 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 /html/typo3/vendor/typo3/cms-frontend/Classes/Middleware/PageResolver.php line 71

        // 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/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c))
in /html/typo3/vendor/typo3/cms-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/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/vendor/typo3/cms-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(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c))
in /html/typo3/vendor/typo3/cms-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/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/vendor/typo3/cms-adminpanel/Classes/Middleware/AdminPanelInitiator.php line 51
                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/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c))
in /html/typo3/vendor/typo3/cms-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/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/vendor/typo3/cms-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(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c))
in /html/typo3/vendor/typo3/cms-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/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/vendor/typo3/cms-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(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c))
in /html/typo3/vendor/typo3/cms-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/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/vendor/typo3/cms-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(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c))
in /html/typo3/vendor/typo3/cms-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/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/vendor/typo3/cms-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(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c))
in /html/typo3/vendor/typo3/cms-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/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/vendor/apache-solr-for-typo3/solr/Classes/Middleware/PageIndexerInitialization.php line 62
            $pageIndexerRequestHandler = GeneralUtility::makeInstance(PageIndexerRequestHandler::class);
            $pageIndexerRequestHandler->initialize($pageIndexerRequest);
        }

        $response = $handler->handle($request);
        if ($pageIndexerRequestHandler instanceof PageIndexerRequestHandler && $pageIndexerRequest instanceof PageIndexerRequest) {
            $pageIndexResponse = $pageIndexerRequestHandler->shutdown($pageIndexerRequest);

            $body = new Stream('php://temp', 'rw');
at ApacheSolrForTypo3\Solr\Middleware\PageIndexerInitialization->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c))
in /html/typo3/vendor/typo3/cms-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/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/vendor/typo3/cms-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(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c))
in /html/typo3/vendor/typo3/cms-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/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/vendor/typo3/cms-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(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c))
in /html/typo3/vendor/typo3/cms-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/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/vendor/typo3/cms-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(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c))
in /html/typo3/vendor/typo3/cms-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/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/vendor/typo3/cms-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(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c))
in /html/typo3/vendor/typo3/cms-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/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/vendor/typo3/cms-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(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c))
in /html/typo3/vendor/typo3/cms-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/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/vendor/typo3/cms-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(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c))
in /html/typo3/vendor/typo3/cms-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/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/vendor/fluidtypo3/vhs/Classes/Middleware/RequestAvailability.php line 14
{
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        $GLOBALS['TYPO3_REQUEST'] = $GLOBALS['TYPO3_REQUEST'] ?? $request;
        return $handler->handle($request);
    }
}
at FluidTYPO3\Vhs\Middleware\RequestAvailability->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c))
in /html/typo3/vendor/typo3/cms-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/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/vendor/typo3/cms-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/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c))
in /html/typo3/vendor/typo3/cms-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/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/vendor/typo3/cms-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(object(TYPO3\CMS\Core\Http\ServerRequest), object(Psr\Http\Server\RequestHandlerInterface@anonymous/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c))
in /html/typo3/vendor/typo3/cms-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/html/typo3/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$4c->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/vendor/typo3/cms-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(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/vendor/typo3/cms-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(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/vendor/typo3/cms-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(object(TYPO3\CMS\Core\Http\ServerRequest))
in /html/typo3/vendor/typo3/cms-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 /html/typo3/public/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 /html/typo3/public/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();
});