Cake \ Routing \ Exception \ MissingRouteException (404)
A route matching "/impressum.html" could not be found. Cake\Routing\Exception\MissingRouteException thrown with message "A route matching "/impressum.html" could not be found." Stacktrace: #16 Cake\Routing\Exception\MissingRouteException in /kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Routing/RouteCollection.php:197 #15 Cake\Routing\RouteCollection:parseRequest in /kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Routing/Router.php:232 #14 Cake\Routing\Router:parseRequest in /kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php:161 #13 Cake\Routing\Middleware\RoutingMiddleware:process in /kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Http/Runner.php:82 #12 Cake\Http\Runner:handle in /kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php:124 #11 Authentication\Middleware\AuthenticationMiddleware:process in /kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Http/Runner.php:82 #10 Cake\Http\Runner:handle in /kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php:157 #9 Cake\Http\Middleware\BodyParserMiddleware:process in /kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Http/Runner.php:82 #8 Cake\Http\Runner:handle in /kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php:131 #7 Cake\Error\Middleware\ErrorHandlerMiddleware:process in /kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Http/Runner.php:82 #6 Cake\Http\Runner:handle in /kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php:77 #5 Cake\Routing\Middleware\AssetMiddleware:process in /kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Http/Runner.php:82 #4 Cake\Http\Runner:handle in /kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/dievisualisten/sx-core/plugins/sx-core/src/Library/Middleware/SxSetupMiddleware.php:40 #3 Sx\Core\Library\Middleware\SxSetupMiddleware:process in /kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Http/Runner.php:82 #2 Cake\Http\Runner:handle in /kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Http/Runner.php:67 #1 Cake\Http\Runner:run in /kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Http/Server.php:90 #0 Cake\Http\Server:run in /kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/webroot/index.php:79
Stack frames (17)
16
Cake\Routing\Exception\MissingRouteException
/vendor/cakephp/cakephp/src/Routing/RouteCollection.php197
15
Cake\Routing\RouteCollection parseRequest
/vendor/cakephp/cakephp/src/Routing/Router.php232
14
Cake\Routing\Router parseRequest
/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php161
13
Cake\Routing\Middleware\RoutingMiddleware process
/vendor/cakephp/cakephp/src/Http/Runner.php82
12
Cake\Http\Runner handle
/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php124
11
Authentication\Middleware\AuthenticationMiddleware process
/vendor/cakephp/cakephp/src/Http/Runner.php82
10
Cake\Http\Runner handle
/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php157
9
Cake\Http\Middleware\BodyParserMiddleware process
/vendor/cakephp/cakephp/src/Http/Runner.php82
8
Cake\Http\Runner handle
/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php131
7
Cake\Error\Middleware\ErrorHandlerMiddleware process
/vendor/cakephp/cakephp/src/Http/Runner.php82
6
Cake\Http\Runner handle
/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php77
5
Cake\Routing\Middleware\AssetMiddleware process
/vendor/cakephp/cakephp/src/Http/Runner.php82
4
Cake\Http\Runner handle
/vendor/dievisualisten/sx-core/plugins/sx-core/src/Library/Middleware/SxSetupMiddleware.php40
3
Sx\Core\Library\Middleware\SxSetupMiddleware process
/vendor/cakephp/cakephp/src/Http/Runner.php82
2
Cake\Http\Runner handle
/vendor/cakephp/cakephp/src/Http/Runner.php67
1
Cake\Http\Runner run
/vendor/cakephp/cakephp/src/Http/Server.php90
0
Cake\Http\Server run
/webroot/index.php79
/kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Routing/RouteCollection.php
 
        foreach ($this->_paths as $path => $routes) {
            if (strpos($urlPath, $path) !== 0) {
                continue;
            }
 
            foreach ($routes as $route) {
                $r = $route->parseRequest($request);
                if ($r === null) {
                    continue;
                }
                if ($uri->getQuery()) {
                    parse_str($uri->getQuery(), $queryParameters);
                    $r['?'] = $queryParameters;
                }
 
                return $r;
            }
        }
        throw new MissingRouteException(['url' => $urlPath]);
    }
 
    /**
     * Get the set of names from the $url. Accepts both older style array urls,
     * and newer style urls containing '_name'
     *
     * @param array $url The url to match.
     * @return array<string> The set of names of the url
     */
    protected function _getNames(array $url): array
    {
        $plugin = false;
        if (isset($url['plugin']) && $url['plugin'] !== false) {
            $plugin = strtolower($url['plugin']);
        }
        $prefix = false;
        if (isset($url['prefix']) && $url['prefix'] !== false) {
            $prefix = strtolower($url['prefix']);
        }
        $controller = isset($url['controller']) ? strtolower($url['controller']) : null;
Arguments
  1. "A route matching "/impressum.html" could not be found."
    
/kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Routing/Router.php
        deprecationWarning(
            '`Router::connect()` is deprecated, use the non-static method `RouteBuilder::connect()` instead.'
        );
 
        static::scope('/', function ($routes) use ($route, $defaults, $options): void {
            /** @var \Cake\Routing\RouteBuilder $routes */
            $routes->connect($route, $defaults, $options);
        });
    }
 
    /**
     * Get the routing parameters for the request if possible.
     *
     * @param \Cake\Http\ServerRequest $request The request to parse request data from.
     * @return array Parsed elements from URL.
     * @throws \Cake\Routing\Exception\MissingRouteException When a route cannot be handled
     */
    public static function parseRequest(ServerRequest $request): array
    {
        return static::$_collection->parseRequest($request);
    }
 
    /**
     * Set current request instance.
     *
     * @param \Cake\Http\ServerRequest $request request object.
     * @return void
     */
    public static function setRequest(ServerRequest $request): void
    {
        static::$_request = $request;
 
        static::$_requestContext['_base'] = $request->getAttribute('base');
        static::$_requestContext['params'] = $request->getAttribute('params', []);
 
        $uri = $request->getUri();
        static::$_requestContext += [
            '_scheme' => $uri->getScheme(),
            '_host' => $uri->getHost(),
            '_port' => $uri->getPort(),
Arguments
  1. Cake\Http\ServerRequest {#196}
    
/kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php
 
    /**
     * Apply routing and update the request.
     *
     * Any route/path specific middleware will be wrapped around $next and then the new middleware stack will be
     * invoked.
     *
     * @param \Psr\Http\Message\ServerRequestInterface $request The request.
     * @param \Psr\Http\Server\RequestHandlerInterface $handler The request handler.
     * @return \Psr\Http\Message\ResponseInterface A response.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        $this->loadRoutes();
        try {
            Router::setRequest($request);
            $params = (array)$request->getAttribute('params', []);
            $middleware = [];
            if (empty($params['controller'])) {
                $params = Router::parseRequest($request) + $params;
                if (isset($params['_middleware'])) {
                    $middleware = $params['_middleware'];
                }
                $route = $params['_route'];
                unset($params['_middleware'], $params['_route']);
 
                $request = $request->withAttribute('route', $route);
                /** @var \Cake\Http\ServerRequest $request */
                $request = $request->withAttribute('params', $params);
                Router::setRequest($request);
            }
        } catch (RedirectException $e) {
            return new RedirectResponse(
                $e->getMessage(),
                $e->getCode(),
                $e->getHeaders()
            );
        } catch (DeprecatedRedirectException $e) {
            return new RedirectResponse(
                $e->getMessage(),
Arguments
  1. Cake\Http\ServerRequest {#196}
    
/kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Http/Runner.php
        ) {
            Router::setRequest($request);
        }
 
        return $this->handle($request);
    }
 
    /**
     * Handle incoming server request and return a response.
     *
     * @param \Psr\Http\Message\ServerRequestInterface $request The server request
     * @return \Psr\Http\Message\ResponseInterface An updated response
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        if ($this->queue->valid()) {
            $middleware = $this->queue->current();
            $this->queue->next();
 
            return $middleware->process($request, $this);
        }
 
        if ($this->fallbackHandler) {
            return $this->fallbackHandler->handle($request);
        }
 
        return new Response([
            'body' => 'Middleware queue was exhausted without returning a response '
                . 'and no fallback request handler was set for Runner',
            'status' => 500,
        ]);
    }
}
 
Arguments
  1. Cake\Http\ServerRequest {#196}
    
  2. Cake\Http\Runner {#7}
    
/kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php
            $result = $service->authenticate($request);
        } catch (AuthenticationRequiredException $e) {
            $body = new Stream('php://memory', 'rw');
            $body->write($e->getBody());
            $response = new Response();
            $response = $response->withStatus((int)$e->getCode())
                ->withBody($body);
            foreach ($e->getHeaders() as $header => $value) {
                $response = $response->withHeader($header, $value);
            }
 
            return $response;
        }
 
        $request = $request->withAttribute($service->getIdentityAttribute(), $service->getIdentity());
        $request = $request->withAttribute('authentication', $service);
        $request = $request->withAttribute('authenticationResult', $result);
 
        try {
            $response = $handler->handle($request);
            $authenticator = $service->getAuthenticationProvider();
 
            if ($authenticator !== null && !$authenticator instanceof StatelessInterface) {
                $return = $service->persistIdentity($request, $response, $result->getData());
                $response = $return['response'];
            }
        } catch (UnauthenticatedException $e) {
            $url = $service->getUnauthenticatedRedirectUrl($request);
            if ($url) {
                return new RedirectResponse($url);
            }
            throw $e;
        }
 
        return $response;
    }
 
    /**
     * Returns AuthenticationServiceInterface instance.
     *
Arguments
  1. Cake\Http\ServerRequest {#196}
    
/kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Http/Runner.php
        ) {
            Router::setRequest($request);
        }
 
        return $this->handle($request);
    }
 
    /**
     * Handle incoming server request and return a response.
     *
     * @param \Psr\Http\Message\ServerRequestInterface $request The server request
     * @return \Psr\Http\Message\ResponseInterface An updated response
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        if ($this->queue->valid()) {
            $middleware = $this->queue->current();
            $this->queue->next();
 
            return $middleware->process($request, $this);
        }
 
        if ($this->fallbackHandler) {
            return $this->fallbackHandler->handle($request);
        }
 
        return new Response([
            'body' => 'Middleware queue was exhausted without returning a response '
                . 'and no fallback request handler was set for Runner',
            'status' => 500,
        ]);
    }
}
 
Arguments
  1. Cake\Http\ServerRequest {#196}
    
  2. Cake\Http\Runner {#7}
    
/kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php
     * @return array<\Closure>
     */
    public function getParsers(): array
    {
        return $this->parsers;
    }
 
    /**
     * Apply the middleware.
     *
     * Will modify the request adding a parsed body if the content-type is known.
     *
     * @param \Psr\Http\Message\ServerRequestInterface $request The request.
     * @param \Psr\Http\Server\RequestHandlerInterface $handler The request handler.
     * @return \Psr\Http\Message\ResponseInterface A response.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        if (!in_array($request->getMethod(), $this->methods, true)) {
            return $handler->handle($request);
        }
        [$type] = explode(';', $request->getHeaderLine('Content-Type'));
        $type = strtolower($type);
        if (!isset($this->parsers[$type])) {
            return $handler->handle($request);
        }
 
        $parser = $this->parsers[$type];
        $result = $parser($request->getBody()->getContents());
        if (!is_array($result)) {
            throw new BadRequestException();
        }
        $request = $request->withParsedBody($result);
 
        return $handler->handle($request);
    }
 
    /**
     * Decode JSON into an array.
     *
Arguments
  1. Cake\Http\ServerRequest {#38}
    
/kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Http/Runner.php
        ) {
            Router::setRequest($request);
        }
 
        return $this->handle($request);
    }
 
    /**
     * Handle incoming server request and return a response.
     *
     * @param \Psr\Http\Message\ServerRequestInterface $request The server request
     * @return \Psr\Http\Message\ResponseInterface An updated response
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        if ($this->queue->valid()) {
            $middleware = $this->queue->current();
            $this->queue->next();
 
            return $middleware->process($request, $this);
        }
 
        if ($this->fallbackHandler) {
            return $this->fallbackHandler->handle($request);
        }
 
        return new Response([
            'body' => 'Middleware queue was exhausted without returning a response '
                . 'and no fallback request handler was set for Runner',
            'status' => 500,
        ]);
    }
}
 
Arguments
  1. Cake\Http\ServerRequest {#38}
    
  2. Cake\Http\Runner {#7}
    
/kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php
 
            return;
        }
        throw new InvalidArgumentException(sprintf(
            '$errorHandler argument must be a config array or ExceptionTrap instance. Got `%s` instead.',
            getTypeName($errorHandler)
        ));
    }
 
    /**
     * Wrap the remaining middleware with error handling.
     *
     * @param \Psr\Http\Message\ServerRequestInterface $request The request.
     * @param \Psr\Http\Server\RequestHandlerInterface $handler The request handler.
     * @return \Psr\Http\Message\ResponseInterface A response
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        try {
            return $handler->handle($request);
        } catch (RedirectException $exception) {
            return $this->handleRedirect($exception);
        } catch (Throwable $exception) {
            return $this->handleException($exception, $request);
        }
    }
 
    /**
     * Handle an exception and generate an error response
     *
     * @param \Throwable $exception The exception to handle.
     * @param \Psr\Http\Message\ServerRequestInterface $request The request.
     * @return \Psr\Http\Message\ResponseInterface A response.
     */
    public function handleException(Throwable $exception, ServerRequestInterface $request): ResponseInterface
    {
        if ($this->errorHandler === null) {
            $handler = $this->getExceptionTrap();
            $handler->logException($exception, $request);
 
Arguments
  1. Cake\Http\ServerRequest {#38}
    
/kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Http/Runner.php
        ) {
            Router::setRequest($request);
        }
 
        return $this->handle($request);
    }
 
    /**
     * Handle incoming server request and return a response.
     *
     * @param \Psr\Http\Message\ServerRequestInterface $request The server request
     * @return \Psr\Http\Message\ResponseInterface An updated response
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        if ($this->queue->valid()) {
            $middleware = $this->queue->current();
            $this->queue->next();
 
            return $middleware->process($request, $this);
        }
 
        if ($this->fallbackHandler) {
            return $this->fallbackHandler->handle($request);
        }
 
        return new Response([
            'body' => 'Middleware queue was exhausted without returning a response '
                . 'and no fallback request handler was set for Runner',
            'status' => 500,
        ]);
    }
}
 
Arguments
  1. Cake\Http\ServerRequest {#38}
    
  2. Cake\Http\Runner {#7}
    
/kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php
     * Serve assets if the path matches one.
     *
     * @param \Psr\Http\Message\ServerRequestInterface $request The request.
     * @param \Psr\Http\Server\RequestHandlerInterface $handler The request handler.
     * @return \Psr\Http\Message\ResponseInterface A response.
     */
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        $url = $request->getUri()->getPath();
        if (strpos($url, '..') !== false || strpos($url, '.') === false) {
            return $handler->handle($request);
        }
 
        if (strpos($url, '/.') !== false) {
            return $handler->handle($request);
        }
 
        $assetFile = $this->_getAssetFile($url);
        if ($assetFile === null || !is_file($assetFile)) {
            return $handler->handle($request);
        }
 
        $file = new SplFileInfo($assetFile);
        $modifiedTime = $file->getMTime();
        if ($this->isNotModified($request, $file)) {
            return (new Response())
                ->withStringBody('')
                ->withStatus(304)
                ->withHeader(
                    'Last-Modified',
                    date(DATE_RFC850, $modifiedTime)
                );
        }
 
        return $this->deliverAsset($request, $file);
    }
 
    /**
     * Check the not modified header.
     *
Arguments
  1. Cake\Http\ServerRequest {#38}
    
/kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Http/Runner.php
        ) {
            Router::setRequest($request);
        }
 
        return $this->handle($request);
    }
 
    /**
     * Handle incoming server request and return a response.
     *
     * @param \Psr\Http\Message\ServerRequestInterface $request The server request
     * @return \Psr\Http\Message\ResponseInterface An updated response
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        if ($this->queue->valid()) {
            $middleware = $this->queue->current();
            $this->queue->next();
 
            return $middleware->process($request, $this);
        }
 
        if ($this->fallbackHandler) {
            return $this->fallbackHandler->handle($request);
        }
 
        return new Response([
            'body' => 'Middleware queue was exhausted without returning a response '
                . 'and no fallback request handler was set for Runner',
            'status' => 500,
        ]);
    }
}
 
Arguments
  1. Cake\Http\ServerRequest {#38}
    
  2. Cake\Http\Runner {#7}
    
/kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/dievisualisten/sx-core/plugins/sx-core/src/Library/Middleware/SxSetupMiddleware.php
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;
 
class SxSetupMiddleware implements MiddlewareInterface
{
 
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        Debug::setupFacade($request);
        Request::setupFacade($request);
        Logger::setupFacade($request);
        Language::setupFacade($request);
        Menu::setupFacade($request);
        Mailer::setupFacade($request);
        Article::setupFacade($request);
        Search::setupFacade($request);
 
        return $handler->handle($request);
    }
 
}
 
Arguments
  1. Cake\Http\ServerRequest {#38}
    
/kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Http/Runner.php
        ) {
            Router::setRequest($request);
        }
 
        return $this->handle($request);
    }
 
    /**
     * Handle incoming server request and return a response.
     *
     * @param \Psr\Http\Message\ServerRequestInterface $request The server request
     * @return \Psr\Http\Message\ResponseInterface An updated response
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        if ($this->queue->valid()) {
            $middleware = $this->queue->current();
            $this->queue->next();
 
            return $middleware->process($request, $this);
        }
 
        if ($this->fallbackHandler) {
            return $this->fallbackHandler->handle($request);
        }
 
        return new Response([
            'body' => 'Middleware queue was exhausted without returning a response '
                . 'and no fallback request handler was set for Runner',
            'status' => 500,
        ]);
    }
}
 
Arguments
  1. Cake\Http\ServerRequest {#38}
    
  2. Cake\Http\Runner {#7}
    
/kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Http/Runner.php
     * @param \Psr\Http\Server\RequestHandlerInterface|null $fallbackHandler Fallback request handler.
     * @return \Psr\Http\Message\ResponseInterface A response object
     */
    public function run(
        MiddlewareQueue $queue,
        ServerRequestInterface $request,
        ?RequestHandlerInterface $fallbackHandler = null
    ): ResponseInterface {
        $this->queue = $queue;
        $this->queue->rewind();
        $this->fallbackHandler = $fallbackHandler;
 
        if (
            $fallbackHandler instanceof RoutingApplicationInterface &&
            $request instanceof ServerRequest
        ) {
            Router::setRequest($request);
        }
 
        return $this->handle($request);
    }
 
    /**
     * Handle incoming server request and return a response.
     *
     * @param \Psr\Http\Message\ServerRequestInterface $request The server request
     * @return \Psr\Http\Message\ResponseInterface An updated response
     */
    public function handle(ServerRequestInterface $request): ResponseInterface
    {
        if ($this->queue->valid()) {
            $middleware = $this->queue->current();
            $this->queue->next();
 
            return $middleware->process($request, $this);
        }
 
        if ($this->fallbackHandler) {
            return $this->fallbackHandler->handle($request);
        }
Arguments
  1. Cake\Http\ServerRequest {#38}
    
/kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/vendor/cakephp/cakephp/src/Http/Server.php
     * @param \Cake\Http\MiddlewareQueue|null $middlewareQueue MiddlewareQueue or null.
     * @return \Psr\Http\Message\ResponseInterface
     * @throws \RuntimeException When the application does not make a response.
     */
    public function run(
        ?ServerRequestInterface $request = null,
        ?MiddlewareQueue $middlewareQueue = null
    ): ResponseInterface {
        $this->bootstrap();
 
        $request = $request ?: ServerRequestFactory::fromGlobals();
 
        $middleware = $this->app->middleware($middlewareQueue ?? new MiddlewareQueue());
        if ($this->app instanceof PluginApplicationInterface) {
            $middleware = $this->app->pluginMiddleware($middleware);
        }
 
        $this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]);
 
        $response = $this->runner->run($middleware, $request, $this->app);
 
        if ($request instanceof ServerRequest) {
            $request->getSession()->close();
        }
 
        return $response;
    }
 
    /**
     * Application bootstrap wrapper.
     *
     * Calls the application's `bootstrap()` hook. After the application the
     * plugins are bootstrapped.
     *
     * @return void
     */
    protected function bootstrap(): void
    {
        $this->app->bootstrap();
        if ($this->app instanceof PluginApplicationInterface) {
Arguments
  1. Cake\Http\MiddlewareQueue {#33}
    
  2. Cake\Http\ServerRequest {#38}
    
  3. App\Application {#4}
    
/kunden/creatic-design.de/rp-hosting/506/507/webseiten/www.avc-immobilien.de/webroot/index.php
    $file = __DIR__ . $url['path'];
    if ( strpos($url['path'], '..') === false && strpos($url['path'], '.') !== false && is_file($file) ) {
        return false;
    }
}
 
/**
 * Load composer autoload
 */
require $rootDir . DS . 'vendor' . DS . 'autoload.php';
 
/**
 *  Bind your application to the server
 */
$server = new Server(new Application(APP . 'Config'));
 
/**
 * Run the request/response through the application and emit the response
 */
$server->emit($server->run());
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
Debugging
false
Key Value
Debugging
false
0. Whoops\Handler\PrettyPageHandler