302 redirect from GET @play_game (6b89d0)

Error 500 Internal Server Error

GET http://static.preprod.speakyplanet.fr/sitemap.txt/decouvre-jeu-anglais-de-lhopital.html

Forwarded to ErrorController (5cbeb1)

GameController :: displayGame

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"App\Controller\GameController::displayGame"
_firewall_context
"security.firewall.map.context.main"
_locale
"sitemap.txt"
_redirected
true
_remove_csp_headers
true
_route
"display_game"
_route_params
[
  "_locale" => "sitemap.txt"
  "slug" => "de-lhopital"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"797190"
slug
"de-lhopital"

Request Headers

Header Value
accept
"text/html,application/xhtml+xml,application/xml;q=0.9,image/heif,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
accept-encoding
"gzip, deflate"
accept-language
"en-US,en;q=0.5"
connection
"Keep-Alive"
cookie
"sf_redirect=%7B%22token%22%3A%226b89d0%22%2C%22route%22%3A%22play_game%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CGameController%22%2C%22method%22%3A%22game%22%2C%22file%22%3A%22%5C%2Fhome%5C%2Fspeakyplanet-pp%5C%2Fwww%5C%2Fsrc%5C%2FController%5C%2FGameController.php%22%2C%22line%22%3A124%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D"
host
"static.preprod.speakyplanet.fr"
protocol
"http"
upgrade-insecure-requests
"1"
user-agent
"Mozilla/5.0 (Linux; Android 5.0) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; Bytespider; spider-feedback@bytedance.com)"
x-php-ob-level
"1"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Wed, 09 Oct 2024 22:01:27 GMT"
x-debug-exception
"App%5CController%5CGameController%3A%3AdisplayGame%28%29%3A%20Return%20value%20must%20be%20of%20type%20Symfony%5CComponent%5CHttpFoundation%5CResponse%2C%20none%20returned"
x-debug-exception-file
"%2Fhome%2Fspeakyplanet-pp%2Fwww%2Fsrc%2FController%2FGameController.php:182"
x-debug-token
"ee4b03"
x-debug-token-link
"http://static.preprod.speakyplanet.fr/_profiler/5cbeb1"
x-previous-debug-token
"5cbeb1"
x-robots-tag
"noindex"

Cookies

Request Cookies

Key Value
sf_redirect
"{"token":"6b89d0","route":"play_game","method":"GET","controller":{"class":"App\\Controller\\GameController","method":"game","file":"\/home\/speakyplanet-pp\/www\/src\/Controller\/GameController.php","line":124},"status_code":302,"status_text":"Found"}"

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"cc03d74be3df3fd47e534b6fec319bfe"
CDN_URL
"http://preprod.speakyplanet.fr"
DATABASE_URL
"mysql://speakyplanet-pp:VLUEvx2YeJiQtrnDATWh!@localhost:3306/speakyplanet-pp?serverVersion=5.7&charset=utf8mb4"
HTTP_PROTOCOL
"http"
LOCK_DSN
"semaphore"
MAILER_DSN
"mandrill+smtp://speakyplanet:md-i2EbsBJ89GupH7uP9mZghQ@587"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
OAUTH_FACEBOOK_CLIENT_ID
"5581112048638352"
OAUTH_FACEBOOK_CLIENT_SECRET
"78581ef8015e9ff10732419a49cabc5c"
RECAPTCHA3_KEY
"6Lf_QSYlAAAAAN-oeZRYqsZhl8Kn1wqZoN4Ch0tY"
RECAPTCHA3_SECRET
"6Lf_QSYlAAAAABIRy4LdNNTBgr638hKJkxqfnjiF"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/home/speakyplanet-pp/www/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/speakyplanet-pp/www/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/home/speakyplanet-pp"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,image/heif,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
HTTP_ACCEPT_ENCODING
"gzip, deflate"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.5"
HTTP_CONNECTION
"Keep-Alive"
HTTP_COOKIE
"sf_redirect=%7B%22token%22%3A%226b89d0%22%2C%22route%22%3A%22play_game%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CGameController%22%2C%22method%22%3A%22game%22%2C%22file%22%3A%22%5C%2Fhome%5C%2Fspeakyplanet-pp%5C%2Fwww%5C%2Fsrc%5C%2FController%5C%2FGameController.php%22%2C%22line%22%3A124%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D"
HTTP_HOST
"static.preprod.speakyplanet.fr"
HTTP_UPGRADE_INSECURE_REQUESTS
"1"
HTTP_USER_AGENT
"Mozilla/5.0 (Linux; Android 5.0) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; Bytespider; spider-feedback@bytedance.com)"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_SCRIPT_URI
"http://static.preprod.speakyplanet.fr/sitemap.txt/decouvre-jeu-anglais-de-lhopital.html"
REDIRECT_SCRIPT_URL
"/sitemap.txt/decouvre-jeu-anglais-de-lhopital.html"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/sitemap.txt/decouvre-jeu-anglais-de-lhopital.html"
REMOTE_ADDR
"47.128.60.188"
REMOTE_PORT
"16424"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_TIME
1728511287
REQUEST_TIME_FLOAT
1728511287.4281
REQUEST_URI
"/sitemap.txt/decouvre-jeu-anglais-de-lhopital.html"
SCRIPT_FILENAME
"/home/speakyplanet-pp/www/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"http://static.preprod.speakyplanet.fr/sitemap.txt/decouvre-jeu-anglais-de-lhopital.html"
SCRIPT_URL
"/sitemap.txt/decouvre-jeu-anglais-de-lhopital.html"
SERVER_ADDR
"54.37.80.231"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"static.preprod.speakyplanet.fr"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,OAUTH_FACEBOOK_CLIENT_ID,OAUTH_FACEBOOK_CLIENT_SECRET,MESSENGER_TRANSPORT_DSN,HTTP_PROTOCOL,DATABASE_URL,LOCK_DSN,MAILER_DSN,CDN_URL,RECAPTCHA3_KEY,RECAPTCHA3_SECRET"
USER
"speakyplanet-pp"
proxy-nokeepalive
"1"

Sub Requests 1

ErrorController (token = 5cbeb1)

Key Value
_controller
"error_controller"
_stopwatch_token
"afb5c2"
exception
TypeError {#446
  #message: "App\Controller\GameController::displayGame(): Return value must be of type Symfony\Component\HttpFoundation\Response, none returned"
  #code: 0
  #file: "/home/speakyplanet-pp/www/src/Controller/GameController.php"
  #line: 182
  trace: {
    /home/speakyplanet-pp/www/src/Controller/GameController.php:182 {
      App\Controller\GameController->displayGame(string $slug): Response …
      ›     }}}
    /home/speakyplanet-pp/www/vendor/symfony/http-kernel/HttpKernel.php:163 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);arguments: {
        $slug: "de-lhopital"
      }
    }
    /home/speakyplanet-pp/www/vendor/symfony/http-kernel/HttpKernel.php:74 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $this->handleRaw($request, $type);} catch (\Throwable $e) {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#4 …}
        $type: 1
      }
    }
    /home/speakyplanet-pp/www/vendor/symfony/http-kernel/Kernel.php:184 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#4 …}
        $type: 1
        $catch: true
      }
    }
    /home/speakyplanet-pp/www/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#4 …}
      }
    }
    /home/speakyplanet-pp/www/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /home/speakyplanet-pp/www/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/home/speakyplanet-pp/www/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#241 …9}