Error 500 Internal Server Error

GET https://safeplorer.xyz/safeplorer/public/duyurugetir

Forwarded to ErrorController (a55ecd)

AnnounceBoardController :: GetAnnounce

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"App\Controller\Ajax\AnnounceBoard\AnnounceBoardController::GetAnnounce"
_firewall_context
"security.firewall.map.context.main"
_locale
"tr_TR"
_remove_csp_headers
true
_route
"getannounce1"
_route_params
[
  "_locale" => "tr_TR"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"d42f43"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, deflate"
from
"gptbot(at)openai.com"
host
"safeplorer.xyz"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)"
x-openai-host-hash
"852584731"
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
"Sat, 19 Apr 2025 00:01:39 GMT"
vary
"Accept"
x-debug-exception
"Warning%3A%20Undefined%20array%20key%20%22USR_UserId%22"
x-debug-exception-file
"%2Fvar%2Fwww%2Fvhosts%2Fsafeplorer.xyz%2Fpublic_html%2Fsafeplorer%2Fsrc%2FController%2FMain%2FSafeplorerController.php:301"
x-debug-token
"3acdd6"
x-debug-token-link
"https://safeplorer.xyz/safeplorer/public/_profiler/a55ecd"
x-previous-debug-token
"a55ecd"
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_DEBUG
"1"
APP_ENV
"dev"
APP_SECRET
"0d423702a163be6443018b38a45b6956"
DATABASE_URL
"mysql://sp_db_user:Arme9002!@localhost:3306/safeplor_dbsafeplorer3"

Defined as regular env variables

Key Value
BASE
"/safeplorer/public"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/safeplorer.xyz/public_html"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/vhosts/safeplorer.xyz/public_html"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www/vhosts/safeplorer.xyz"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, deflate"
HTTP_FROM
"gptbot(at)openai.com"
HTTP_HOST
"safeplorer.xyz"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)"
HTTP_X_OPENAI_HOST_HASH
"852584731"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
PERL5LIB
"/usr/share/awstats/lib:/usr/share/awstats/plugins"
PHP_SELF
"/safeplorer/public/index.php"
QUERY_STRING
""
REDIRECT_BASE
"/safeplorer/public"
REDIRECT_HTTPS
"on"
REDIRECT_PERL5LIB
"/usr/share/awstats/lib:/usr/share/awstats/plugins"
REDIRECT_SCRIPT_URI
"https://safeplorer.xyz/safeplorer/public/duyurugetir"
REDIRECT_SCRIPT_URL
"/safeplorer/public/duyurugetir"
REDIRECT_SSL_TLS_SNI
"safeplorer.xyz"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"aALn4qJJNJH9WQuMuluJAQAAAQg"
REDIRECT_URL
"/safeplorer/public/duyurugetir"
REMOTE_ADDR
"20.171.207.120"
REMOTE_PORT
"57210"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1745020898
REQUEST_TIME_FLOAT
1745020898.9224
REQUEST_URI
"/safeplorer/public/duyurugetir"
SCRIPT_FILENAME
"/var/www/vhosts/safeplorer.xyz/public_html/safeplorer/public/index.php"
SCRIPT_NAME
"/safeplorer/public/index.php"
SCRIPT_URI
"https://safeplorer.xyz/safeplorer/public/duyurugetir"
SCRIPT_URL
"/safeplorer/public/duyurugetir"
SERVER_ADDR
"217.195.207.230"
SERVER_ADMIN
"root@localhost"
SERVER_NAME
"safeplorer.xyz"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"safeplorer.xyz"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_DEBUG,APP_SECRET,DATABASE_URL"
UNIQUE_ID
"aALn4qJJNJH9WQuMuluJAQAAAQg"
USER
"safeplorer"
proxy-nokeepalive
"1"

Sub Requests 1

ErrorController (token = a55ecd)

Key Value
_controller
"error_controller"
_stopwatch_token
"a71f87"
exception
ErrorException {#553
  #message: "Warning: Undefined array key "USR_UserId""
  #code: 0
  #file: "/var/www/vhosts/safeplorer.xyz/public_html/safeplorer/src/Controller/Main/SafeplorerController.php"
  #line: 301
  #severity: E_WARNING
  trace: {
    /var/www/vhosts/safeplorer.xyz/public_html/safeplorer/src/Controller/Main/SafeplorerController.php:301 {
      App\Controller\Main\SafeplorerController->user_inf() …
      › //--------------------------------------------------------------$UserId = $_COOKIE['USR_UserId'];//$this->session->get('USR_UserId');//bu şekilde kullanmanın ne sakıncası var bilmiyorum??????
    }
    /var/www/vhosts/safeplorer.xyz/public_html/safeplorer/src/Controller/Ajax/AnnounceBoard/AnnounceBoardController.php:168 {
      App\Controller\Ajax\AnnounceBoard\AnnounceBoardController->GetAnnounce(Request $request) …
      › {\r    if (!$this->user_inf())  return new JsonResponse(array('code'=>405,'message'=>'Giriş Hatası'));\r    $locale=$this->SetLocale($request);\r
    }
    /var/www/vhosts/safeplorer.xyz/public_html/safeplorer/vendor/symfony/http-kernel/HttpKernel.php:166 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /var/www/vhosts/safeplorer.xyz/public_html/safeplorer/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/vhosts/safeplorer.xyz/public_html/safeplorer/vendor/symfony/http-kernel/Kernel.php:197 {
      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/vhosts/safeplorer.xyz/public_html/safeplorer/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/vhosts/safeplorer.xyz/public_html/safeplorer/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/vhosts/safeplorer.xyz/public_html/safeplorer/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/vhosts/safeplorer.xyz/public_html/safeplorer/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#312 …9}