Error 500 Internal Server Error

POST https://e-teach.granota.app/latido

Forwarded to ErrorController (f923a3)

LatidoController :: index

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"App\Controller\LatidoController::index"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"latido"
_route_params
[]
_security_authenticators
[]
_security_firewall_run
"_security_main"
_security_skipped_authenticators
[]
_stopwatch_token
"9d112c"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, deflate, br"
accept-language
"es-ES,es;q=0.9"
content-length
"77"
content-type
"application/json"
cookie
"main_deauth_profile_token=8febb2"
host
"e-teach.granota.app"
origin
"https://e-teach.granota.app"
referer
"https://e-teach.granota.app/live/teacher/01"
sec-fetch-dest
"empty"
sec-fetch-mode
"cors"
sec-fetch-site
"same-origin"
user-agent
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.14 Safari/605.1.15"
x-accel-internal
"/internal-nginx-static-location"
x-php-ob-level
"1"
x-real-ip
"83.42.209.189"

Request Content

Pretty

{
    "hash": "eHID010O3048",
    "servicio": "ADOS",
    "teacher": "01",
    "ip": "83.42.209.189"
}

Raw

{"hash":"eHID010O3048","servicio":"ADOS","teacher":"01","ip":"83.42.209.189"}

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Fri, 04 Sep 2026 15:31:18 GMT"
vary
"Accept"
x-debug-exception
"Warning%3A%20Undefined%20variable%20%24fechaHora"
x-debug-exception-file
"%2Fvar%2Fwww%2Fvhosts%2Fe-teach.granota.app%2Fhttpdocs%2Fsrc%2FController%2FLatidoController.php:31"
x-debug-token
"a69538"
x-debug-token-link
"https://e-teach.granota.app/_profiler/f923a3"
x-previous-debug-token
"f923a3"
x-robots-tag
"noindex"

Cookies

Request Cookies

Key Value
main_deauth_profile_token
"8febb2"

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
"34rL54Fdw23m3z"
APP_SHARE_DIR
"var/share"
DATABASE_URL
"mysql://ete2609u:U6Q9Td-jrmkv4-mf@localhost:3306/ete2609b?serverVersion=10.11.2-MariaDB&charset=utf8mb4"
DEFAULT_URI
"http://localhost"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
APP_PROJECT_DIR
"/var/www/vhosts/e-teach.granota.app/httpdocs"
APP_RUNTIME
"Symfony\Component\Runtime\SymfonyRuntime"
APP_RUNTIME_OPTIONS
[
  "project_dir" => "/var/www/vhosts/e-teach.granota.app/httpdocs"
]
BASE
"/public"
CONTENT_LENGTH
"77"
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/e-teach.granota.app/httpdocs"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/vhosts/e-teach.granota.app/httpdocs"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www/vhosts/e-teach.granota.app"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br"
HTTP_ACCEPT_LANGUAGE
"es-ES,es;q=0.9"
HTTP_COOKIE
"main_deauth_profile_token=8febb2"
HTTP_HOST
"e-teach.granota.app"
HTTP_ORIGIN
"https://e-teach.granota.app"
HTTP_REFERER
"https://e-teach.granota.app/live/teacher/01"
HTTP_SEC_FETCH_DEST
"empty"
HTTP_SEC_FETCH_MODE
"cors"
HTTP_SEC_FETCH_SITE
"same-origin"
HTTP_USER_AGENT
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.14 Safari/605.1.15"
HTTP_X_ACCEL_INTERNAL
"/internal-nginx-static-location"
HTTP_X_REAL_IP
"83.42.209.189"
PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin"
PHP_SELF
"/public/index.php"
QUERY_STRING
""
REDIRECT_BASE
"/public"
REDIRECT_HTTPS
"on"
REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_REDIRECT_HTTPS
"on"
REDIRECT_REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
REDIRECT_REDIRECT_SCRIPT_URI
"https://e-teach.granota.app/latido"
REDIRECT_REDIRECT_SCRIPT_URL
"/latido"
REDIRECT_REDIRECT_SSL_TLS_SNI
"e-teach.granota.app"
REDIRECT_REDIRECT_STATUS
"200"
REDIRECT_SCRIPT_URI
"https://e-teach.granota.app/latido"
REDIRECT_SCRIPT_URL
"/latido"
REDIRECT_SSL_TLS_SNI
"e-teach.granota.app"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/public/latido"
REMOTE_ADDR
"83.42.209.189"
REMOTE_PORT
"48950"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1788535878
REQUEST_TIME_FLOAT
1788535878.7796
REQUEST_URI
"/latido"
SCRIPT_FILENAME
"/var/www/vhosts/e-teach.granota.app/httpdocs/public/index.php"
SCRIPT_NAME
"/public/index.php"
SCRIPT_URI
"https://e-teach.granota.app/latido"
SCRIPT_URL
"/latido"
SERVER_ADDR
"217.154.179.251"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"e-teach.granota.app"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache Server at e-teach.granota.app Port 443</address>\n"
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"e-teach.granota.app"
SYMFONY_DOTENV_PATH
"/var/www/vhosts/e-teach.granota.app/httpdocs/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,APP_SHARE_DIR,DEFAULT_URI,DATABASE_URL"
USER
"eteacher.granota.app_wub5nvbqurc"
proxy-nokeepalive
"1"

Sub Requests 1

ErrorController (token = f923a3)

Key Value
_controller
"error_controller"
_stopwatch_token
"bd926a"
exception
ErrorException {#989
  #message: "Warning: Undefined variable $fechaHora"
  #code: 0
  #file: "/var/www/vhosts/e-teach.granota.app/httpdocs/src/Controller/LatidoController.php"
  #line: 31
  #severity: E_WARNING
  trace: {
    /var/www/vhosts/e-teach.granota.app/httpdocs/src/Controller/LatidoController.php:31 {
      App\Controller\LatidoController->index(Common $common, Request $request, EntityManagerInterface $entityManager): Response …
      ›     'hash' => $hash,    'fechahora' => $fechaHora->format('Y-m-d H:i:s'),]);
    }
    /var/www/vhosts/e-teach.granota.app/httpdocs/vendor/symfony/http-kernel/HttpKernel.php:183 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /var/www/vhosts/e-teach.granota.app/httpdocs/vendor/symfony/http-kernel/HttpKernel.php:76 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {
    }
    /var/www/vhosts/e-teach.granota.app/httpdocs/vendor/symfony/http-kernel/Kernel.php:193 {
      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/e-teach.granota.app/httpdocs/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);}
    /var/www/vhosts/e-teach.granota.app/httpdocs/vendor/autoload_runtime.php:32 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/vhosts/e-teach.granota.app/httpdocs/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/vhosts/e-teach.granota.app/httpdocs/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Processor\DebugProcessor {#82
  -records: [
    19 => [
      [
        "timestamp" => 1788535878
        "timestamp_rfc3339" => "2026-09-04T15:31:18.873+00:00"
        "message" => "Matched route "{route}"."
        "priority" => 200
        "priorityName" => "INFO"
        "context" => [
          "route" => "latido"
          "route_parameters" => [
            "_route" => "latido"
            "_controller" => "App\Controller\LatidoController::index"
          ]
          "request_uri" => "https://e-teach.granota.app/latido"
          "method" => "POST"
        ]
        "channel" => "request"
      ]
      [
        "timestamp" => 1788535878
        "timestamp_rfc3339" => "2026-09-04T15:31:18.877+00:00"
        "message" => "Checking for authenticator support."
        "priority" => 100
        "priorityName" => "DEBUG"
        "context" => [
          "firewall_name" => "main"
          "authenticators" => 0
        ]
        "channel" => "security"
      ]
      [
        "timestamp" => 1788535878
        "timestamp_rfc3339" => "2026-09-04T15:31:18.924+00:00"
        "message" => "Connecting with parameters {params}"
        "priority" => 200
        "priorityName" => "INFO"
        "context" => [
          "params" => [
            "use_savepoints" => true
            "driver" => "pdo_mysql"
            "idle_connection_ttl" => 600
            "host" => "localhost"
            "port" => 3306
            "user" => "ete2609u"
            "password" => "<redacted>"
            "driverOptions" => []
            "defaultTableOptions" => []
            "dbname" => "ete2609b"
            "serverVersion" => "10.11.2-MariaDB"
            "charset" => "utf8mb4"
          ]
        ]
        "channel" => "doctrine"
      ]
      [
        "timestamp" => 1788535878
        "timestamp_rfc3339" => "2026-09-04T15:31:18.927+00:00"
        "message" => "Executing statement: {sql} (parameters: {params}, types: {types})"
        "priority" => 100
        "priorityName" => "DEBUG"
        "context" => [
          "sql" => "SELECT s0_.id AS id_0, s0_.ip AS ip_1, s0_.inicio AS inicio_2, s0_.ultimo AS ultimo_3, s0_.teacher AS teacher_4, s0_.hash AS hash_5, s0_.servicio AS servicio_6 FROM sesiones s0_ WHERE s0_.hash = ?"
          "params" => [
            1 => "eHID010O3048"
          ]
          "types" => [
            1 => Doctrine\DBAL\ParameterType {#807
              +name: "STRING"
            }
          ]
        ]
        "channel" => "doctrine"
      ]
      [
        "timestamp" => 1788535878
        "timestamp_rfc3339" => "2026-09-04T15:31:18.931+00:00"
        "message" => "Beginning transaction"
        "priority" => 100
        "priorityName" => "DEBUG"
        "context" => []
        "channel" => "doctrine"
      ]
      [
        "timestamp" => 1788535878
        "timestamp_rfc3339" => "2026-09-04T15:31:18.933+00:00"
        "message" => "Executing statement: {sql} (parameters: {params}, types: {types})"
        "priority" => 100
        "priorityName" => "DEBUG"
        "context" => [
          "sql" => "UPDATE sesiones SET ultimo = ? WHERE id = ?"
          "params" => [
            1 => "2026-09-04 15:31:18"
            2 => 160
          ]
          "types" => [
            1 => Doctrine\DBAL\ParameterType {#807}
            2 => Doctrine\DBAL\ParameterType {#826
              +name: "INTEGER"
            }
          ]
        ]
        "channel" => "doctrine"
      ]
      [
        "timestamp" => 1788535878
        "timestamp_rfc3339" => "2026-09-04T15:31:18.934+00:00"
        "message" => "Committing transaction"
        "priority" => 100
        "priorityName" => "DEBUG"
        "context" => []
        "channel" => "doctrine"
      ]
      [
        "timestamp" => 1788535878
        "timestamp_rfc3339" => "2026-09-04T15:31:18.936+00:00"
        "message" => "Uncaught PHP Exception ErrorException: "Warning: Undefined variable $fechaHora" at LatidoController.php line 31"
        "priority" => 500
        "priorityName" => "CRITICAL"
        "context" => [
          "exception" => ErrorException {#989
            #message: "Warning: Undefined variable $fechaHora"
            #code: 0
            #file: "/var/www/vhosts/e-teach.granota.app/httpdocs/src/Controller/LatidoController.php"
            #line: 31
            #severity: E_WARNING
            trace: {
              /var/www/vhosts/e-teach.granota.app/httpdocs/src/Controller/LatidoController.php:31 {
                App\Controller\LatidoController->index(Common $common, Request $request, EntityManagerInterface $entityManager): Response …
                ›     'hash' => $hash,    'fechahora' => $fechaHora->format('Y-m-d H:i:s'),]);
              }
              /var/www/vhosts/e-teach.granota.app/httpdocs/vendor/symfony/http-kernel/HttpKernel.php:183 {
                Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
                › // call controller$response = $controller(...$arguments);}
              /var/www/vhosts/e-teach.granota.app/httpdocs/vendor/symfony/http-kernel/HttpKernel.php:76 {
                Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
                › try {    return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {
              }
              /var/www/vhosts/e-teach.granota.app/httpdocs/vendor/symfony/http-kernel/Kernel.php:193 {
                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/e-teach.granota.app/httpdocs/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34 {
                Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
                › {    $response = $this->kernel->handle($this->request);}
              /var/www/vhosts/e-teach.granota.app/httpdocs/vendor/autoload_runtime.php:32 {
                require_once …
                ›         ->getRunner($app)        ->run());
              }
              /var/www/vhosts/e-teach.granota.app/httpdocs/public/index.php:5 {
                › 
                › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
                  "/var/www/vhosts/e-teach.granota.app/httpdocs/vendor/autoload_runtime.php"
                }
              }
            }
          }
        ]
        "channel" => "request"
      ]
    ]
  ]
  -errorCount: [
    19 => 1
  ]
  -requestStack: Symfony\Component\HttpKernel\Debug\VirtualRequestStack {#49 …}
}