Whoops, looks like something went wrong.

(1/2) Doctrine\DBAL\Exception\DriverException

An exception occurred while executing 'SELECT `content` FROM `cache_pages` WHERE (`identifier` = ?) AND (`expires` >= ?)' with params ["redirects_42f84c9977ccf57d0d00bfc0e325d6d8c1665fdd", 1711636203]: Prepared statement needs to be re-prepared

in /srv/globalroot/typo3_src-11.5.27/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 128
            case '1566':
                return new NotNullConstraintViolationException($message, $exception);
        }

        return new DriverException($message, $exception);
    }

    /**
     * {@inheritdoc}
at Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException()
in /srv/globalroot/typo3_src-11.5.27/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 182
            return $driverEx;
        }

        if ($driver instanceof ExceptionConverterDriver && $driverEx instanceof DeprecatedDriverException) {
            return $driver->convertException($msg, $driverEx);
        }

        return new Exception($msg, 0, $driverEx);
    }
at Doctrine\DBAL\DBALException::wrapException()
in /srv/globalroot/typo3_src-11.5.27/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 159
        }

        $msg .= ":\n\n" . $driverEx->getMessage();

        return self::wrapException($driver, $driverEx, $msg);
    }

    /**
     * @deprecated
at Doctrine\DBAL\DBALException::driverExceptionDuringQuery()
in /srv/globalroot/typo3_src-11.5.27/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 2226
            Exception::driverExceptionDuringQuery(
                $this->_driver,
                $e,
                $sql,
                $this->resolveParams($params, $types)
            )
        );
    }

at Doctrine\DBAL\Connection->handleExceptionDuringQuery()
in /srv/globalroot/typo3_src-11.5.27/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 1313
                $stmt = $connection->query($sql);
            }
        } catch (Throwable $e) {
            $this->handleExceptionDuringQuery(
                $e,
                $sql,
                $params,
                $types
            );
at Doctrine\DBAL\Connection->executeQuery()
in /srv/globalroot/typo3_src-11.5.27/vendor/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php line 212
    public function execute()
    {
        if ($this->type === self::SELECT) {
            return ForwardCompatibility\Result::ensure(
                $this->connection->executeQuery($this->getSQL(), $this->params, $this->paramTypes)
            );
        }

        return $this->connection->executeStatement($this->getSQL(), $this->params, $this->paramTypes);
at Doctrine\DBAL\Query\QueryBuilder->execute()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Database/Query/QueryBuilder.php line 300
        $originalWhereConditions = $this->addAdditionalWhereConditions();

        // @todo Call $this->concreteQueryBuilder->executeQuery()
        //        directly with doctrine/dbal:^3.2 raise in v12.
        $return = $this->concreteQueryBuilder->execute();

        // Restore the original query conditions in case the user keeps
        // on modifying the state.
        $this->concreteQueryBuilder->add('where', $originalWhereConditions, false);
at TYPO3\CMS\Core\Database\Query\QueryBuilder->executeQuery()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Cache/Backend/Typo3DatabaseBackend.php line 150
                    'expires',
                    $queryBuilder->createNamedParameter($GLOBALS['EXEC_TIME'], Connection::PARAM_INT)
                )
            )
            ->executeQuery()
            ->fetchAssociative();
        $content = '';
        if (!empty($cacheRow)) {
            $content = $cacheRow['content'];
at TYPO3\CMS\Core\Cache\Backend\Typo3DatabaseBackend->get()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Cache/Frontend/VariableFrontend.php line 81
                '"' . $entryIdentifier . '" is not a valid cache entry identifier.',
                1233058294
            );
        }
        $rawResult = $this->backend->get($entryIdentifier);
        if ($rawResult === false) {
            return false;
        }
        return $this->backend instanceof TransientBackendInterface ? $rawResult : unserialize($rawResult);
at TYPO3\CMS\Core\Cache\Frontend\VariableFrontend->get()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/redirects/Classes/Service/RedirectCacheService.php line 51
     * Fetches all redirects available to the system, grouped by domain and regexp/nonregexp
     */
    public function getRedirects(string $sourceHost): array
    {
        $redirects = $this->cache->get($this->buildCacheIdentifier($sourceHost));
        // empty array is considered as valid cache, so we need to check for array type here.
        if (!is_array($redirects)) {
            $redirects = $this->rebuildForHost($sourceHost);
        }
at TYPO3\CMS\Redirects\Service\RedirectCacheService->getRedirects()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/redirects/Classes/Service/RedirectService.php line 173
     * grouped by the domain does NOT take starttime/endtime into account, as it is cached.
     */
    protected function fetchRedirects(string $sourceHost): array
    {
        return $this->redirectCacheService->getRedirects($sourceHost);
    }

    /**
     * Check if the current request is actually a redirect, and then process the redirect.
at TYPO3\CMS\Redirects\Service\RedirectService->fetchRedirects()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/redirects/Classes/Service/RedirectService.php line 84
        $path = rawurldecode($path);
        // Check if the domain matches, or if there is a
        // redirect fitting for any domain
        foreach ([$domain, '*'] as $domainName) {
            $redirects = $this->fetchRedirects($domainName);
            if (empty($redirects)) {
                continue;
            }

at TYPO3\CMS\Redirects\Service\RedirectService->matchRedirect()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/redirects/Classes/Http/Middleware/RedirectHandler.php line 61
        $port = $request->getUri()->getPort();
        $matchedRedirect = $this->redirectService->matchRedirect(
            $request->getUri()->getHost() . ($port ? ':' . $port : ''),
            $request->getUri()->getPath(),
            $request->getUri()->getQuery()
        );

        // If the matched redirect is found, resolve it, and check further
        if (is_array($matchedRedirect)) {
at TYPO3\CMS\Redirects\Http\Middleware\RedirectHandler->process()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d1->handle()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/frontend/Classes/Middleware/FrontendUserAuthenticator.php line 97
        if ($this->context->getAspect('frontend.user')->isLoggedIn() && $rateLimiter) {
            $rateLimiter->reset();
        }

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

        // Store session data for fe_users if it still exists
        if ($frontendUser instanceof FrontendUserAuthentication) {
            $frontendUser->storeSessionData();
at TYPO3\CMS\Frontend\Middleware\FrontendUserAuthenticator->process()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d1->handle()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/frontend/Classes/Middleware/BackendUserAuthenticator.php line 78
            Bootstrap::loadExtTables();
            $this->setBackendUserAspect($GLOBALS['BE_USER']);
        }

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

        // If, when building the response, the user is still available, then ensure that the headers are sent properly
        if ($this->context->getAspect('backend.user')->isLoggedIn()) {
            return $this->applyHeadersToResponse($response);
at TYPO3\CMS\Frontend\Middleware\BackendUserAuthenticator->process()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d1->handle()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/frontend/Classes/Middleware/MaintenanceMode.php line 55
        ) {
            return GeneralUtility::makeInstance(ErrorController::class)->unavailableAction($request, 'This page is temporarily unavailable.');
        }
        // Continue the regular stack if no maintenance mode is active
        return $handler->handle($request);
    }
}
at TYPO3\CMS\Frontend\Middleware\MaintenanceMode->process()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d1->handle()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/frontend/Classes/Middleware/EidHandler.php line 64
    {
        $eID = $request->getParsedBody()['eID'] ?? $request->getQueryParams()['eID'] ?? null;

        if ($eID === null) {
            return $handler->handle($request);
        }

        // Remove any output produced until now
        ob_clean();
at TYPO3\CMS\Frontend\Middleware\EidHandler->process()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d1->handle()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/frontend/Classes/Middleware/SiteResolver.php line 65
        $request = $request->withAttribute('routing', $routeResult);
        if ($routeResult->getLanguage() instanceof SiteLanguage) {
            Locales::setSystemLocaleFromSiteLanguage($routeResult->getLanguage());
        }
        return $handler->handle($request);
    }
}
at TYPO3\CMS\Frontend\Middleware\SiteResolver->process()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d1->handle()
in /srv/customers/ooela/websites/default/typo3conf/ext/div2007/Classes/Middleware/StoreRequest.php line 77
        $extendedRequest = $extendedRequest->withAttribute('routing', $routeResult);

        $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['div2007']['TYPO3_REQUEST'] = $extendedRequest;

        return $handler->handle($request);
    }
}
at JambageCom\Div2007\Middleware\StoreRequest->process()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d1->handle()
in /srv/customers/ooela/websites/default/typo3conf/ext/solr/Classes/Middleware/SolrRoutingMiddleware.php line 105
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        if (!$request->hasHeader(PageIndexerRequest::SOLR_INDEX_HEADER)) {
            return $handler->handle($request);
        }

        /* @var SiteRouteResult $routeResult */
        $routeResult = $this->getRoutingService()
at ApacheSolrForTypo3\Solr\Middleware\SolrRoutingMiddleware->process()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d1->handle()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Middleware/NormalizedParamsAttribute.php line 45
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        $request = $request->withAttribute('normalizedParams', NormalizedParams::createFromRequest($request));
        return $handler->handle($request);
    }
}
at TYPO3\CMS\Core\Middleware\NormalizedParamsAttribute->process()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d1->handle()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Middleware/VerifyHostHeader.php line 55
                1396795884
            );
        }

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

    /**
     * Checks if the provided host header value matches the trusted hosts pattern.
at TYPO3\CMS\Core\Middleware\VerifyHostHeader->process()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d1->handle()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/frontend/Classes/Middleware/TimeTrackerInitialization.php line 58
        $this->timeTracker->setEnabled($timeTrackingEnabled);
        $this->timeTracker->start(microtime(true));
        $this->timeTracker->push('');

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

        // Finish time tracking
        $this->timeTracker->pull();
        $this->timeTracker->finish();
at TYPO3\CMS\Frontend\Middleware\TimeTrackerInitialization->process()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d1->handle()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 78
     * @return ResponseInterface
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        return $this->tip->handle($request);
    }

    /**
     * Seed the middleware stack with the inner request handler
at TYPO3\CMS\Core\Http\MiddlewareDispatcher->handle()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/AbstractApplication.php line 86
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        try {
            $response = $this->requestHandler->handle($request);
        } catch (ImmediateResponseException $exception) {
            $response = $exception->getResponse();
        }
        return $response;
at TYPO3\CMS\Core\Http\AbstractApplication->handle()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/frontend/Classes/Http/Application.php line 69
        // Create new request object having applicationType "I am a frontend request" attribute.
        $request = $request->withAttribute('applicationType', SystemEnvironmentBuilder::REQUESTTYPE_FE);

        $this->initializeContext();
        return parent::handle($request);
    }

    /**
     * Create a PSR-7 Response that redirects to the install tool
at TYPO3\CMS\Frontend\Http\Application->handle()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/AbstractApplication.php line 100
     * @param callable $execute Deprecated, will be removed in TYPO3 v12.0
     */
    final public function run(callable $execute = null)
    {
        $response = $this->handle(ServerRequestFactory::fromGlobals());
        if ($execute !== null) {
            trigger_error('Custom execution of Application code will be removed in TYPO3 v12.0, use PSR-15 Middlewares instead.', E_USER_DEPRECATED);
            $execute();
        }
at TYPO3\CMS\Core\Http\AbstractApplication->run()
in /srv/globalroot/typo3_src-11.5.27/index.php line 20
// Set up the application for the frontend
call_user_func(static function () {
    $classLoader = require __DIR__.'/vendor/autoload.php';
    \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(0, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_FE);
    \TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Frontend\Http\Application::class)->run();
});
at {closure}()
in /srv/globalroot/typo3_src-11.5.27/index.php line 21
call_user_func(static function () {
    $classLoader = require __DIR__.'/vendor/autoload.php';
    \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(0, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_FE);
    \TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Frontend\Http\Application::class)->run();
});

(2/2) Doctrine\DBAL\Driver\Mysqli\Exception\StatementError

Prepared statement needs to be re-prepared

in /srv/globalroot/typo3_src-11.5.27/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/Exception/StatementError.php line 21
final class StatementError extends MysqliException
{
    public static function new(mysqli_stmt $statement): self
    {
        return new self($statement->error, $statement->sqlstate, $statement->errno);
    }

    public static function upcast(mysqli_sql_exception $exception): self
    {
at Doctrine\DBAL\Driver\Mysqli\Exception\StatementError::new()
in /srv/globalroot/typo3_src-11.5.27/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/MysqliStatement.php line 170
            throw StatementError::upcast($e);
        }

        if (! $result) {
            throw StatementError::new($this->_stmt);
        }

        if ($this->_columnNames === null) {
            $meta = $this->_stmt->result_metadata();
at Doctrine\DBAL\Driver\Mysqli\MysqliStatement->execute()
in /srv/globalroot/typo3_src-11.5.27/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 1304

                $stmt = $connection->prepare($sql);
                if ($types) {
                    $this->_bindTypedValues($stmt, $params, $types);
                    $stmt->execute();
                } else {
                    $stmt->execute($params);
                }
            } else {
at Doctrine\DBAL\Connection->executeQuery()
in /srv/globalroot/typo3_src-11.5.27/vendor/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php line 212
    public function execute()
    {
        if ($this->type === self::SELECT) {
            return ForwardCompatibility\Result::ensure(
                $this->connection->executeQuery($this->getSQL(), $this->params, $this->paramTypes)
            );
        }

        return $this->connection->executeStatement($this->getSQL(), $this->params, $this->paramTypes);
at Doctrine\DBAL\Query\QueryBuilder->execute()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Database/Query/QueryBuilder.php line 300
        $originalWhereConditions = $this->addAdditionalWhereConditions();

        // @todo Call $this->concreteQueryBuilder->executeQuery()
        //        directly with doctrine/dbal:^3.2 raise in v12.
        $return = $this->concreteQueryBuilder->execute();

        // Restore the original query conditions in case the user keeps
        // on modifying the state.
        $this->concreteQueryBuilder->add('where', $originalWhereConditions, false);
at TYPO3\CMS\Core\Database\Query\QueryBuilder->executeQuery()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Cache/Backend/Typo3DatabaseBackend.php line 150
                    'expires',
                    $queryBuilder->createNamedParameter($GLOBALS['EXEC_TIME'], Connection::PARAM_INT)
                )
            )
            ->executeQuery()
            ->fetchAssociative();
        $content = '';
        if (!empty($cacheRow)) {
            $content = $cacheRow['content'];
at TYPO3\CMS\Core\Cache\Backend\Typo3DatabaseBackend->get()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Cache/Frontend/VariableFrontend.php line 81
                '"' . $entryIdentifier . '" is not a valid cache entry identifier.',
                1233058294
            );
        }
        $rawResult = $this->backend->get($entryIdentifier);
        if ($rawResult === false) {
            return false;
        }
        return $this->backend instanceof TransientBackendInterface ? $rawResult : unserialize($rawResult);
at TYPO3\CMS\Core\Cache\Frontend\VariableFrontend->get()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/redirects/Classes/Service/RedirectCacheService.php line 51
     * Fetches all redirects available to the system, grouped by domain and regexp/nonregexp
     */
    public function getRedirects(string $sourceHost): array
    {
        $redirects = $this->cache->get($this->buildCacheIdentifier($sourceHost));
        // empty array is considered as valid cache, so we need to check for array type here.
        if (!is_array($redirects)) {
            $redirects = $this->rebuildForHost($sourceHost);
        }
at TYPO3\CMS\Redirects\Service\RedirectCacheService->getRedirects()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/redirects/Classes/Service/RedirectService.php line 173
     * grouped by the domain does NOT take starttime/endtime into account, as it is cached.
     */
    protected function fetchRedirects(string $sourceHost): array
    {
        return $this->redirectCacheService->getRedirects($sourceHost);
    }

    /**
     * Check if the current request is actually a redirect, and then process the redirect.
at TYPO3\CMS\Redirects\Service\RedirectService->fetchRedirects()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/redirects/Classes/Service/RedirectService.php line 84
        $path = rawurldecode($path);
        // Check if the domain matches, or if there is a
        // redirect fitting for any domain
        foreach ([$domain, '*'] as $domainName) {
            $redirects = $this->fetchRedirects($domainName);
            if (empty($redirects)) {
                continue;
            }

at TYPO3\CMS\Redirects\Service\RedirectService->matchRedirect()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/redirects/Classes/Http/Middleware/RedirectHandler.php line 61
        $port = $request->getUri()->getPort();
        $matchedRedirect = $this->redirectService->matchRedirect(
            $request->getUri()->getHost() . ($port ? ':' . $port : ''),
            $request->getUri()->getPath(),
            $request->getUri()->getQuery()
        );

        // If the matched redirect is found, resolve it, and check further
        if (is_array($matchedRedirect)) {
at TYPO3\CMS\Redirects\Http\Middleware\RedirectHandler->process()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d1->handle()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/frontend/Classes/Middleware/FrontendUserAuthenticator.php line 97
        if ($this->context->getAspect('frontend.user')->isLoggedIn() && $rateLimiter) {
            $rateLimiter->reset();
        }

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

        // Store session data for fe_users if it still exists
        if ($frontendUser instanceof FrontendUserAuthentication) {
            $frontendUser->storeSessionData();
at TYPO3\CMS\Frontend\Middleware\FrontendUserAuthenticator->process()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d1->handle()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/frontend/Classes/Middleware/BackendUserAuthenticator.php line 78
            Bootstrap::loadExtTables();
            $this->setBackendUserAspect($GLOBALS['BE_USER']);
        }

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

        // If, when building the response, the user is still available, then ensure that the headers are sent properly
        if ($this->context->getAspect('backend.user')->isLoggedIn()) {
            return $this->applyHeadersToResponse($response);
at TYPO3\CMS\Frontend\Middleware\BackendUserAuthenticator->process()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d1->handle()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/frontend/Classes/Middleware/MaintenanceMode.php line 55
        ) {
            return GeneralUtility::makeInstance(ErrorController::class)->unavailableAction($request, 'This page is temporarily unavailable.');
        }
        // Continue the regular stack if no maintenance mode is active
        return $handler->handle($request);
    }
}
at TYPO3\CMS\Frontend\Middleware\MaintenanceMode->process()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d1->handle()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/frontend/Classes/Middleware/EidHandler.php line 64
    {
        $eID = $request->getParsedBody()['eID'] ?? $request->getQueryParams()['eID'] ?? null;

        if ($eID === null) {
            return $handler->handle($request);
        }

        // Remove any output produced until now
        ob_clean();
at TYPO3\CMS\Frontend\Middleware\EidHandler->process()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d1->handle()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/frontend/Classes/Middleware/SiteResolver.php line 65
        $request = $request->withAttribute('routing', $routeResult);
        if ($routeResult->getLanguage() instanceof SiteLanguage) {
            Locales::setSystemLocaleFromSiteLanguage($routeResult->getLanguage());
        }
        return $handler->handle($request);
    }
}
at TYPO3\CMS\Frontend\Middleware\SiteResolver->process()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d1->handle()
in /srv/customers/ooela/websites/default/typo3conf/ext/div2007/Classes/Middleware/StoreRequest.php line 77
        $extendedRequest = $extendedRequest->withAttribute('routing', $routeResult);

        $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['div2007']['TYPO3_REQUEST'] = $extendedRequest;

        return $handler->handle($request);
    }
}
at JambageCom\Div2007\Middleware\StoreRequest->process()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d1->handle()
in /srv/customers/ooela/websites/default/typo3conf/ext/solr/Classes/Middleware/SolrRoutingMiddleware.php line 105
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        if (!$request->hasHeader(PageIndexerRequest::SOLR_INDEX_HEADER)) {
            return $handler->handle($request);
        }

        /* @var SiteRouteResult $routeResult */
        $routeResult = $this->getRoutingService()
at ApacheSolrForTypo3\Solr\Middleware\SolrRoutingMiddleware->process()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d1->handle()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Middleware/NormalizedParamsAttribute.php line 45
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        $request = $request->withAttribute('normalizedParams', NormalizedParams::createFromRequest($request));
        return $handler->handle($request);
    }
}
at TYPO3\CMS\Core\Middleware\NormalizedParamsAttribute->process()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d1->handle()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Middleware/VerifyHostHeader.php line 55
                1396795884
            );
        }

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

    /**
     * Checks if the provided host header value matches the trusted hosts pattern.
at TYPO3\CMS\Core\Middleware\VerifyHostHeader->process()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d1->handle()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/frontend/Classes/Middleware/TimeTrackerInitialization.php line 58
        $this->timeTracker->setEnabled($timeTrackingEnabled);
        $this->timeTracker->start(microtime(true));
        $this->timeTracker->push('');

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

        // Finish time tracking
        $this->timeTracker->pull();
        $this->timeTracker->finish();
at TYPO3\CMS\Frontend\Middleware\TimeTrackerInitialization->process()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172

                if (!$middleware instanceof MiddlewareInterface) {
                    throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
                }
                return $middleware->process($request, $this->next);
            }
        };
    }
}
at class@anonymous/srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$1d1->handle()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 78
     * @return ResponseInterface
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        return $this->tip->handle($request);
    }

    /**
     * Seed the middleware stack with the inner request handler
at TYPO3\CMS\Core\Http\MiddlewareDispatcher->handle()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/AbstractApplication.php line 86
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        try {
            $response = $this->requestHandler->handle($request);
        } catch (ImmediateResponseException $exception) {
            $response = $exception->getResponse();
        }
        return $response;
at TYPO3\CMS\Core\Http\AbstractApplication->handle()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/frontend/Classes/Http/Application.php line 69
        // Create new request object having applicationType "I am a frontend request" attribute.
        $request = $request->withAttribute('applicationType', SystemEnvironmentBuilder::REQUESTTYPE_FE);

        $this->initializeContext();
        return parent::handle($request);
    }

    /**
     * Create a PSR-7 Response that redirects to the install tool
at TYPO3\CMS\Frontend\Http\Application->handle()
in /srv/globalroot/typo3_src-11.5.27/typo3/sysext/core/Classes/Http/AbstractApplication.php line 100
     * @param callable $execute Deprecated, will be removed in TYPO3 v12.0
     */
    final public function run(callable $execute = null)
    {
        $response = $this->handle(ServerRequestFactory::fromGlobals());
        if ($execute !== null) {
            trigger_error('Custom execution of Application code will be removed in TYPO3 v12.0, use PSR-15 Middlewares instead.', E_USER_DEPRECATED);
            $execute();
        }
at TYPO3\CMS\Core\Http\AbstractApplication->run()
in /srv/globalroot/typo3_src-11.5.27/index.php line 20
// Set up the application for the frontend
call_user_func(static function () {
    $classLoader = require __DIR__.'/vendor/autoload.php';
    \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(0, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_FE);
    \TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Frontend\Http\Application::class)->run();
});
at {closure}()
in /srv/globalroot/typo3_src-11.5.27/index.php line 21
call_user_func(static function () {
    $classLoader = require __DIR__.'/vendor/autoload.php';
    \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(0, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_FE);
    \TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Frontend\Http\Application::class)->run();
});