i%  8qwww.recaro.cni$p8qIhe j&` 8qwww.recaro.comPj 8q$p 8qQ9 * /** * Detect the path for the request * * Looks at a variety of criteria in order to attempt to autodetect the base * request path, including: * * - IIS7 UrlRewrite environment * - REQUEST_URI * - ORIG_PATH_INFO * * From Laminas\Http\PhpEnvironment\Request class */ $marshalRequestPath = function (array $server) : string { // IIS7 with URL Rewrite: make sure we get the unencoded url // (double slash problem). $iisUrlRewritten = $server['IIS_WasUrlRewritten'] ?? null; $unencodedUrl = $server['UNENCODED_URL'] ?? ''; if ('1' === $iisUrlRewritten && ! empty($unencodedUrl)) { return $unencodedUrl; } $requestUri = $server['REQUEST_URI'] ?? null; if ($requestUri !== null) { return preg_replace('#^[^/:]+://[^/]+#', '', $requestUri); } $origPathInfo = $server['ORIG_PATH_INFO'] ?? null; if (empty($origPathInfo)) { return '/'; } return $origPathInfo; }; $uri = new Uri(''); // URI scheme $scheme = 'http'; $marshalHttpsValue = function ($https) : bool { if (is_bool($https)) { return $https; } if (! is_string($https)) { throw new Exception\InvalidArgumentException(sprintf( 'SAPI HTTPS value MUST be a string or boolean; received %s', gettype($https) )); } return 'on' === strtolower($https); }; if (array_key_exists('HTTPS', $server)) { $https = $marshalHttpsValue($server['HTTPS']); } elseif (array_key_exists('https', $server)) { $https = $marshalHttpsValue($server['https']); } else { $https = false; } if ($https || strtolower($getHeaderFromArray('x-forwarded-proto', $headers, '')) === 'https' ) { $scheme = 'https'; } $uri = $uri->withScheme($scheme); // Set the host [$host, $port] = $marshalHostAndPort($headers, $server); if (! empty($host)) { $uri = $uri->withHost($host); if (! empty($port)) { $uri = $uri->withPort($port); } } // URI path $path = $marshalRequestPath($server); // Strip query string $path = explode('?', $path, 2)[0]; // URI query $query = ''; if (isset($server['QUERY_STRING'])) { $query = ltrim($server['QUERY_STRING'], '?'); } // URI fragment $fragment = ''; if (strpos($path, '#') !== false) { [$path, $fragment] = explode('#', $path, 2); } return $uri ->withPath($path) ->withFragment($fragment) ->withQuery($query); } An Error Occurred: Whoops, looks like something went wrong.

Sorry, there was a problem we could not recover from.

The server returned a "500 - Whoops, looks like something went wrong."

Help me resolve this