Whoops, looks like something went wrong.

(1/1) TypeError

TYPO3\CMS\Core\Utility\GeneralUtility::xml2array(): Argument #1 ($string) must be of type string, null given, called in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Service/FlexFormService.php on line 40

in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Utility/GeneralUtility.php line 1292
     * @return array|string If the parsing had errors, a string with the error message is returned. Otherwise an array with the content.
     * @see array2xml()
     * @see xml2arrayProcess()
     */
    public static function xml2array(string $string, string $NSprefix = '', bool $reportDocTag = false): array|string
    {
        $runtimeCache = static::makeInstance(CacheManager::class)->getCache('runtime');
        $firstLevelCache = $runtimeCache->get('generalUtilityXml2Array') ?: [];
        $identifier = md5($string . $NSprefix . ($reportDocTag ? '1' : '0'));
at TYPO3\CMS\Core\Utility\GeneralUtility::xml2array()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Service/FlexFormService.php line 40
     */
    public function convertFlexFormContentToArray($flexFormContent, $languagePointer = 'lDEF', $valuePointer = 'vDEF'): array
    {
        $settings = [];
        $flexFormArray = GeneralUtility::xml2array($flexFormContent);
        $flexFormArray = $flexFormArray['data'] ?? [];
        foreach (array_values($flexFormArray) as $languages) {
            if (!is_array($languages[$languagePointer] ?? false)) {
                continue;
at TYPO3\CMS\Core\Service\FlexFormService->convertFlexFormContentToArray()
in /var/www/vhosts/proxes.com/httpdocs/local_packages/proxes/Classes/DataProcessing/FlexFormProcessor.php line 49
        $fieldName = $cObj->stdWrapValue('fieldName', $processorConfiguration, 'pi_flexform');

        // parse flexform
        $flexformService = GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Service\\FlexFormService');
        $processedData[$targetVariableName] = $flexformService->convertFlexFormContentToArray($cObj->data[$fieldName]);

        // if targetvariable is settings, try to merge it with contentObjectConfiguration['settings.']
        if ($targetVariableName == 'settings') {
            if (is_array($contentObjectConfiguration['settings.'])) {
at Jed\Proxes\DataProcessing\FlexFormProcessor->process()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/ContentObject/ContentDataProcessor.php line 56
            foreach ($processorKeys as $key) {
                $dataProcessor = $this->dataProcessorRegistry->getDataProcessor($processors[$key])
                    ?? $this->getDataProcessor($processors[$key]);
                $processorConfiguration = $processors[$key . '.'] ?? [];
                $variables = $dataProcessor->process(
                    $cObject,
                    $configuration,
                    $processorConfiguration,
                    $variables
at TYPO3\CMS\Frontend\ContentObject\ContentDataProcessor->process()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/ContentObject/FluidTemplateContentObject.php line 135
            $settings = $this->typoScriptService->convertTypoScriptArrayToPlainArray($conf['settings.']);
            $view->assign('settings', $settings);
        }
        $variables = $this->getContentObjectVariables($conf);
        $variables = $this->contentDataProcessor->process($this->cObj, $conf, $variables);
        $view->assignMultiple($variables);

        // Rendering the view internally set's the template (paths). This is required for following asset rendering
        $content = $view->render($templateFilename);
at TYPO3\CMS\Frontend\ContentObject\FluidTemplateContentObject->render()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/ContentObject/ContentObjectRenderer.php line 671
        }

        // 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/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/ContentObject/ContentObjectRenderer.php line 618
        $fullConfigArray = $this->mergeTSRef($fullConfigArray, 'tempKey');
        $contentObject = $this->getContentObject($fullConfigArray['tempKey']);
        $content = '';
        if ($contentObject) {
            $content = $this->render($contentObject, $fullConfigArray['tempKey.']);
        }
        if ($timeTracker->LR) {
            $timeTracker->pull($content);
        }
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSingle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/ContentObject/CaseContentObject.php line 45
        // If no "default" property is available, then an empty string is returned
        if ($key === 'default' && !isset($conf['default'])) {
            $theValue = '';
        } else {
            $theValue = $this->cObj->cObjGetSingle($conf[$key], $conf[$key . '.'] ?? [], $key);
        }
        if (isset($conf['stdWrap.'])) {
            $theValue = $this->cObj->stdWrap($theValue, $conf['stdWrap.']);
        }
at TYPO3\CMS\Frontend\ContentObject\CaseContentObject->render()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/ContentObject/ContentObjectRenderer.php line 671
        }

        // 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/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/ContentObject/ContentObjectRenderer.php line 618
        $fullConfigArray = $this->mergeTSRef($fullConfigArray, 'tempKey');
        $contentObject = $this->getContentObject($fullConfigArray['tempKey']);
        $content = '';
        if ($contentObject) {
            $content = $this->render($contentObject, $fullConfigArray['tempKey.']);
        }
        if ($timeTracker->LR) {
            $timeTracker->pull($content);
        }
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSingle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/ContentObject/ContentContentObject.php line 116
                        $frontendController->currentRecord = $registerField;
                        $this->cObj->lastChanged($row['tstamp'] ?? 0);
                        $cObj->setRequest($this->request);
                        $cObj->start($row, $conf['table']);
                        $tmpValue = $cObj->cObjGetSingle($renderObjName, $renderObjConf, $renderObjKey);
                        $cobjValue .= $tmpValue;
                    }
                }
            }
at TYPO3\CMS\Frontend\ContentObject\ContentContentObject->render()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/ContentObject/ContentObjectRenderer.php line 671
        }

        // 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/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/ContentObject/ContentObjectRenderer.php line 618
        $fullConfigArray = $this->mergeTSRef($fullConfigArray, 'tempKey');
        $contentObject = $this->getContentObject($fullConfigArray['tempKey']);
        $content = '';
        if ($contentObject) {
            $content = $this->render($contentObject, $fullConfigArray['tempKey.']);
        }
        if ($timeTracker->LR) {
            $timeTracker->pull($content);
        }
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSingle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/ContentObject/ContentObjectRenderer.php line 587
        foreach ($sKeyArray as $theKey) {
            $theValue = $setup[$theKey];
            if ((int)$theKey && !str_contains($theKey, '.')) {
                $conf = $setup[$theKey . '.'] ?? [];
                $contentObjects[] = $this->cObjGetSingle($theValue, $conf, $addKey . $theKey);
            }
        }
        return $contentObjects;
    }
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSeparated()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/ContentObject/ContentObjectRenderer.php line 567
    {
        if (!is_array($setup)) {
            return '';
        }
        return implode('', $this->cObjGetSeparated($setup, $addKey));
    }

    /**
     * Rendering of a "numerical array" of cObjects from TypoScript
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGet()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/ContentObject/ContentObjectArrayContentObject.php line 43
        if (!empty($conf['if.']) && !$this->cObj->checkIf($conf['if.'])) {
            return '';
        }

        $content = $this->cObj->cObjGet($conf);
        $wrap = $this->cObj->stdWrapValue('wrap', $conf);
        if ($wrap) {
            $content = $this->cObj->wrap($content, $wrap);
        }
at TYPO3\CMS\Frontend\ContentObject\ContentObjectArrayContentObject->render()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/ContentObject/ContentObjectRenderer.php line 671
        }

        // 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/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/ContentObject/ContentObjectRenderer.php line 618
        $fullConfigArray = $this->mergeTSRef($fullConfigArray, 'tempKey');
        $contentObject = $this->getContentObject($fullConfigArray['tempKey']);
        $content = '';
        if ($contentObject) {
            $content = $this->render($contentObject, $fullConfigArray['tempKey.']);
        }
        if ($timeTracker->LR) {
            $timeTracker->pull($content);
        }
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSingle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-fluid/Classes/ViewHelpers/CObjectViewHelper.php line 136
        if ($timeTracker->LR) {
            $timeTracker->push('/f:cObject/', '<' . $typoscriptObjectPath);
        }
        $timeTracker->incStackPointer();
        $content = $contentObjectRenderer->cObjGetSingle($setup[$lastSegment], $setup[$lastSegment . '.'] ?? [], $typoscriptObjectPath);
        $timeTracker->decStackPointer();
        if ($timeTracker->LR) {
            $timeTracker->pull($content);
        }
at TYPO3\CMS\Fluid\ViewHelpers\CObjectViewHelper::renderContentObject()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-fluid/Classes/ViewHelpers/CObjectViewHelper.php line 119
                'No Content Object definition found at TypoScript object path "' . $typoscriptObjectPath . '"',
                1540246570
            );
        }
        $content = self::renderContentObject($contentObjectRenderer, $setup, $typoscriptObjectPath, $lastSegment);
        if (!isset($GLOBALS['TSFE']) || !($GLOBALS['TSFE'] instanceof TypoScriptFrontendController)) {
            self::resetFrontendEnvironment($tsfeBackup);
        }
        return $content;
at TYPO3\CMS\Fluid\ViewHelpers\CObjectViewHelper->render()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3fluid/fluid/src/Core/ViewHelper/AbstractViewHelper.php line 270
            );
        }
        $this->initialize();

        return $this->render();
    }

    /**
     * Initializes the view helper before invoking the render method.
at TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper->initializeArgumentsAndRender()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3fluid/fluid/src/Core/ViewHelper/ViewHelperInvoker.php line 74
            }
            $viewHelper->setRenderingContext($renderingContext);
            $viewHelper->setArguments($registeredArguments);
            $viewHelper->handleAdditionalArguments($arguments);
            return $viewHelper->initializeArgumentsAndRender();
        } catch (Exception $error) {
            return $renderingContext->getErrorHandler()->handleViewHelperError($error);
        }
    }
at TYPO3Fluid\Fluid\Core\ViewHelper\ViewHelperInvoker->invoke()
in /var/www/vhosts/proxes.com/httpdocs/var/cache/code/fluid_template/Default_action_Default_faba45b364fbcbfa.php line 2873
'typoscriptObjectPath' => 'lib.dynamicContent',
'data' => $array315,
];
$renderChildrenClosure314 = ($arguments313['data'] !== null) ? function() use ($arguments313) { return $arguments313['data']; } : $renderChildrenClosure314;
$output0 .= $renderingContext->getViewHelperInvoker()->invoke(TYPO3\CMS\Fluid\ViewHelpers\CObjectViewHelper::class, $arguments313, $renderingContext, $renderChildrenClosure314);

$output0 .= '
          </div>
      </div>
at Default_action_Default_faba45b364fbcbfa->section_b0000ec1c8d5f383()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3fluid/fluid/src/View/AbstractTemplateView.php line 247
                    new InvalidSectionException('Section "' . $sectionName . '" does not exist.'),
                );
            }
            $this->startRendering($renderingTypeOnNextLevel, $parsedTemplate, $renderingContext);
            $output = $parsedTemplate->$methodNameOfSection($renderingContext);
            $this->stopRendering();
        } else {
            $sections = $parsedTemplate->getVariableContainer()->get(TemplateCompiler::SECTIONS_VARIABLE);
            if (!isset($sections[$sectionName])) {
at TYPO3Fluid\Fluid\View\AbstractTemplateView->renderSection()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3fluid/fluid/src/ViewHelpers/RenderViewHelper.php line 162
            $content = (new $delegate())->render($this->renderingContext);
        } elseif ($partial !== null) {
            $content = $view->renderPartial($partial, $section, $variables, $optional);
        } elseif ($section !== null) {
            $content = $view->renderSection($section, $variables, $optional);
        } elseif (!$optional) {
            throw new \InvalidArgumentException('ViewHelper f:render called without either argument section, partial or delegate and optional flag is false');
        }
        // Replace empty content with default value. If default is
at TYPO3Fluid\Fluid\ViewHelpers\RenderViewHelper->render()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3fluid/fluid/src/Core/ViewHelper/AbstractViewHelper.php line 270
            );
        }
        $this->initialize();

        return $this->render();
    }

    /**
     * Initializes the view helper before invoking the render method.
at TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper->initializeArgumentsAndRender()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3fluid/fluid/src/Core/ViewHelper/ViewHelperInvoker.php line 74
            }
            $viewHelper->setRenderingContext($renderingContext);
            $viewHelper->setArguments($registeredArguments);
            $viewHelper->handleAdditionalArguments($arguments);
            return $viewHelper->initializeArgumentsAndRender();
        } catch (Exception $error) {
            return $renderingContext->getErrorHandler()->handleViewHelperError($error);
        }
    }
at TYPO3Fluid\Fluid\Core\ViewHelper\ViewHelperInvoker->invoke()
in /var/www/vhosts/proxes.com/httpdocs/var/cache/code/fluid_template/layout_Default_html_6e499b2da90c8af6.php line 42
'debug' => true,
'section' => 'Main',
];

$output0 .= $renderingContext->getViewHelperInvoker()->invoke(TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper::class, $arguments1, $renderingContext, $renderChildrenClosure2);

    return $output0;
}

at layout_Default_html_6e499b2da90c8af6->render()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3fluid/fluid/src/View/AbstractTemplateView.php line 187
                );
            } catch (Exception $validationError) {
                return $layoutRenderingContext->getErrorHandler()->handleViewError($validationError);
            }
            $output = $parsedLayout->render($layoutRenderingContext);
            $this->stopRendering();
        }

        return $output;
at TYPO3Fluid\Fluid\View\AbstractTemplateView->render()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-fluid/Classes/View/FluidViewAdapter.php line 57
    }

    public function render(string $templateFileName = ''): string
    {
        $renderedView = $this->view->render($templateFileName);
        if ($renderedView !== null && !is_scalar($renderedView) && !$renderedView instanceof \Stringable) {
            throw new \RuntimeException('The rendered Fluid view can not be turned into string', 1731959329);
        }
        return (string)$renderedView;
at TYPO3\CMS\Fluid\View\FluidViewAdapter->render()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/ContentObject/FluidTemplateContentObject.php line 139
        $variables = $this->contentDataProcessor->process($this->cObj, $conf, $variables);
        $view->assignMultiple($variables);

        // Rendering the view internally set's the template (paths). This is required for following asset rendering
        $content = $view->render($templateFilename);

        $this->renderFluidTemplateAssetsIntoPageRenderer($view, $variables);

        if (isset($conf['stdWrap.'])) {
at TYPO3\CMS\Frontend\ContentObject\FluidTemplateContentObject->render()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/ContentObject/ContentObjectRenderer.php line 671
        }

        // 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/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/ContentObject/ContentObjectRenderer.php line 618
        $fullConfigArray = $this->mergeTSRef($fullConfigArray, 'tempKey');
        $contentObject = $this->getContentObject($fullConfigArray['tempKey']);
        $content = '';
        if ($contentObject) {
            $content = $this->render($contentObject, $fullConfigArray['tempKey.']);
        }
        if ($timeTracker->LR) {
            $timeTracker->pull($content);
        }
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSingle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/ContentObject/ContentObjectRenderer.php line 587
        foreach ($sKeyArray as $theKey) {
            $theValue = $setup[$theKey];
            if ((int)$theKey && !str_contains($theKey, '.')) {
                $conf = $setup[$theKey . '.'] ?? [];
                $contentObjects[] = $this->cObjGetSingle($theValue, $conf, $addKey . $theKey);
            }
        }
        return $contentObjects;
    }
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSeparated()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/ContentObject/ContentObjectRenderer.php line 567
    {
        if (!is_array($setup)) {
            return '';
        }
        return implode('', $this->cObjGetSeparated($setup, $addKey));
    }

    /**
     * Rendering of a "numerical array" of cObjects from TypoScript
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGet()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/Http/RequestHandler.php line 247
     */
    protected function generatePageBodyContent(TypoScriptFrontendController $controller, ServerRequestInterface $request): string
    {
        $typoScriptPageSetupArray = $request->getAttribute('frontend.typoscript')->getPageArray();
        $pageContent = $controller->cObj->cObjGet($typoScriptPageSetupArray) ?: '';
        if ($typoScriptPageSetupArray['wrap'] ?? false) {
            $pageContent = $controller->cObj->wrap($pageContent, $typoScriptPageSetupArray['wrap']);
        }
        if ($typoScriptPageSetupArray['stdWrap.'] ?? false) {
at TYPO3\CMS\Frontend\Http\RequestHandler->generatePageBodyContent()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/Http/RequestHandler.php line 216
    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, $request);
        // If 'disableAllHeaderCode' is set, all the pageRenderer settings are not evaluated
        $typoScriptConfigArray = $request->getAttribute('frontend.typoscript')->getConfigArray();
        if ($typoScriptConfigArray['disableAllHeaderCode'] ?? false) {
            return $pageContent;
at TYPO3\CMS\Frontend\Http\RequestHandler->generatePageContent()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/Http/RequestHandler.php line 145
            // Content generation
            $this->timeTracker->incStackPointer();
            $this->timeTracker->push('Page generation PAGE object');

            $controller->content = $this->generatePageContent($controller, $request);

            $this->timeTracker->pull($this->timeTracker->LR ? $controller->content : '');
            $this->timeTracker->decStackPointer();

at TYPO3\CMS\Frontend\Http\RequestHandler->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/fluidtypo3/vhs/Classes/Middleware/AssetInclusion.php line 18
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/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/Middleware/ContentLengthResponseHeader.php line 41
    public function __construct(private Context $context) {}

    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        $response = $handler->handle($request);
        $typoScriptConfigArray = $request->getAttribute('frontend.typoscript')->getConfigArray();
        if (
            (!isset($typoScriptConfigArray['enableContentLengthHeader']) || $typoScriptConfigArray['enableContentLengthHeader'])
            && !$this->context->getPropertyFromAspect('backend.user', 'isLoggedIn', false)
at TYPO3\CMS\Frontend\Middleware\ContentLengthResponseHeader->process()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/Middleware/ShortcutAndMountPointRedirect.php line 94
                ['code' => PageAccessFailureReasons::INVALID_EXTERNAL_URL]
            );
        }

        return $handler->handle($request);
    }

    protected function getRedirectUri(ServerRequestInterface $request): ?string
    {
at TYPO3\CMS\Frontend\Middleware\ShortcutAndMountPointRedirect->process()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Middleware/ResponsePropagation.php line 34
{
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        try {
            $response = $handler->handle($request);
        } catch (PropagateResponseException $e) {
            $response = $e->getResponse();
        }

at TYPO3\CMS\Core\Middleware\ResponsePropagation->process()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/Middleware/OutputCompression.php line 44
        // Throw away all output that may have happened during bootstrapping by weird extensions
        ob_clean();
        // Initialize output compression if configured
        $this->initializeOutputCompression();
        return $handler->handle($request);
    }

    /**
     * Initialize output compression if configured
at TYPO3\CMS\Frontend\Middleware\OutputCompression->process()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/Middleware/ContentSecurityPolicyHeaders.php line 85
        // make sure, the nonce value is set before processing the remaining components
        $request = $request
            ->withAttribute('nonce', $nonce)
            ->withAttribute('csp.policyBag', $policyBag);
        $response = $subject instanceof RequestHandlerInterface ? $subject->handle($request) : $subject;
        if ($response->hasHeader('Content-Security-Policy') || $response->hasHeader('Content-Security-Policy-Report-Only')) {
            if ($subject instanceof RequestHandlerInterface) {
                $this->logger->info('Content-Security-Policy not enforced due to existence of custom header', [
                    'scope' => (string)$scope,
at TYPO3\CMS\Frontend\Middleware\ContentSecurityPolicyHeaders->applyContentSecurityPolicy()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/Middleware/ContentSecurityPolicyHeaders.php line 55
    ) {}

    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        return $this->applyContentSecurityPolicy($request, $handler);
    }

    /**
     * Apply Content-Security-Policy headers to an error response that bypassed
at TYPO3\CMS\Frontend\Middleware\ContentSecurityPolicyHeaders->process()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/Middleware/PrepareTypoScriptFrontendRendering.php line 186
            // b/w compat
            $controller->config['config'] = $frontendTypoScript->getConfigArray();
            $GLOBALS['TYPO3_REQUEST'] = $request;

            $response = $handler->handle($request);
        } finally {
            // Whatever happens in a below middleware, this finally is called, even when exceptions
            // are raised by a lower middleware. This ensures locks are released no matter what.
            $this->lock->releaseLock('pages');
at TYPO3\CMS\Frontend\Middleware\PrepareTypoScriptFrontendRendering->process()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/Middleware/CacheTimeout.php line 34
class CacheTimeout implements MiddlewareInterface
{
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        $response = $handler->handle($request);
        $config = $request->getAttribute('frontend.controller')?->config['config'] ?? [];
        if ($config['cache_clearAtMidnight'] ?? false) {
            // @todo: We should probably decide to deprecate or remove cache_clearAtMidnight
            //        altogether since it is a flawed concept based on server timezone
at TYPO3\CMS\Frontend\Middleware\CacheTimeout->process()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/Middleware/TypoScriptFrontendInitialization.php line 126
        $request = $request->withAttribute('frontend.controller', $controller);
        $GLOBALS['TYPO3_REQUEST'] = $request;
        $GLOBALS['TSFE'] = $controller;

        return $handler->handle($request);
    }
}
at TYPO3\CMS\Frontend\Middleware\TypoScriptFrontendInitialization->process()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/Middleware/PageArgumentValidator.php line 105
                );
            }
        }

        return $handler->handle($request);
    }

    /**
     * Filters out the arguments that are necessary for calculating cHash
at TYPO3\CMS\Frontend\Middleware\PageArgumentValidator->process()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/Middleware/PreviewSimulator.php line 87
                $this->context->setAspect('visibility', $newAspect);
            }
        }

        return $handler->handle($request);
    }

    /**
     * Evaluate if the "extendToSubpages" flag was set on any of the previous ancestor pages,
at TYPO3\CMS\Frontend\Middleware\PreviewSimulator->process()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/Middleware/PageResolver.php line 101
        // 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/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/Middleware/StaticRouteResolver.php line 71

                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/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/Middleware/ContentSecurityPolicyReporter.php line 57
            // @todo create report, then call persist, then dispatch new event
            $this->persistCspReport($scope, $request);
            return (new Response())->withStatus(201);
        }
        return $handler->handle($request);
    }
}
at TYPO3\CMS\Frontend\Middleware\ContentSecurityPolicyReporter->process()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/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()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/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()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/lochmueller/staticfilecache/Classes/Middleware/PrepareMiddleware.php line 39
     * request handler to do so.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        $response = $handler->handle($request);

        $explanation = [];
        $skipProcessing = false;

at SFC\Staticfilecache\Middleware\PrepareMiddleware->process()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/lochmueller/staticfilecache/Classes/Middleware/GenerateMiddleware.php line 48
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        $this->request = $request;
        $response = $handler->handle($request);

        if (!$response->hasHeader('X-SFC-Cachable')) {
            return $this->removeSfcHeaders($response);
        }
at SFC\Staticfilecache\Middleware\GenerateMiddleware->process()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/lochmueller/staticfilecache/Classes/Middleware/FrontendCacheMiddleware.php line 32

            // Write back the cache instruction to the attribute
            $request = $request->withAttribute('frontend.cache.instruction', $cacheInstruction);
        }
        return $handler->handle($request);
    }
}
at SFC\Staticfilecache\Middleware\FrontendCacheMiddleware->process()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/lochmueller/staticfilecache/Classes/Middleware/CookieCheckMiddleware.php line 33
            // Remove staticfilecache cookie when no backend or frontend user is logged in
            $this->cookieService->unsetCookie();
        }

        return $handler->handle($request);
    }
}
at SFC\Staticfilecache\Middleware\CookieCheckMiddleware->process()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/lochmueller/staticfilecache/Classes/Middleware/FrontendUserMiddleware.php line 24
    {
        $feUser = $request->getAttribute('frontend.user');
        assert($feUser instanceof FrontendUserAuthentication);

        $response = $handler->handle($request);

        $weShouldHaveCookie = $this->weShouldHaveCookie($feUser, $request);
        $lifetime = (int) ($GLOBALS['TYPO3_CONF_VARS']['FE']['lifetime'] ?? 0);

at SFC\Staticfilecache\Middleware\FrontendUserMiddleware->process()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/Middleware/FrontendUserAuthenticator.php line 76
            $rateLimiter->reset();
            $this->eventDispatcher->dispatch(new AfterUserLoggedInEvent($frontendUser, $request));
        }

        $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/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/Middleware/BackendUserAuthenticator.php line 82
                $request = $request->withAttribute('frontend.cache.instruction', $cacheInstruction);
            }
        }

        $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/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/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()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/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()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/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()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/Middleware/SiteResolver.php line 80
        $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/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Middleware/CacheDataCollectorAttribute.php line 61
        //        this has more impact and has not been sorted out, yet.
        $backup = $this->cacheDataCollector;
        $this->cacheDataCollector = new CacheDataCollector();
        $request = $request->withAttribute('frontend.cache.collector', $this->cacheDataCollector);
        $response = $handler->handle($request);
        if ($this->isDebugModeEnabled()) {
            $cacheTags = array_map(fn(CacheTag $cacheTag) => $cacheTag->name, $this->cacheDataCollector->getCacheTags());
            sort($cacheTags);
            foreach (explode("\n", wordwrap(implode(' ', $cacheTags), self::MAX_CACHE_TAGS_HEADER_LENGTH, "\n")) as $delta => $tags) {
at TYPO3\CMS\Core\Middleware\CacheDataCollectorAttribute->process()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Middleware/NormalizedParamsAttribute.php line 44
        $normalizedParams = $request->getAttribute('normalizedParams', null);
        if ($normalizedParams === null) {
            $request = $request->withAttribute('normalizedParams', NormalizedParams::createFromRequest($request));
        }
        return $handler->handle($request);
    }
}
at TYPO3\CMS\Core\Middleware\NormalizedParamsAttribute->process()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/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()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/Middleware/TimeTrackerInitialization.php line 49
        $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/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/lochmueller/staticfilecache/Classes/Middleware/FallbackMiddleware.php line 40
        } catch (Exception $exception) {
            // Not handled
        }

        return $handler->handle($request);
    }

    /**
     * Handle the fallback.
at SFC\Staticfilecache\Middleware\FallbackMiddleware->process()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/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()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/AbstractApplication.php line 87

    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        try {
            $response = $this->requestHandler->handle($request);
        } catch (ImmediateResponseException $exception) {
            $response = $exception->getResponse();
        }
        return $response;
at TYPO3\CMS\Core\Http\AbstractApplication->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-frontend/Classes/Http/Application.php line 50
        // 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);
    }

    /**
     * Initializes the Context used for accessing data and finding out the current state of the application
at TYPO3\CMS\Frontend\Http\Application->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/RequestHandler.php line 42
            return $this->container->get(BackendApplication::class)->handle($request);
        }

        if ($this->container->has(FrontendApplication::class)) {
            return $this->container->get(FrontendApplication::class)->handle($request);
        }

        throw new \Exception('TYPO3 is not configured. Please install typo3/cms-backend and/or typo3/cms-frontend', 1704788092);
    }
at TYPO3\CMS\Core\Http\RequestHandler->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Middleware/ResponsePropagation.php line 34
{
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        try {
            $response = $handler->handle($request);
        } catch (PropagateResponseException $e) {
            $response = $e->getResponse();
        }

at TYPO3\CMS\Core\Middleware\ResponsePropagation->process()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Middleware/NormalizedParamsAttribute.php line 44
        $normalizedParams = $request->getAttribute('normalizedParams', null);
        if ($normalizedParams === null) {
            $request = $request->withAttribute('normalizedParams', NormalizedParams::createFromRequest($request));
        }
        return $handler->handle($request);
    }
}
at TYPO3\CMS\Core\Middleware\NormalizedParamsAttribute->process()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/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()
in /var/www/vhosts/proxes.com/httpdocs/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/var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php:128$72->handle()
in /var/www/vhosts/proxes.com/httpdocs/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()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/AbstractApplication.php line 87

    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        try {
            $response = $this->requestHandler->handle($request);
        } catch (ImmediateResponseException $exception) {
            $response = $exception->getResponse();
        }
        return $response;
at TYPO3\CMS\Core\Http\AbstractApplication->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/Application.php line 44
        if (!Bootstrap::checkIfEssentialConfigurationExists($this->configurationManager)) {
            return $this->installToolRedirect($request);
        }

        return parent::handle($request);
    }

    protected function installToolRedirect(ServerRequestInterface $request): ResponseInterface
    {
at TYPO3\CMS\Core\Http\Application->handle()
in /var/www/vhosts/proxes.com/httpdocs/vendor/typo3/cms-core/Classes/Http/AbstractApplication.php line 110
            $this->sendResponse(new Response(null, 400));
            return;
        }

        $response = $this->handle($request);
        $this->sendResponse($response);
    }
}
at TYPO3\CMS\Core\Http\AbstractApplication->run()
in /var/www/vhosts/proxes.com/httpdocs/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();
    \TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Core\Http\Application::class)->run();
});
at {closure}()
in /var/www/vhosts/proxes.com/httpdocs/public/index.php line 21
call_user_func(static function () {
    $classLoader = require dirname(__DIR__).'/vendor/autoload.php';
    \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run();
    \TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Core\Http\Application::class)->run();
});