Error 500 Internal Server Error

GET http://static.preprod.speakyplanet.fr/robots.txt/decouvre-jeu-anglais-visage-et-accessoires-1.html

Forwarded to ErrorController (d96152)

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
"robots.txt"
_remove_csp_headers
true
_route
"display_game"
_route_params
[
  "_locale" => "robots.txt"
  "slug" => "visage-et-accessoires-1"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"8cf467"
slug
"visage-et-accessoires-1"

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"
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, 16 Oct 2024 16:43:15 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
"f3d6a8"
x-debug-token-link
"http://static.preprod.speakyplanet.fr/_profiler/d96152"
x-previous-debug-token
"d96152"
x-robots-tag
"noindex"

Cookies

Request Cookies

No request cookies

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_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/robots.txt/decouvre-jeu-anglais-visage-et-accessoires-1.html"
REDIRECT_SCRIPT_URL
"/robots.txt/decouvre-jeu-anglais-visage-et-accessoires-1.html"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/robots.txt/decouvre-jeu-anglais-visage-et-accessoires-1.html"
REMOTE_ADDR
"47.128.32.38"
REMOTE_PORT
"42052"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_TIME
1729096995
REQUEST_TIME_FLOAT
1729096995.414
REQUEST_URI
"/robots.txt/decouvre-jeu-anglais-visage-et-accessoires-1.html"
SCRIPT_FILENAME
"/home/speakyplanet-pp/www/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"http://static.preprod.speakyplanet.fr/robots.txt/decouvre-jeu-anglais-visage-et-accessoires-1.html"
SCRIPT_URL
"/robots.txt/decouvre-jeu-anglais-visage-et-accessoires-1.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 = d96152)

Key Value
_controller
"error_controller"
_stopwatch_token
"530b3e"
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: "visage-et-accessoires-1"
      }
    }
    /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}