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) #1257246929 TYPO3Fluid\Fluid\View\Exception\InvalidTemplateResourceException

Tried resolving a template file for controller action "Standard->diaContentdetail" in format ".html", but none of the paths contained the expected template file (Standard/DiaContentdetail.html). The following paths were checked: /var/www/westerwald-hochzeit.de/web/typo3/typo3conf/ext/theme/Resources/Private/Templates/Page/, /var/www/westerwald-hochzeit.de/web/typo3/typo3conf/ext/themeoverride/Resources/Private/Templates/WesterwaldHochzeit/Page

in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/vendor/typo3fluid/fluid/src/View/TemplatePaths.php line 598
        }
        $templateReference = $this->resolveTemplateFileForControllerAndActionAndFormat($controller, $action);
        if (!file_exists($templateReference) && $templateReference !== 'php://stdin') {
            $format = $this->getFormat();
            throw new InvalidTemplateResourceException(
                sprintf(
                    'Tried resolving a template file for controller action "%s->%s" in format ".%s", but none of the paths ' .
                    'contained the expected template file (%s). %s',
                    $controller,
at TYPO3Fluid\Fluid\View\TemplatePaths->getTemplateSource()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/vendor/typo3fluid/fluid/src/View/AbstractTemplateView.php line 391
        $actionName = $renderingContext->getControllerAction();
        $parsedTemplate = $templateParser->getOrParseAndStoreTemplate(
            $templatePaths->getTemplateIdentifier($controllerName, $actionName),
            function($parent, TemplatePaths $paths) use ($controllerName, $actionName, $renderingContext) {
                return $paths->getTemplateSource($controllerName, $actionName);
            }
        );
        if ($parsedTemplate->isCompiled()) {
            $parsedTemplate->addCompiledNamespaces($this->baseRenderingContext);
at TYPO3Fluid\Fluid\View\AbstractTemplateView->TYPO3Fluid\Fluid\View\{closure}()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/vendor/typo3fluid/fluid/src/Core/Parser/TemplateParser.php line 212
     */
    protected function parseTemplateSource($templateIdentifier, $templateSourceClosure)
    {
        $parsedTemplate = $this->parse(
            $templateSourceClosure($this, $this->renderingContext->getTemplatePaths()),
            $templateIdentifier
        );
        $parsedTemplate->setIdentifier($templateIdentifier);
        $this->parsedTemplates[$templateIdentifier] = $parsedTemplate;
at TYPO3Fluid\Fluid\Core\Parser\TemplateParser->parseTemplateSource()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/vendor/typo3fluid/fluid/src/Core/Parser/TemplateParser.php line 192
            if ($parsedTemplate instanceof UncompilableTemplateInterface) {
                $parsedTemplate = $this->parseTemplateSource($templateIdentifier, $templateSourceClosure);
            }
        } else {
            $parsedTemplate = $this->parseTemplateSource($templateIdentifier, $templateSourceClosure);
            try {
                $compiler->store($templateIdentifier, $parsedTemplate);
            } catch (StopCompilingException $stop) {
                $this->renderingContext->getErrorHandler()->handleCompilerError($stop);
at TYPO3Fluid\Fluid\Core\Parser\TemplateParser->getOrParseAndStoreTemplate()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/vendor/typo3fluid/fluid/src/View/AbstractTemplateView.php line 392
        $parsedTemplate = $templateParser->getOrParseAndStoreTemplate(
            $templatePaths->getTemplateIdentifier($controllerName, $actionName),
            function($parent, TemplatePaths $paths) use ($controllerName, $actionName, $renderingContext) {
                return $paths->getTemplateSource($controllerName, $actionName);
            }
        );
        if ($parsedTemplate->isCompiled()) {
            $parsedTemplate->addCompiledNamespaces($this->baseRenderingContext);
        }
at TYPO3Fluid\Fluid\View\AbstractTemplateView->getCurrentParsedTemplate()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/vendor/typo3fluid/fluid/src/View/AbstractTemplateView.php line 179
            $actionName = ucfirst($actionName);
            $renderingContext->setControllerAction($actionName);
        }
        try {
            $parsedTemplate = $this->getCurrentParsedTemplate();
        } catch (PassthroughSourceException $error) {
            return $error->getSource();
        }

at TYPO3Fluid\Fluid\View\AbstractTemplateView->render()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/frontend/Classes/ContentObject/FluidTemplateContentObject.php line 358
     * @return string
     */
    protected function renderFluidView()
    {
        return $this->view->render();
    }

    /**
     * Apply standard wrap to content
at TYPO3\CMS\Frontend\ContentObject\FluidTemplateContentObject->renderFluidView()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/frontend/Classes/ContentObject/FluidTemplateContentObject.php line 108

        $this->view->assignMultiple($variables);

        $this->renderFluidTemplateAssetsIntoPageRenderer();
        $content = $this->renderFluidView();
        $content = $this->applyStandardWrapToRenderedContent($content, $conf);

        $this->view = $parentView;
        return $content;
at TYPO3\CMS\Frontend\ContentObject\FluidTemplateContentObject->render()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 829
        }

        // 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 /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 743
                }
                if (!$hooked) {
                    $contentObject = $this->getContentObject($name);
                    if ($contentObject) {
                        $content .= $this->render($contentObject, $conf);
                    } else {
                        // Call hook functions for extra processing
                        if ($name) {
                            if (!empty($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['cObjTypeAndClassDefault'])) {
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSingle()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 688
        foreach ($sKeyArray as $theKey) {
            $theValue = $setup[$theKey];
            if ((int)$theKey && strpos($theKey, '.') === false) {
                $conf = $setup[$theKey . '.'] ?? [];
                $content .= $this->cObjGetSingle($theValue, $conf, $addKey . $theKey);
            }
        }
        return $content;
    }
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGet()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/frontend/Classes/Http/RequestHandler.php line 232
     * @return string
     */
    protected function generatePageBodyContent(TypoScriptFrontendController $controller): string
    {
        $pageContent = $controller->cObj->cObjGet($controller->pSetup) ?: '';
        if ($controller->pSetup['wrap'] ?? false) {
            $pageContent = $controller->cObj->wrap($pageContent, $controller->pSetup['wrap']);
        }
        if ($controller->pSetup['stdWrap.'] ?? false) {
at TYPO3\CMS\Frontend\Http\RequestHandler->generatePageBodyContent()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/frontend/Classes/Http/RequestHandler.php line 198
    protected function generatePageContent(TypoScriptFrontendController $controller, ServerRequestInterface $request): string
    {
        // Generate the main content between the <body> tags
        // This has to be done first, as some additional TSFE-related code could have been written
        $pageContent = $this->generatePageBodyContent($controller);
        // If 'disableAllHeaderCode' is set, all the pageRenderer settings are not evaluated
        if ($controller->config['config']['disableAllHeaderCode'] ?? false) {
            return $pageContent;
        }
at TYPO3\CMS\Frontend\Http\RequestHandler->generatePageContent()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/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 /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/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 /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$10a->handle()
in /var/www/clients/client4/web8/web/typo3/typo3conf/ext/crawler/Classes/Middleware/CrawlerInitialization.php line 58
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        $queueParameters = $request->getAttribute('tx_crawler');
        if ($queueParameters === null) {
            return $handler->handle($request);
        }

        $GLOBALS['TSFE']->applicationData['forceIndexing'] = true;
        $GLOBALS['TSFE']->applicationData['tx_crawler']['running'] = true;
at AOE\Crawler\Middleware\CrawlerInitialization->process()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$10a->handle()
in /var/www/clients/client4/web8/web/typo3/typo3conf/ext/vhs/Classes/Middleware/AssetInclusion.php line 20
class AssetInclusion implements MiddlewareInterface
{
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        $response = $handler->handle($request);

        $body = $response->getBody();
        $body->rewind();
        $contents = $body->getContents();
at FluidTYPO3\Vhs\Middleware\AssetInclusion->process()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$10a->handle()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/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 /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$10a->handle()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/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 /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$10a->handle()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/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 /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$10a->handle()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/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 /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$10a->handle()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/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 /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$10a->handle()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/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 /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$10a->handle()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/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 /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$10a->handle()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/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 /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$10a->handle()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/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 /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$10a->handle()
in /var/www/clients/client4/web8/web/typo3/typo3conf/ext/crawler/Classes/Middleware/FrontendUserAuthenticator.php line 75
        $jsonCompatibilityConverter = GeneralUtility::makeInstance(JsonCompatibilityConverter::class);

        $crawlerInformation = $request->getHeaderLine($this->headerName) ?? null;
        if (empty($crawlerInformation)) {
            return $handler->handle($request);
        }

        // Authenticate crawler request:
        //@todo: ask service to exclude current call for special reasons: for example no relevance because the language version is not affected
at AOE\Crawler\Middleware\FrontendUserAuthenticator->process()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$10a->handle()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/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 /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$10a->handle()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/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 /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$10a->handle()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/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 /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$10a->handle()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/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 /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$10a->handle()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/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 /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$10a->handle()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/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 /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$10a->handle()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/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 /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$10a->handle()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/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 /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/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 /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/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 /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/typo3/sysext/core/Classes/Http/AbstractApplication.php line 97
    final public function run(callable $execute = null)
    {
        try {
            $response = $this->handle(
                ServerRequestFactory::fromGlobals()
            );
            if ($execute !== null) {
                call_user_func($execute);
            }
at TYPO3\CMS\Core\Http\AbstractApplication->run()
in /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/index.php line 25
// Set up the application for the frontend
call_user_func(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 /var/www/clients/client4/web8/web/typo3/typo3_src-10.4.36/index.php line 26
call_user_func(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();
});