Error 500 Internal Server Error

GET https://occultoftheoculi.tkgstage.com/profile/wallet/0x5Cd933025A57231449483600bdcCCDc00554f53c

ErrorController

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"error_controller"
_stopwatch_token
"b3af08"
exception
Error {#649
  #message: "Call to a member function getId() on null"
  #code: 0
  #file: "/var/www/fishersquest/stage/releases/20230602014038Z/src/Controller/TinyKnightGames/UserProfileController.php"
  #line: 60
  trace: {
    /var/www/fishersquest/stage/releases/20230602014038Z/src/Controller/TinyKnightGames/UserProfileController.php:60 {
      App\Controller\TinyKnightGames\UserProfileController->getUserProfileByWalletAddress($walletAddress): Response …
      › return $this->redirectToRoute('user_profile', [    'userId' => $user->getId()]);
    }
    /var/www/fishersquest/stage/shared/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);}
    /var/www/fishersquest/stage/shared/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) {
    }
    /var/www/fishersquest/stage/shared/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 {
    }
    /var/www/fishersquest/stage/shared/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
    }
    /var/www/fishersquest/stage/shared/vendor/autoload_runtime.php:30 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/fishersquest/stage/releases/20230602014038Z/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/fishersquest/stage/shared/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#152 …8}

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, zstd, deflate"
host
"occultoftheoculi.tkgstage.com"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.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
"Fri, 20 Sep 2024 00:49:06 GMT"
x-debug-exception
"Call%20to%20a%20member%20function%20getId%28%29%20on%20null"
x-debug-exception-file
"%2Fvar%2Fwww%2Ffishersquest%2Fstage%2Freleases%2F20230602014038Z%2Fsrc%2FController%2FTinyKnightGames%2FUserProfileController.php:60"
x-debug-token
"3dd669"

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_DOMAIN
"tkgstage.com"
APP_ENV
"dev"
APP_SECRET
"thisisonlyatest"
AWS_S3_KEY
"AKIA2LP2FJSKFA56BYHW"
AWS_S3_SECRET
"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"
CORS_ALLOW_ORIGIN
"^https?://(typho3.github.io|fishersquest.tinyknightgames.com|www.fishersquest.tinyknightgames.com|localhost|127\.0\.0\.1)(:[0-9]+)?$"
DATABASE_URL
"mysql://ef_admin:1bZW2yhVG9Q7!@127.0.0.1:3306/extremefishing?serverVersion=5.7"
MAILER_DSN
"gmail+smtp://tinyknightgames@gmail.com:HungryGnome9!!@default"
OAUTH_GOOGLE_ID
"184667230331-n5d3c6bcbu3uq75koqi6ngt9ki8ruiie.apps.googleusercontent.com"
OAUTH_GOOGLE_SECRET
"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"
PHOTON_API_KEY
"Jxvuz4EXk5Ym87M4DxrhyungEKDtNy3D"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/www/fishersquest/stage/current/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/fishersquest/stage/current/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_HOST
"occultoftheoculi.tkgstage.com"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REMOTE_ADDR
"3.147.86.74"
REMOTE_PORT
"4805"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1726793346
REQUEST_TIME_FLOAT
1726793346.3483
REQUEST_URI
"/profile/wallet/0x5Cd933025A57231449483600bdcCCDc00554f53c"
SCRIPT_FILENAME
"/var/www/fishersquest/stage/current/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://occultoftheoculi.tkgstage.com/profile/wallet/0x5Cd933025A57231449483600bdcCCDc00554f53c"
SCRIPT_URL
"/profile/wallet/0x5Cd933025A57231449483600bdcCCDc00554f53c"
SERVER_ADDR
"137.184.62.17"
SERVER_ADMIN
"matt@learningkeyworks.com"
SERVER_NAME
"occultoftheoculi.tkgstage.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.41 (Ubuntu) Server at occultoftheoculi.tkgstage.com Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.41 (Ubuntu)"
SSL_TLS_SNI
"occultoftheoculi.tkgstage.com"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,MAILER_DSN,DATABASE_URL,CORS_ALLOW_ORIGIN,OAUTH_GOOGLE_ID,OAUTH_GOOGLE_SECRET,APP_DOMAIN,PHOTON_API_KEY,AWS_S3_KEY,AWS_S3_SECRET"
USER
"www-data"
proxy-nokeepalive
"1"

Parent Request

Return to parent request (token = eef435)

Key Value
_controller
"App\Controller\TinyKnightGames\UserProfileController::getUserProfileByWalletAddress"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"user_profile_wallet_address"
_route_params
[
  "walletAddress" => "0x5Cd933025A57231449483600bdcCCDc00554f53c"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"11b916"
walletAddress
"0x5Cd933025A57231449483600bdcCCDc00554f53c"