Error 500 Internal Server Error

GET https://influetesaguaazul.com.br/webhookVtex

ErrorController

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"error_controller"
_stopwatch_token
"b075b1"
exception
ErrorException {#557
  #message: "Warning: Undefined array key 0"
  #code: 0
  #file: "/home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/src/Controller/SecurityController.php"
  #line: 157
  #severity: E_WARNING
  trace: {
    /home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/src/Controller/SecurityController.php:157 {
      App\Controller\SecurityController->getOrderData(string $orderId): array …
      › 'categoryIdsSku' => $key['additionalInfo']['categories']['0']['name'],'skuSellingPrice' => $key['price'] + $key['priceTags']['0']['value'],'detailUrl' => $key['detailUrl'],
    }
    /home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/src/Controller/SecurityController.php:65 {
      App\Controller\SecurityController->processWebhook(array $payload, EntityManagerInterface $entityManager, VtexDataRepository $vtexDataRepository): array …
      › $originKey = $payload['Origin']['Key'] ?? 'Não especificado';$dadosSalvar = $this->getOrderData($orderId);$array = [];
    }
    /home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/src/Controller/SecurityController.php:43 {
      App\Controller\SecurityController->webhookVtex(Request $request, EntityManagerInterface $entityManager, VtexDataRepository $vtexDataRepository): JsonResponse …
      › // Processa o payload$response = $this->processWebhook($data, $entityManager, $vtexDataRepository);return new JsonResponse($response);
    }
    /home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/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);}
    /home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/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) {
    }
    /home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/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 {
    }
    /home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
    }
    /home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#90 …9}

Request Headers

Header Value
accept-encoding
"gzip"
baggage
"sampleRate=0.2,vtex_trace=true"
content-length
"243"
content-type
"application/json; charset=utf-8"
host
"influetesaguaazul.com.br"
key
"value"
traceparent
"00-17c3547b718272a5b27c2ada20f7530c-42def2216bc69abf-01"
x-forwarded-for
"54.197.21.180"
x-forwarded-port
"443"
x-forwarded-proto
"https"
x-lscache
"1"
x-php-ob-level
"1"
x-port
"443"
x-real-ip
"54.197.21.180"
x-real-port
"65382"

Request Content

Raw

{"Domain":"OrdersDocumentUpdated","OrderId":"1485090628607-01","State":"invoiced","LastState":null,"LastChange":"2024-12-20T13:15:32.8507533","CurrentChange":"0001-01-01T00:00:00","Origin":{"Account":"tfcxa2","Key":"vtexappkey-tfcxa2-VKFXGO"}}

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Mon, 23 Dec 2024 00:06:27 GMT"
x-debug-exception
"Warning%3A%20Undefined%20array%20key%200"
x-debug-exception-file
"%2Fhome%2Fu187857550%2Fdomains%2Finfluetesaguaazul.com.br%2Fpublic_html%2Fdashboard%2Fsrc%2FController%2FSecurityController.php:157"
x-debug-token
"c033f0"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session 1

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

1 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:41
[
  [
    "file" => "/home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 41
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/vendor/symfony/security-http/Authenticator/RememberMeAuthenticator.php"
    "line" => 64
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/vendor/symfony/security-http/Authentication/AuthenticatorManager.php"
    "line" => 111
    "function" => "supports"
    "class" => "Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator"
    "type" => "->"
  ]
  [
    "file" => "/home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/vendor/symfony/security-http/Firewall/AuthenticatorManagerListener.php"
    "line" => 34
    "function" => "supports"
    "class" => "Symfony\Component\Security\Http\Authentication\AuthenticatorManager"
    "type" => "->"
  ]
  [
    "file" => "/home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/vendor/symfony/security-http/Authenticator/Debug/TraceableAuthenticatorManagerListener.php"
    "line" => 39
    "function" => "supports"
    "class" => "Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener"
    "type" => "->"
  ]
  [
    "file" => "/home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php"
    "line" => 38
    "function" => "supports"
    "class" => "Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticatorManagerListener"
    "type" => "->"
  ]
  [
    "file" => "/home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/vendor/symfony/security-http/Firewall/AbstractListener.php"
    "line" => 25
    "function" => "supports"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
    "type" => "->"
  ]
  [
    "file" => "/home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/vendor/symfony/security-bundle/Security/LazyFirewallContext.php"
    "line" => 60
    "function" => "__invoke"
    "class" => "Symfony\Component\Security\Http\Firewall\AbstractListener"
    "type" => "->"
  ]
  [
    "file" => "/home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php"
    "line" => 73
    "function" => "__invoke"
    "class" => "Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext"
    "type" => "->"
  ]
  [
    "file" => "/home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/vendor/symfony/security-http/Firewall.php"
    "line" => 95
    "function" => "callListeners"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
    "type" => "->"
  ]
  [
    "file" => "/home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 116
    "function" => "onKernelRequest"
    "class" => "Symfony\Component\Security\Http\Firewall"
    "type" => "->"
  ]
  [
    "file" => "/home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 220
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 56
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 139
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 142
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 74
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/vendor/symfony/http-kernel/Kernel.php"
    "line" => 197
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/public/index.php"
    "line" => 5
    "args" => [
      "/home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"498affc79002f39a970d1690c886b522"
DATABASE_URL
"mysql://u187857550_slim:Aguete10@@localhost/u187857550_influetes?charset=utf8mb4"
MAILER_DSN
"mailjet+api://1b3361a7ff084d3daf8c8c430142f89f:517748bcfe404cb595d47047f2ebb025@api.mailjet.com"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
BASE
"/dashboard/public"
CONTENT_LENGTH
"243"
CONTENT_TYPE
"application/json; charset=utf-8"
CRAWLER_LOAD_LIMIT_ENFORCE
"25"
CRAWLER_USLEEP
"1000"
DOCUMENT_ROOT
"/home/u187857550/domains/influetesaguaazul.com.br/public_html"
HTTPS
"on"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_BAGGAGE
"sampleRate=0.2,vtex_trace=true"
HTTP_HOST
"influetesaguaazul.com.br"
HTTP_KEY
"value"
HTTP_TRACEPARENT
"00-17c3547b718272a5b27c2ada20f7530c-42def2216bc69abf-01"
HTTP_X_FORWARDED_FOR
"54.197.21.180"
HTTP_X_FORWARDED_PORT
"443"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_LSCACHE
"1"
HTTP_X_PORT
"443"
HTTP_X_REAL_IP
"54.197.21.180"
HTTP_X_REAL_PORT
"65382"
H_CANARY
"false"
H_PLATFORM
"Hostinger"
H_STAGING
"false"
H_TYPE
"shared"
LSPHP_ProcessGroup
"on"
PATH
"/usr/local/bin:/bin:/usr/bin"
PHP_SELF
"/dashboard/public/index.php"
PROXY_REMOTE_ADDR
"2a02:4780:1:22::2"
QUERY_STRING
""
REDIRECT_REQUEST_METHOD
"POST"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/dashboard/public/webhookVtex"
REMOTE_ADDR
"54.197.21.180"
REMOTE_PORT
"52254"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1734912386
REQUEST_TIME_FLOAT
1734912386.8002
REQUEST_URI
"/webhookVtex"
SCRIPT_FILENAME
"/home/u187857550/domains/influetesaguaazul.com.br/public_html/dashboard/public/index.php"
SCRIPT_NAME
"/dashboard/public/index.php"
SCRIPT_URI
"https://influetesaguaazul.com.br/webhookVtex"
SCRIPT_URL
"/webhookVtex"
SERVER_ADDR
"2a02:4780:13:1177:0:b32:7a8e:2"
SERVER_ADMIN
""
SERVER_NAME
"influetesaguaazul.com.br"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"LiteSpeed"
SSL_CIPHER
"TLS_AES_256_GCM_SHA384"
SSL_CIPHER_ALGKEYSIZE
"256"
SSL_CIPHER_USEKEYSIZE
"256"
SSL_PROTOCOL
"TLSv1.3"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,MAILER_DSN"
X-LSCACHE
"on,crawler,esi,combine"

Parent Request

Return to parent request (token = 5ffc81)

Key Value
_controller
"App\Controller\SecurityController::webhookVtex"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"webhookVtex"
_route_params
[]
_security_firewall_run
"_security_main"
_stopwatch_token
"7210ed"