Error
Call to a member function getTitle() on null Error thrown with message "Call to a member function getTitle() on null" Stacktrace: #45 Error in /var/www/clients/client35/web148/web/src/Admin/templates/admin/page.phtml:4 #44 include in /var/www/clients/client35/web148/web/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:505 #43 Laminas\View\Renderer\PhpRenderer:render in /var/www/clients/client35/web148/web/vendor/mezzio/mezzio-laminasviewrenderer/src/LaminasViewRenderer.php:239 #42 Mezzio\LaminasView\LaminasViewRenderer:renderModel in /var/www/clients/client35/web148/web/vendor/mezzio/mezzio-laminasviewrenderer/src/LaminasViewRenderer.php:228 #41 Mezzio\LaminasView\LaminasViewRenderer:renderModel in /var/www/clients/client35/web148/web/vendor/mezzio/mezzio-laminasviewrenderer/src/LaminasViewRenderer.php:146 #40 Mezzio\LaminasView\LaminasViewRenderer:render in /var/www/clients/client35/web148/web/src/Admin/src/Handler/PageHandler.php:150 #39 Admin\Handler\PageHandler:pageAction in /var/www/clients/client35/web148/web/src/Admin/src/Handler/PageHandler.php:116 #38 Admin\Handler\PageHandler:handle in /var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/Middleware/RequestHandlerMiddleware.php:46 #37 Laminas\Stratigility\Middleware\RequestHandlerMiddleware:process in /var/www/clients/client35/web148/web/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php:47 #36 Mezzio\Middleware\LazyLoadingMiddleware:process in /var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/Next.php:51 #35 Laminas\Stratigility\Next:handle in /var/www/clients/client35/web148/web/vendor/mezzio/mezzio-session/src/SessionMiddleware.php:35 #34 Mezzio\Session\SessionMiddleware:process in /var/www/clients/client35/web148/web/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php:47 #33 Mezzio\Middleware\LazyLoadingMiddleware:process in /var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/Next.php:51 #32 Laminas\Stratigility\Next:handle in /var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php:76 #31 Laminas\Stratigility\MiddlewarePipe:process in /var/www/clients/client35/web148/web/vendor/mezzio/mezzio-router/src/Route.php:85 #30 Mezzio\Router\Route:process in /var/www/clients/client35/web148/web/vendor/mezzio/mezzio-router/src/RouteResult.php:97 #29 Mezzio\Router\RouteResult:process in /var/www/clients/client35/web148/web/vendor/mezzio/mezzio-router/src/Middleware/DispatchMiddleware.php:30 #28 Mezzio\Router\Middleware\DispatchMiddleware:process in /var/www/clients/client35/web148/web/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php:47 #27 Mezzio\Middleware\LazyLoadingMiddleware:process in /var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/Next.php:51 #26 Laminas\Stratigility\Next:handle in /var/www/clients/client35/web148/web/vendor/mezzio/mezzio-helpers/src/UrlHelperMiddleware.php:46 #25 Mezzio\Helper\UrlHelperMiddleware:process in /var/www/clients/client35/web148/web/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php:47 #24 Mezzio\Middleware\LazyLoadingMiddleware:process in /var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/Next.php:51 #23 Laminas\Stratigility\Next:handle in /var/www/clients/client35/web148/web/vendor/mezzio/mezzio-router/src/Middleware/MethodNotAllowedMiddleware.php:44 #22 Mezzio\Router\Middleware\MethodNotAllowedMiddleware:process in /var/www/clients/client35/web148/web/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php:47 #21 Mezzio\Middleware\LazyLoadingMiddleware:process in /var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/Next.php:51 #20 Laminas\Stratigility\Next:handle in /var/www/clients/client35/web148/web/vendor/mezzio/mezzio-router/src/Middleware/ImplicitOptionsMiddleware.php:63 #19 Mezzio\Router\Middleware\ImplicitOptionsMiddleware:process in /var/www/clients/client35/web148/web/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php:47 #18 Mezzio\Middleware\LazyLoadingMiddleware:process in /var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/Next.php:51 #17 Laminas\Stratigility\Next:handle in /var/www/clients/client35/web148/web/vendor/mezzio/mezzio-router/src/Middleware/ImplicitHeadMiddleware.php:76 #16 Mezzio\Router\Middleware\ImplicitHeadMiddleware:process in /var/www/clients/client35/web148/web/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php:47 #15 Mezzio\Middleware\LazyLoadingMiddleware:process in /var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/Next.php:51 #14 Laminas\Stratigility\Next:handle in /var/www/clients/client35/web148/web/vendor/mezzio/mezzio-router/src/Middleware/RouteMiddleware.php:50 #13 Mezzio\Router\Middleware\RouteMiddleware:process in /var/www/clients/client35/web148/web/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php:47 #12 Mezzio\Middleware\LazyLoadingMiddleware:process in /var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/Next.php:51 #11 Laminas\Stratigility\Next:handle in /var/www/clients/client35/web148/web/vendor/mezzio/mezzio-helpers/src/ServerUrlMiddleware.php:38 #10 Mezzio\Helper\ServerUrlMiddleware:process in /var/www/clients/client35/web148/web/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php:47 #9 Mezzio\Middleware\LazyLoadingMiddleware:process in /var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/Next.php:51 #8 Laminas\Stratigility\Next:handle in /var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/Middleware/ErrorHandler.php:131 #7 Laminas\Stratigility\Middleware\ErrorHandler:process in /var/www/clients/client35/web148/web/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php:47 #6 Mezzio\Middleware\LazyLoadingMiddleware:process in /var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/Next.php:51 #5 Laminas\Stratigility\Next:handle in /var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php:76 #4 Laminas\Stratigility\MiddlewarePipe:process in /var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php:65 #3 Laminas\Stratigility\MiddlewarePipe:handle in /var/www/clients/client35/web148/web/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php:96 #2 Laminas\HttpHandlerRunner\RequestHandlerRunner:run in /var/www/clients/client35/web148/web/vendor/mezzio/mezzio/src/Application.php:82 #1 Mezzio\Application:run in /var/www/clients/client35/web148/web/public/index.php:31 #0 {closure} in /var/www/clients/client35/web148/web/public/index.php:32
Stack frames (46)
45
Error
/src/Admin/templates/admin/page.phtml4
44
include
/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php505
43
Laminas\View\Renderer\PhpRenderer render
/vendor/mezzio/mezzio-laminasviewrenderer/src/LaminasViewRenderer.php239
42
Mezzio\LaminasView\LaminasViewRenderer renderModel
/vendor/mezzio/mezzio-laminasviewrenderer/src/LaminasViewRenderer.php228
41
Mezzio\LaminasView\LaminasViewRenderer renderModel
/vendor/mezzio/mezzio-laminasviewrenderer/src/LaminasViewRenderer.php146
40
Mezzio\LaminasView\LaminasViewRenderer render
/src/Admin/src/Handler/PageHandler.php150
39
Admin\Handler\PageHandler pageAction
/src/Admin/src/Handler/PageHandler.php116
38
Admin\Handler\PageHandler handle
/vendor/laminas/laminas-stratigility/src/Middleware/RequestHandlerMiddleware.php46
37
Laminas\Stratigility\Middleware\RequestHandlerMiddleware process
/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php47
36
Mezzio\Middleware\LazyLoadingMiddleware process
/vendor/laminas/laminas-stratigility/src/Next.php51
35
Laminas\Stratigility\Next handle
/vendor/mezzio/mezzio-session/src/SessionMiddleware.php35
34
Mezzio\Session\SessionMiddleware process
/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php47
33
Mezzio\Middleware\LazyLoadingMiddleware process
/vendor/laminas/laminas-stratigility/src/Next.php51
32
Laminas\Stratigility\Next handle
/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php76
31
Laminas\Stratigility\MiddlewarePipe process
/vendor/mezzio/mezzio-router/src/Route.php85
30
Mezzio\Router\Route process
/vendor/mezzio/mezzio-router/src/RouteResult.php97
29
Mezzio\Router\RouteResult process
/vendor/mezzio/mezzio-router/src/Middleware/DispatchMiddleware.php30
28
Mezzio\Router\Middleware\DispatchMiddleware process
/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php47
27
Mezzio\Middleware\LazyLoadingMiddleware process
/vendor/laminas/laminas-stratigility/src/Next.php51
26
Laminas\Stratigility\Next handle
/vendor/mezzio/mezzio-helpers/src/UrlHelperMiddleware.php46
25
Mezzio\Helper\UrlHelperMiddleware process
/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php47
24
Mezzio\Middleware\LazyLoadingMiddleware process
/vendor/laminas/laminas-stratigility/src/Next.php51
23
Laminas\Stratigility\Next handle
/vendor/mezzio/mezzio-router/src/Middleware/MethodNotAllowedMiddleware.php44
22
Mezzio\Router\Middleware\MethodNotAllowedMiddleware process
/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php47
21
Mezzio\Middleware\LazyLoadingMiddleware process
/vendor/laminas/laminas-stratigility/src/Next.php51
20
Laminas\Stratigility\Next handle
/vendor/mezzio/mezzio-router/src/Middleware/ImplicitOptionsMiddleware.php63
19
Mezzio\Router\Middleware\ImplicitOptionsMiddleware process
/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php47
18
Mezzio\Middleware\LazyLoadingMiddleware process
/vendor/laminas/laminas-stratigility/src/Next.php51
17
Laminas\Stratigility\Next handle
/vendor/mezzio/mezzio-router/src/Middleware/ImplicitHeadMiddleware.php76
16
Mezzio\Router\Middleware\ImplicitHeadMiddleware process
/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php47
15
Mezzio\Middleware\LazyLoadingMiddleware process
/vendor/laminas/laminas-stratigility/src/Next.php51
14
Laminas\Stratigility\Next handle
/vendor/mezzio/mezzio-router/src/Middleware/RouteMiddleware.php50
13
Mezzio\Router\Middleware\RouteMiddleware process
/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php47
12
Mezzio\Middleware\LazyLoadingMiddleware process
/vendor/laminas/laminas-stratigility/src/Next.php51
11
Laminas\Stratigility\Next handle
/vendor/mezzio/mezzio-helpers/src/ServerUrlMiddleware.php38
10
Mezzio\Helper\ServerUrlMiddleware process
/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php47
9
Mezzio\Middleware\LazyLoadingMiddleware process
/vendor/laminas/laminas-stratigility/src/Next.php51
8
Laminas\Stratigility\Next handle
/vendor/laminas/laminas-stratigility/src/Middleware/ErrorHandler.php131
7
Laminas\Stratigility\Middleware\ErrorHandler process
/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php47
6
Mezzio\Middleware\LazyLoadingMiddleware process
/vendor/laminas/laminas-stratigility/src/Next.php51
5
Laminas\Stratigility\Next handle
/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php76
4
Laminas\Stratigility\MiddlewarePipe process
/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php65
3
Laminas\Stratigility\MiddlewarePipe handle
/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php96
2
Laminas\HttpHandlerRunner\RequestHandlerRunner run
/vendor/mezzio/mezzio/src/Application.php82
1
Mezzio\Application run
/public/index.php31
0
{closure}
/public/index.php32
/var/www/clients/client35/web148/web/src/Admin/templates/admin/page.phtml
 
<div class=" mb-1 border-b-2 border-gray-200">
    <div class="bg-gray-100 rounded-top px-4 py-2 ">
        <?php if ( $this->page->getTitle() != '' ): ?>
            <h3 class="text-lg leading-6 font-medium text-gray-900 border-b-2 border-gray-200">
                <?=$this->page->getTitle();?>
            </h3>
        <?php endif; ?>
        <?php if ( $this->page->getContent() != '' ): ?>
            <p class="mt-1">
                <?=$this->page->getContent();?>
            </p>
        <?php endif; ?>
    </div>
</div>
 
/var/www/clients/client35/web148/web/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php
        $__vars = $this->vars()->getArrayCopy();
        if (array_key_exists('this', $__vars)) {
            unset($__vars['this']);
        }
        extract($__vars);
        unset($__vars); // remove $__vars from local scope
 
        $this->__content = '';
        while ($this->__template = array_pop($this->__templates)) {
            $this->__file = $this->resolver($this->__template);
            if (! $this->__file) {
                throw new Exception\RuntimeException(sprintf(
                    '%s: Unable to render template "%s"; resolver could not resolve to a file',
                    __METHOD__,
                    $this->__template
                ));
            }
            try {
                ob_start();
                $includeReturn = include $this->__file;
                $this->__content = ob_get_clean();
            } catch (\Throwable $ex) {
                ob_end_clean();
                throw $ex;
            } catch (\Exception $ex) { // @TODO clean up once PHP 7 requirement is enforced
                ob_end_clean();
                throw $ex;
            }
            if ($includeReturn === false && empty($this->__content)) {
                throw new Exception\UnexpectedValueException(sprintf(
                    '%s: Unable to render template "%s"; file include failed',
                    __METHOD__,
                    $this->__file
                ));
            }
        }
 
        $this->setVars(array_pop($this->__varsCache));
 
        if ($this->__filterChain instanceof FilterChain) {
/var/www/clients/client35/web148/web/vendor/mezzio/mezzio-laminasviewrenderer/src/LaminasViewRenderer.php
 
            $child  = $this->mergeViewModel($child->getTemplate(), $child);
 
            if ($child !== $root) {
                $viewModelHelper = $renderer->plugin(Helper\ViewModel::class);
                $viewModelHelper->setRoot($root);
            }
 
            $result = $this->renderModel($child, $renderer, $root);
 
            if ($child->isAppend()) {
                $oldResult = $model->{$capture};
                $model->setVariable($capture, $oldResult . $result);
                continue;
            }
 
            $model->setVariable($capture, $result);
        }
 
        return $renderer->render($model);
    }
 
    /**
     * Returns a PhpRenderer object
     */
    private function createRenderer() : PhpRenderer
    {
        $renderer = new PhpRenderer();
        $renderer->setResolver($this->getDefaultResolver());
        return $renderer;
    }
 
    /**
     * Get the default resolver
     */
    private function getDefaultResolver() : AggregateResolver
    {
        $resolver = new AggregateResolver();
        $this->injectNamespacedResolver($resolver);
        return $resolver;
/var/www/clients/client35/web148/web/vendor/mezzio/mezzio-laminasviewrenderer/src/LaminasViewRenderer.php
        }
 
        foreach ($model as $child) {
            if ($child->terminate()) {
                throw new Exception\RenderingException('Cannot render; encountered a child marked terminal');
            }
 
            $capture = $child->captureTo();
            if (empty($capture)) {
                continue;
            }
 
            $child  = $this->mergeViewModel($child->getTemplate(), $child);
 
            if ($child !== $root) {
                $viewModelHelper = $renderer->plugin(Helper\ViewModel::class);
                $viewModelHelper->setRoot($root);
            }
 
            $result = $this->renderModel($child, $renderer, $root);
 
            if ($child->isAppend()) {
                $oldResult = $model->{$capture};
                $model->setVariable($capture, $oldResult . $result);
                continue;
            }
 
            $model->setVariable($capture, $result);
        }
 
        return $renderer->render($model);
    }
 
    /**
     * Returns a PhpRenderer object
     */
    private function createRenderer() : PhpRenderer
    {
        $renderer = new PhpRenderer();
        $renderer->setResolver($this->getDefaultResolver());
/var/www/clients/client35/web148/web/vendor/mezzio/mezzio-laminasviewrenderer/src/LaminasViewRenderer.php
     * - a string layout template name
     * - a Laminas\View\Model\ModelInterface instance
     *
     * Layouts specified with $params take precedence over layouts passed to
     * the constructor.
     *
     * @param array|ModelInterface|object $params
     */
    public function render(string $name, $params = []) : string
    {
        $viewModel = $params instanceof ModelInterface
            ? $this->mergeViewModel($name, $params)
            : $this->createModel($name, $params);
 
        $useLayout = false !== $viewModel->getVariable('layout', null);
        if ($useLayout) {
            $viewModel = $this->prepareLayout($viewModel);
        }
 
        return $this->renderModel($viewModel, $this->renderer);
    }
 
    /**
     * Add a path for templates.
     */
    public function addPath(string $path, string $namespace = null) : void
    {
        $this->resolver->addPath($path, $namespace);
    }
 
    /**
     * Get the template directories
     *
     * @return TemplatePath[]
     */
    public function getPaths() : array
    {
        $paths = [];
 
        foreach ($this->resolver->getPaths() as $namespace => $namespacedPaths) {
/var/www/clients/client35/web148/web/src/Admin/src/Handler/PageHandler.php
        }
 
        $templateData = [
            'layout' => 'layout::login',
            'action' => $request->getAttribute('action'),
            'navigation' => $operationMode,
            'handler' => $handler,
            'navigationhandler' => 'address',
            'domainUrl' => $this->getDomainUrl($request->getServerParams()),
            'serverRelPath' => $this->config['relpath'],
            'page' => $page
        ];
 
        $node = $this->contentPageRepository->fetchContentPageBySlug('ueber-leonie');
        $arrayTree = $this->contentPageRepository->childrenHierarchyFromRepo($node);
        $templateData['arrayTree'] = $arrayTree;
 
        return new HtmlResponse(
            $this->template->render(
                'admin::page', $templateData
            )
        );
    }
 
    /**
     * @param $request
     * @param $handler
     * @param $session
     * @return void
     */
    public function getdirectfileAction($request, $handler, $session)
    {
        $informationFile = $request->getAttribute('informationFile');
        $loggerInfo = ['information' => 'informationFile', 'value' => $informationFile];
 
        $informationDetails = $this->informationRepository->fetchInformationFilesByFilename(
            $informationFile
        );
        $filePath = null;
        if ( $informationDetails != null ) {
/var/www/clients/client35/web148/web/src/Admin/src/Handler/PageHandler.php
        if ($this->container->has(OperationMode::class)) {
            $this->operationMode = $this->container->get(OperationMode::class);
            $this->operationMode->setOperationMode($operationMode);
        }
 
        $data = [];
        $handler = $request->getAttribute('handler');
 
        $action = $request->getAttribute('action', 'index') . 'Action';
 
        if (! method_exists($this, $action)) {
            return new HtmlResponse(
                $this->template->render(
                    'admin::admin', $data
                ),
                404
            );
        }
 
        return $this->$action($request, $handler, $session);
    }
 
    public function pageAction($request, $handler, $session)
    {
        $session = $request->getAttribute('session');
        $operationMode = $this->operationMode->getOperationMode();
        $pageid = $request->getAttribute('pageid');
        if ( is_numeric($pageid) ){
            $page = $this->contentPageRepository->fetchContentPageById($pageid);
            if ( null == $page ){
                $page = $this->contentPageRepository->fetchContentPageBySlug( $pageid );
            }
        } else {
            $page = $this->contentPageRepository->fetchContentPageBySlug( strip_tags($pageid) );
        }
 
        $templateData = [
            'layout' => 'layout::login',
            'action' => $request->getAttribute('action'),
            'navigation' => $operationMode,
/var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/Middleware/RequestHandlerMiddleware.php
 
    public function __construct(RequestHandlerInterface $handler)
    {
        $this->handler = $handler;
    }
 
    /**
     * Proxies to decorated handler to handle the request.
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        return $this->handler->handle($request);
    }
 
    /**
     * Proxies to decorated handler to handle the request.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        return $this->handler->handle($request);
    }
}
 
/var/www/clients/client35/web148/web/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php
     * @var string
     */
    private $middlewareName;
 
    public function __construct(
        MiddlewareContainer $container,
        string $middlewareName
    ) {
        $this->container = $container;
        $this->middlewareName = $middlewareName;
    }
 
    /**
     * @throws InvalidMiddlewareException for invalid middleware types pulled
     *     from the container.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $middleware = $this->container->get($this->middlewareName);
        return $middleware->process($request, $handler);
    }
}
 
/var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/Next.php
        $this->queue           = clone $queue;
        $this->fallbackHandler = $fallbackHandler;
    }
 
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        if ($this->queue === null) {
            throw MiddlewarePipeNextHandlerAlreadyCalledException::create();
        }
 
        if ($this->queue->isEmpty()) {
            $this->queue = null;
            return $this->fallbackHandler->handle($request);
        }
 
        $middleware  = $this->queue->dequeue();
        $next        = clone $this; // deep clone is not used intentionally
        $this->queue = null; // mark queue as processed at this nesting level
 
        return $middleware->process($request, $next);
    }
}
 
/var/www/clients/client35/web148/web/vendor/mezzio/mezzio-session/src/SessionMiddleware.php
use Psr\Http\Server\RequestHandlerInterface;
 
class SessionMiddleware implements MiddlewareInterface
{
    public const SESSION_ATTRIBUTE = 'session';
 
    /**
     * @var SessionPersistenceInterface
     */
    private $persistence;
 
    public function __construct(SessionPersistenceInterface $persistence)
    {
        $this->persistence = $persistence;
    }
 
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $session = new LazySession($this->persistence, $request);
        $response = $handler->handle($request->withAttribute(self::SESSION_ATTRIBUTE, $session));
        return $this->persistence->persistSession($session, $response);
    }
}
 
/var/www/clients/client35/web148/web/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php
     * @var string
     */
    private $middlewareName;
 
    public function __construct(
        MiddlewareContainer $container,
        string $middlewareName
    ) {
        $this->container = $container;
        $this->middlewareName = $middlewareName;
    }
 
    /**
     * @throws InvalidMiddlewareException for invalid middleware types pulled
     *     from the container.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $middleware = $this->container->get($this->middlewareName);
        return $middleware->process($request, $handler);
    }
}
 
/var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/Next.php
        $this->queue           = clone $queue;
        $this->fallbackHandler = $fallbackHandler;
    }
 
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        if ($this->queue === null) {
            throw MiddlewarePipeNextHandlerAlreadyCalledException::create();
        }
 
        if ($this->queue->isEmpty()) {
            $this->queue = null;
            return $this->fallbackHandler->handle($request);
        }
 
        $middleware  = $this->queue->dequeue();
        $next        = clone $this; // deep clone is not used intentionally
        $this->queue = null; // mark queue as processed at this nesting level
 
        return $middleware->process($request, $next);
    }
}
 
/var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php
     * If the pipeline is empty at the time this method is invoked, it will
     * raise an exception.
     *
     * @throws Exception\EmptyPipelineException If no middleware is present in
     *     the instance in order to process the request.
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        return $this->process($request, new EmptyPipelineHandler(self::class));
    }
 
    /**
     * PSR-15 middleware invocation.
     *
     * Executes the internal pipeline, passing $handler as the "final
     * handler" in cases when the pipeline exhausts itself.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        return (new Next($this->pipeline, $handler))->handle($request);
    }
 
    /**
     * Attach middleware to the pipeline.
     */
    public function pipe(MiddlewareInterface $middleware): void
    {
        $this->pipeline->enqueue($middleware);
    }
}
 
/var/www/clients/client35/web148/web/vendor/mezzio/mezzio-router/src/Route.php
        ?string $name = null
    ) {
        $this->path       = $path;
        $this->middleware = $middleware;
        $this->methods    = is_array($methods) ? $this->validateHttpMethods($methods) : $methods;
 
        if (! $name) {
            $name = $this->methods === self::HTTP_METHOD_ANY
                ? $path
                : $path . '^' . implode(self::HTTP_METHOD_SEPARATOR, $this->methods);
        }
        $this->name = $name;
    }
 
    /**
     * Proxies to the middleware composed during instantiation.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        return $this->middleware->process($request, $handler);
    }
 
    public function getPath(): string
    {
        return $this->path;
    }
 
    /**
     * Set the route name.
     */
    public function setName(string $name): void
    {
        $this->name = $name;
    }
 
    public function getName(): string
    {
        return $this->name;
    }
 
/var/www/clients/client35/web148/web/vendor/mezzio/mezzio-router/src/RouteResult.php
        $result->allowedMethods = $methods;
 
        return $result;
    }
 
    /**
     * Process the result as middleware.
     *
     * If the result represents a failure, it passes handling to the handler.
     *
     * Otherwise, it processes the composed middleware using the provide request
     * and handler.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        if ($this->isFailure()) {
            return $handler->handle($request);
        }
 
        return $this->getMatchedRoute()->process($request, $handler);
    }
 
    /**
     * Does the result represent successful routing?
     */
    public function isSuccess(): bool
    {
        return $this->success;
    }
 
    /**
     * Retrieve the route that resulted in the route match.
     *
     * @return false|null|Route false if representing a routing failure;
     *     null if not created via fromRoute(); Route instance otherwise.
     */
    public function getMatchedRoute()
    {
        return $this->isFailure() ? false : $this->route;
    }
/var/www/clients/client35/web148/web/vendor/mezzio/mezzio-router/src/Middleware/DispatchMiddleware.php
use Psr\Http\Server\RequestHandlerInterface;
 
/**
 * Default dispatch middleware.
 *
 * Checks for a composed route result in the request. If none is provided,
 * delegates request processing to the handler.
 *
 * Otherwise, it delegates processing to the route result.
 */
class DispatchMiddleware implements MiddlewareInterface
{
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        $routeResult = $request->getAttribute(RouteResult::class, false);
        if (! $routeResult) {
            return $handler->handle($request);
        }
 
        return $routeResult->process($request, $handler);
    }
}
 
/var/www/clients/client35/web148/web/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php
     * @var string
     */
    private $middlewareName;
 
    public function __construct(
        MiddlewareContainer $container,
        string $middlewareName
    ) {
        $this->container = $container;
        $this->middlewareName = $middlewareName;
    }
 
    /**
     * @throws InvalidMiddlewareException for invalid middleware types pulled
     *     from the container.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $middleware = $this->container->get($this->middlewareName);
        return $middleware->process($request, $handler);
    }
}
 
/var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/Next.php
        $this->queue           = clone $queue;
        $this->fallbackHandler = $fallbackHandler;
    }
 
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        if ($this->queue === null) {
            throw MiddlewarePipeNextHandlerAlreadyCalledException::create();
        }
 
        if ($this->queue->isEmpty()) {
            $this->queue = null;
            return $this->fallbackHandler->handle($request);
        }
 
        $middleware  = $this->queue->dequeue();
        $next        = clone $this; // deep clone is not used intentionally
        $this->queue = null; // mark queue as processed at this nesting level
 
        return $middleware->process($request, $next);
    }
}
 
/var/www/clients/client35/web148/web/vendor/mezzio/mezzio-helpers/src/UrlHelperMiddleware.php
    private $helper;
 
    public function __construct(UrlHelper $helper)
    {
        $this->helper = $helper;
    }
 
    /**
     * Inject the UrlHelper instance with a RouteResult, if present as a request attribute.
     * Injects the helper, and then dispatches the next middleware.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $result = $request->getAttribute(RouteResult::class, false);
 
        if ($result instanceof RouteResult) {
            $this->helper->setRouteResult($result);
        }
 
        return $handler->handle($request);
    }
}
 
/var/www/clients/client35/web148/web/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php
     * @var string
     */
    private $middlewareName;
 
    public function __construct(
        MiddlewareContainer $container,
        string $middlewareName
    ) {
        $this->container = $container;
        $this->middlewareName = $middlewareName;
    }
 
    /**
     * @throws InvalidMiddlewareException for invalid middleware types pulled
     *     from the container.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $middleware = $this->container->get($this->middlewareName);
        return $middleware->process($request, $handler);
    }
}
 
/var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/Next.php
        $this->queue           = clone $queue;
        $this->fallbackHandler = $fallbackHandler;
    }
 
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        if ($this->queue === null) {
            throw MiddlewarePipeNextHandlerAlreadyCalledException::create();
        }
 
        if ($this->queue->isEmpty()) {
            $this->queue = null;
            return $this->fallbackHandler->handle($request);
        }
 
        $middleware  = $this->queue->dequeue();
        $next        = clone $this; // deep clone is not used intentionally
        $this->queue = null; // mark queue as processed at this nesting level
 
        return $middleware->process($request, $next);
    }
}
 
/var/www/clients/client35/web148/web/vendor/mezzio/mezzio-router/src/Middleware/MethodNotAllowedMiddleware.php
 * failure, it passes handling to the provided handler.
 */
class MethodNotAllowedMiddleware implements MiddlewareInterface
{
    /** @var callable */
    private $responseFactory;
 
    public function __construct(callable $responseFactory)
    {
        // Factories is wrapped in a closure in order to enforce return type safety.
        $this->responseFactory = function () use ($responseFactory): ResponseInterface {
            return $responseFactory();
        };
    }
 
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        $routeResult = $request->getAttribute(RouteResult::class);
        if (! $routeResult || ! $routeResult->isMethodFailure()) {
            return $handler->handle($request);
        }
 
        return ($this->responseFactory)()
            ->withStatus(StatusCode::STATUS_METHOD_NOT_ALLOWED)
            ->withHeader('Allow', implode(',', $routeResult->getAllowedMethods()));
    }
}
 
/var/www/clients/client35/web148/web/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php
     * @var string
     */
    private $middlewareName;
 
    public function __construct(
        MiddlewareContainer $container,
        string $middlewareName
    ) {
        $this->container = $container;
        $this->middlewareName = $middlewareName;
    }
 
    /**
     * @throws InvalidMiddlewareException for invalid middleware types pulled
     *     from the container.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $middleware = $this->container->get($this->middlewareName);
        return $middleware->process($request, $handler);
    }
}
 
/var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/Next.php
        $this->queue           = clone $queue;
        $this->fallbackHandler = $fallbackHandler;
    }
 
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        if ($this->queue === null) {
            throw MiddlewarePipeNextHandlerAlreadyCalledException::create();
        }
 
        if ($this->queue->isEmpty()) {
            $this->queue = null;
            return $this->fallbackHandler->handle($request);
        }
 
        $middleware  = $this->queue->dequeue();
        $next        = clone $this; // deep clone is not used intentionally
        $this->queue = null; // mark queue as processed at this nesting level
 
        return $middleware->process($request, $next);
    }
}
 
/var/www/clients/client35/web148/web/vendor/mezzio/mezzio-router/src/Middleware/ImplicitOptionsMiddleware.php
    /**
     * @param callable $responseFactory A factory capable of returning an
     *     empty ResponseInterface instance to return for implicit OPTIONS
     *     requests.
     */
    public function __construct(callable $responseFactory)
    {
        // Factories is wrapped in a closure in order to enforce return type safety.
        $this->responseFactory = function () use ($responseFactory): ResponseInterface {
            return $responseFactory();
        };
    }
 
    /**
     * Handle an implicit OPTIONS request.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        if ($request->getMethod() !== RequestMethod::METHOD_OPTIONS) {
            return $handler->handle($request);
        }
 
        $result = $request->getAttribute(RouteResult::class);
        if (! $result) {
            return $handler->handle($request);
        }
 
        if ($result->isFailure() && ! $result->isMethodFailure()) {
            return $handler->handle($request);
        }
 
        if ($result->getMatchedRoute()) {
            return $handler->handle($request);
        }
 
        $allowedMethods = $result->getAllowedMethods();
 
        return ($this->responseFactory)()->withHeader('Allow', implode(',', $allowedMethods));
    }
}
/var/www/clients/client35/web148/web/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php
     * @var string
     */
    private $middlewareName;
 
    public function __construct(
        MiddlewareContainer $container,
        string $middlewareName
    ) {
        $this->container = $container;
        $this->middlewareName = $middlewareName;
    }
 
    /**
     * @throws InvalidMiddlewareException for invalid middleware types pulled
     *     from the container.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $middleware = $this->container->get($this->middlewareName);
        return $middleware->process($request, $handler);
    }
}
 
/var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/Next.php
        $this->queue           = clone $queue;
        $this->fallbackHandler = $fallbackHandler;
    }
 
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        if ($this->queue === null) {
            throw MiddlewarePipeNextHandlerAlreadyCalledException::create();
        }
 
        if ($this->queue->isEmpty()) {
            $this->queue = null;
            return $this->fallbackHandler->handle($request);
        }
 
        $middleware  = $this->queue->dequeue();
        $next        = clone $this; // deep clone is not used intentionally
        $this->queue = null; // mark queue as processed at this nesting level
 
        return $middleware->process($request, $next);
    }
}
 
/var/www/clients/client35/web148/web/vendor/mezzio/mezzio-router/src/Middleware/ImplicitHeadMiddleware.php
    {
        $this->router = $router;
 
        // Factory is wrapped in closur in order to enforce return type safety.
        $this->streamFactory = function () use ($streamFactory): StreamInterface {
            return $streamFactory();
        };
    }
 
    /**
     * Handle an implicit HEAD request.
     *
     * If the route allows GET requests, dispatches as a GET request and
     * resets the response body to be empty; otherwise, creates a new empty
     * response.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        if ($request->getMethod() !== RequestMethod::METHOD_HEAD) {
            return $handler->handle($request);
        }
 
        $result = $request->getAttribute(RouteResult::class);
        if (! $result) {
            return $handler->handle($request);
        }
 
        if ($result->getMatchedRoute()) {
            return $handler->handle($request);
        }
 
        $routeResult = $this->router->match($request->withMethod(RequestMethod::METHOD_GET));
        if ($routeResult->isFailure()) {
            return $handler->handle($request);
        }
 
        // Copy matched parameters like RouteMiddleware does
        foreach ($routeResult->getMatchedParams() as $param => $value) {
            $request = $request->withAttribute($param, $value);
        }
/var/www/clients/client35/web148/web/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php
     * @var string
     */
    private $middlewareName;
 
    public function __construct(
        MiddlewareContainer $container,
        string $middlewareName
    ) {
        $this->container = $container;
        $this->middlewareName = $middlewareName;
    }
 
    /**
     * @throws InvalidMiddlewareException for invalid middleware types pulled
     *     from the container.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $middleware = $this->container->get($this->middlewareName);
        return $middleware->process($request, $handler);
    }
}
 
/var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/Next.php
        $this->queue           = clone $queue;
        $this->fallbackHandler = $fallbackHandler;
    }
 
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        if ($this->queue === null) {
            throw MiddlewarePipeNextHandlerAlreadyCalledException::create();
        }
 
        if ($this->queue->isEmpty()) {
            $this->queue = null;
            return $this->fallbackHandler->handle($request);
        }
 
        $middleware  = $this->queue->dequeue();
        $next        = clone $this; // deep clone is not used intentionally
        $this->queue = null; // mark queue as processed at this nesting level
 
        return $middleware->process($request, $next);
    }
}
 
/var/www/clients/client35/web148/web/vendor/mezzio/mezzio-router/src/Middleware/RouteMiddleware.php
    {
        $this->router = $router;
    }
 
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        $result = $this->router->match($request);
 
        // Inject the actual route result, as well as individual matched parameters.
        $request = $request
            ->withAttribute(RouteResult::class, $result)
            ->withAttribute(ZendExpressiveRouteResult::class, $result);
 
        if ($result->isSuccess()) {
            foreach ($result->getMatchedParams() as $param => $value) {
                $request = $request->withAttribute($param, $value);
            }
        }
 
        return $handler->handle($request);
    }
}
 
/var/www/clients/client35/web148/web/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php
     * @var string
     */
    private $middlewareName;
 
    public function __construct(
        MiddlewareContainer $container,
        string $middlewareName
    ) {
        $this->container = $container;
        $this->middlewareName = $middlewareName;
    }
 
    /**
     * @throws InvalidMiddlewareException for invalid middleware types pulled
     *     from the container.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $middleware = $this->container->get($this->middlewareName);
        return $middleware->process($request, $handler);
    }
}
 
/var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/Next.php
        $this->queue           = clone $queue;
        $this->fallbackHandler = $fallbackHandler;
    }
 
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        if ($this->queue === null) {
            throw MiddlewarePipeNextHandlerAlreadyCalledException::create();
        }
 
        if ($this->queue->isEmpty()) {
            $this->queue = null;
            return $this->fallbackHandler->handle($request);
        }
 
        $middleware  = $this->queue->dequeue();
        $next        = clone $this; // deep clone is not used intentionally
        $this->queue = null; // mark queue as processed at this nesting level
 
        return $middleware->process($request, $next);
    }
}
 
/var/www/clients/client35/web148/web/vendor/mezzio/mezzio-helpers/src/ServerUrlMiddleware.php
{
    /**
     * @var ServerUrlHelper
     */
    private $helper;
 
    public function __construct(ServerUrlHelper $helper)
    {
        $this->helper = $helper;
    }
 
    /**
     * Inject the ServerUrlHelper instance with the request URI.
     * Injects the ServerUrlHelper with the incoming request URI, and then invoke
     * the next middleware.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $this->helper->setUri($request->getUri());
        return $handler->handle($request);
    }
}
 
/var/www/clients/client35/web148/web/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php
     * @var string
     */
    private $middlewareName;
 
    public function __construct(
        MiddlewareContainer $container,
        string $middlewareName
    ) {
        $this->container = $container;
        $this->middlewareName = $middlewareName;
    }
 
    /**
     * @throws InvalidMiddlewareException for invalid middleware types pulled
     *     from the container.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $middleware = $this->container->get($this->middlewareName);
        return $middleware->process($request, $handler);
    }
}
 
/var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/Next.php
        $this->queue           = clone $queue;
        $this->fallbackHandler = $fallbackHandler;
    }
 
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        if ($this->queue === null) {
            throw MiddlewarePipeNextHandlerAlreadyCalledException::create();
        }
 
        if ($this->queue->isEmpty()) {
            $this->queue = null;
            return $this->fallbackHandler->handle($request);
        }
 
        $middleware  = $this->queue->dequeue();
        $next        = clone $this; // deep clone is not used intentionally
        $this->queue = null; // mark queue as processed at this nesting level
 
        return $middleware->process($request, $next);
    }
}
 
/var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/Middleware/ErrorHandler.php
 
    /**
     * Middleware to handle errors and exceptions in layers it wraps.
     *
     * Adds an error handler that will convert PHP errors to ErrorException
     * instances.
     *
     * Internally, wraps the call to $next() in a try/catch block, catching
     * all PHP Throwables.
     *
     * When an exception is caught, an appropriate error response is created
     * and returned instead; otherwise, the response returned by $next is
     * used.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        set_error_handler($this->createErrorHandler());
 
        try {
            $response = $handler->handle($request);
        } catch (Throwable $e) {
            $response = $this->handleThrowable($e, $request);
        }
 
        restore_error_handler();
 
        return $response;
    }
 
    /**
     * Handles all throwables, generating and returning a response.
     *
     * Passes the error, request, and response prototype to createErrorResponse(),
     * triggers all listeners with the same arguments (but using the response
     * returned from createErrorResponse()), and then returns the response.
     */
    private function handleThrowable(Throwable $e, ServerRequestInterface $request): ResponseInterface
    {
        $generator = $this->responseGenerator;
        $response  = $generator($e, $request, ($this->responseFactory)());
/var/www/clients/client35/web148/web/vendor/mezzio/mezzio/src/Middleware/LazyLoadingMiddleware.php
     * @var string
     */
    private $middlewareName;
 
    public function __construct(
        MiddlewareContainer $container,
        string $middlewareName
    ) {
        $this->container = $container;
        $this->middlewareName = $middlewareName;
    }
 
    /**
     * @throws InvalidMiddlewareException for invalid middleware types pulled
     *     from the container.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        $middleware = $this->container->get($this->middlewareName);
        return $middleware->process($request, $handler);
    }
}
 
/var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/Next.php
        $this->queue           = clone $queue;
        $this->fallbackHandler = $fallbackHandler;
    }
 
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        if ($this->queue === null) {
            throw MiddlewarePipeNextHandlerAlreadyCalledException::create();
        }
 
        if ($this->queue->isEmpty()) {
            $this->queue = null;
            return $this->fallbackHandler->handle($request);
        }
 
        $middleware  = $this->queue->dequeue();
        $next        = clone $this; // deep clone is not used intentionally
        $this->queue = null; // mark queue as processed at this nesting level
 
        return $middleware->process($request, $next);
    }
}
 
/var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php
     * If the pipeline is empty at the time this method is invoked, it will
     * raise an exception.
     *
     * @throws Exception\EmptyPipelineException If no middleware is present in
     *     the instance in order to process the request.
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        return $this->process($request, new EmptyPipelineHandler(self::class));
    }
 
    /**
     * PSR-15 middleware invocation.
     *
     * Executes the internal pipeline, passing $handler as the "final
     * handler" in cases when the pipeline exhausts itself.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        return (new Next($this->pipeline, $handler))->handle($request);
    }
 
    /**
     * Attach middleware to the pipeline.
     */
    public function pipe(MiddlewareInterface $middleware): void
    {
        $this->pipeline->enqueue($middleware);
    }
}
 
/var/www/clients/client35/web148/web/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php
    }
 
    /**
     * Handle an incoming request.
     *
     * Attempts to handle an incoming request by doing the following:
     *
     * - Cloning itself, to produce a request handler.
     * - Dequeuing the first middleware in the cloned handler.
     * - Processing the first middleware using the request and the cloned handler.
     *
     * If the pipeline is empty at the time this method is invoked, it will
     * raise an exception.
     *
     * @throws Exception\EmptyPipelineException If no middleware is present in
     *     the instance in order to process the request.
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        return $this->process($request, new EmptyPipelineHandler(self::class));
    }
 
    /**
     * PSR-15 middleware invocation.
     *
     * Executes the internal pipeline, passing $handler as the "final
     * handler" in cases when the pipeline exhausts itself.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        return (new Next($this->pipeline, $handler))->handle($request);
    }
 
    /**
     * Attach middleware to the pipeline.
     */
    public function pipe(MiddlewareInterface $middleware): void
    {
        $this->pipeline->enqueue($middleware);
    }
/var/www/clients/client35/web148/web/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php
        $this->serverRequestErrorResponseGenerator =
            function (Throwable $exception) use ($serverRequestErrorResponseGenerator) : ResponseInterface {
                return $serverRequestErrorResponseGenerator($exception);
            };
    }
 
    /**
     * Run the application
     */
    public function run() : void
    {
        try {
            $request = ($this->serverRequestFactory)();
        } catch (Throwable $e) {
            // Error in generating the request
            $this->emitMarshalServerRequestException($e);
            return;
        }
 
        $response = $this->handler->handle($request);
 
        $this->emitter->emit($response);
    }
 
    private function emitMarshalServerRequestException(Throwable $exception) : void
    {
        $response = ($this->serverRequestErrorResponseGenerator)($exception);
        $this->emitter->emit($response);
    }
}
 
/var/www/clients/client35/web148/web/vendor/mezzio/mezzio/src/Application.php
        return $this->pipeline->handle($request);
    }
 
    /**
     * Proxies to composed pipeline to process.
     * {@inheritDocs}
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
    {
        return $this->pipeline->process($request, $handler);
    }
 
    /**
     * Run the application.
     *
     * Proxies to the RequestHandlerRunner::run() method.
     */
    public function run() : void
    {
        $this->runner->run();
    }
 
    /**
     * Pipe middleware to the pipeline.
     *
     * If two arguments are present, they are passed to pipe(), after first
     * passing the second argument to the factory's prepare() method.
     *
     * If only one argument is presented, it is passed to the factory prepare()
     * method.
     *
     * The resulting middleware, in both cases, is piped to the pipeline.
     *
     * @param string|array|callable|MiddlewareInterface|RequestHandlerInterface $middlewareOrPath
     *     Either the middleware to pipe, or the path to segregate the $middleware
     *     by, via a PathMiddlewareDecorator.
     * @param null|string|array|callable|MiddlewareInterface|RequestHandlerInterface $middleware
     *     If present, middleware or request handler to segregate by the path
     *     specified in $middlewareOrPath.
     */
/var/www/clients/client35/web148/web/public/index.php
chdir(dirname(__DIR__));
require 'vendor/autoload.php';
 
/**
 * Self-called anonymous function that creates its own scope and keeps the global namespace clean.
 */
(function () {
    /** @var \Psr\Container\ContainerInterface $container */
    $container = require 'config/container.php';
 
    /** @var \Mezzio\Application $app */
    $app = $container->get(\Mezzio\Application::class);
    $factory = $container->get(\Mezzio\MiddlewareFactory::class);
 
    // Execute programmatic/declarative middleware pipeline and routing
    // configuration statements
    (require 'config/pipeline.php')($app, $factory, $container);
    (require 'config/routes.php')($app, $factory, $container);
 
    $app->run();
})();
 
/var/www/clients/client35/web148/web/public/index.php
require 'vendor/autoload.php';
 
/**
 * Self-called anonymous function that creates its own scope and keeps the global namespace clean.
 */
(function () {
    /** @var \Psr\Container\ContainerInterface $container */
    $container = require 'config/container.php';
 
    /** @var \Mezzio\Application $app */
    $app = $container->get(\Mezzio\Application::class);
    $factory = $container->get(\Mezzio\MiddlewareFactory::class);
 
    // Execute programmatic/declarative middleware pipeline and routing
    // configuration statements
    (require 'config/pipeline.php')($app, $factory, $container);
    (require 'config/routes.php')($app, $factory, $container);
 
    $app->run();
})();
 

Environment & details:

Key Value
HTTP Method GET
URI https://www.bep-hamburg.de/evaluation/page/7/
Script /index.php
Headers Array ( [user-agent] => Array ( [0] => claudebot ) [accept] => Array ( [0] => */* ) [host] => Array ( [0] => www.bep-hamburg.de ) )
Cookies Array ( )
Attributes Array ( )
Query String Arguments Array ( )
Body Params Array ( )
empty
empty
empty
empty
empty
Key Value
TEMP /var/www/clients/client35/web148/tmp
TMPDIR /var/www/clients/client35/web148/tmp
TMP /var/www/clients/client35/web148/tmp
USER web148
HOME /var/www/clients/client35/web148/./home/web148
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST www.bep-hamburg.de
SCRIPT_FILENAME /var/www/bep-hamburg.de/web//public/index.php
REDIRECT_STATUS 200
SERVER_NAME bep-hamburg.de
SERVER_PORT 443
SERVER_ADDR 116.202.247.164
REMOTE_USER
REMOTE_PORT 45852
REMOTE_ADDR 54.236.245.71
SERVER_SOFTWARE nginx/1.25.2
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /var/www/bep-hamburg.de/web//public
DOCUMENT_URI /index.php
REQUEST_URI /evaluation/page/7/
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711715263.484
REQUEST_TIME 1711715263
empty
0. Whoops\Handler\PrettyPageHandler