https://api.abidjan.net/views-counter/poisson-a-la-maniere-d-ariane

Serializer

1 Handled
10.06 ms Total time

serialize 1

Data Context Normalizer Encoder Time
Symfony\Component\ErrorHandler\Exception\FlattenException
Show contents
Symfony\Component\ErrorHandler\Exception\FlattenException {#1251
  -message: """
    Attempted to load class "Detect" from the global namespace.\n
    Did you forget a "use" statement?
    """
  -code: 0
  -previous: null
  -trace: [
    [
      "namespace" => ""
      "short_class" => ""
      "class" => ""
      "type" => ""
      "function" => ""
      "file" => "/var/www/vhosts/api.abidjan.net/httpdocs/src/Controller/FrontController.php"
      "line" => 39
      "args" => []
    ]
    [
      "namespace" => "App\Controller"
      "short_class" => "FrontController"
      "class" => "App\Controller\FrontController"
      "type" => "->"
      "function" => "countView"
      "file" => "/var/www/vhosts/api.abidjan.net/httpdocs/vendor/symfony/http-kernel/HttpKernel.php"
      "line" => 163
      "args" => []
    ]
    [
      "namespace" => "Symfony\Component\HttpKernel"
      "short_class" => "HttpKernel"
      "class" => "Symfony\Component\HttpKernel\HttpKernel"
      "type" => "->"
      "function" => "handleRaw"
      "file" => "/var/www/vhosts/api.abidjan.net/httpdocs/vendor/symfony/http-kernel/HttpKernel.php"
      "line" => 75
      "args" => []
    ]
    [
      "namespace" => "Symfony\Component\HttpKernel"
      "short_class" => "HttpKernel"
      "class" => "Symfony\Component\HttpKernel\HttpKernel"
      "type" => "->"
      "function" => "handle"
      "file" => "/var/www/vhosts/api.abidjan.net/httpdocs/vendor/symfony/http-kernel/Kernel.php"
      "line" => 202
      "args" => []
    ]
    [
      "namespace" => "Symfony\Component\HttpKernel"
      "short_class" => "Kernel"
      "class" => "Symfony\Component\HttpKernel\Kernel"
      "type" => "->"
      "function" => "handle"
      "file" => "/var/www/vhosts/api.abidjan.net/httpdocs/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
      "line" => 35
      "args" => []
    ]
    [
      "namespace" => "Symfony\Component\Runtime\Runner\Symfony"
      "short_class" => "HttpKernelRunner"
      "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
      "type" => "->"
      "function" => "run"
      "file" => "/var/www/vhosts/api.abidjan.net/httpdocs/vendor/autoload_runtime.php"
      "line" => 29
      "args" => []
    ]
    [
      "namespace" => ""
      "short_class" => ""
      "class" => ""
      "type" => ""
      "function" => "require_once"
      "file" => "/var/www/vhosts/api.abidjan.net/httpdocs/public/index.php"
      "line" => 5
      "args" => [
        [
          "string"
          "/var/www/vhosts/api.abidjan.net/httpdocs/vendor/autoload_runtime.php"
        ]
      ]
    ]
  ]
  -traceAsString: """
    #0 /var/www/vhosts/api.abidjan.net/httpdocs/vendor/symfony/http-kernel/HttpKernel.php(163): App\Controller\FrontController->countView()\n
    #1 /var/www/vhosts/api.abidjan.net/httpdocs/vendor/symfony/http-kernel/HttpKernel.php(75): Symfony\Component\HttpKernel\HttpKernel->handleRaw()\n
    #2 /var/www/vhosts/api.abidjan.net/httpdocs/vendor/symfony/http-kernel/Kernel.php(202): Symfony\Component\HttpKernel\HttpKernel->handle()\n
    #3 /var/www/vhosts/api.abidjan.net/httpdocs/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php(35): Symfony\Component\HttpKernel\Kernel->handle()\n
    #4 /var/www/vhosts/api.abidjan.net/httpdocs/vendor/autoload_runtime.php(29): Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()\n
    #5 /var/www/vhosts/api.abidjan.net/httpdocs/public/index.php(5): require_once('...')\n
    #6 {main}
    """
  -class: "Symfony\Component\ErrorHandler\Error\ClassNotFoundError"
  -statusCode: 500
  -statusText: "Internal Server Error"
  -headers: [
    "X-Debug-Exception" => "Attempted%20to%20load%20class%20%22Detect%22%20from%20the%20global%20namespace.%0ADid%20you%20forget%20a%20%22use%22%20statement%3F"
    "X-Debug-Exception-File" => "%2Fvar%2Fwww%2Fvhosts%2Fapi.abidjan.net%2Fhttpdocs%2Fsrc%2FController%2FFrontController.php:39"
    "Content-Type" => "application/json"
    "Vary" => "Accept"
  ]
  -file: "/var/www/vhosts/api.abidjan.net/httpdocs/src/Controller/FrontController.php"
  -line: 39
  -asString: "{"type":"https:\/\/tools.ietf.org\/html\/rfc2616#section-10","title":"An error occurred","status":500,"detail":"Attempted to load class \"Detect\" from the global namespace.\nDid you forget a \"use\" statement?","class":"Symfony\\Component\\ErrorHandler\\Error\\ClassNotFoundError","trace":[{"namespace":"","short_class":"","class":"","type":"","function":"","file":"\/var\/www\/vhosts\/api.abidjan.net\/httpdocs\/src\/Controller\/FrontController.php","line":39,"args":[]},{"namespace":"App\\Controller","short_class":"FrontController","class":"App\\Controller\\FrontController","type":"->","function":"countView","file":"\/var\/www\/vhosts\/api.abidjan.net\/httpdocs\/vendor\/symfony\/http-kernel\/HttpKernel.php","line":163,"args":[]},{"namespace":"Symfony\\Component\\HttpKernel","short_class":"HttpKernel","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->","function":"handleRaw","file":"\/var\/www\/vhosts\/api.abidjan.net\/httpdocs\/vendor\/symfony\/http-kernel\/HttpKernel.php","line":75,"args":[]},{"namespace":"Symfony\\Component\\HttpKernel","short_class":"HttpKernel","class":"Symfony\\Component\\HttpKernel\\HttpKernel","type":"->","function":"handle","file":"\/var\/www\/vhosts\/api.abidjan.net\/httpdocs\/vendor\/symfony\/http-kernel\/Kernel.php","line":202,"args":[]},{"namespace":"Symfony\\Component\\HttpKernel","short_class":"Kernel","class":"Symfony\\Component\\HttpKernel\\Kernel","type":"->","function":"handle","file":"\/var\/www\/vhosts\/api.abidjan.net\/httpdocs\/vendor\/symfony\/runtime\/Runner\/Symfony\/HttpKernelRunner.php","line":35,"args":[]},{"namespace":"Symfony\\Component\\Runtime\\Runner\\Symfony","short_class":"HttpKernelRunner","class":"Symfony\\Component\\Runtime\\Runner\\Symfony\\HttpKernelRunner","type":"->","function":"run","file":"\/var\/www\/vhosts\/api.abidjan.net\/httpdocs\/vendor\/autoload_runtime.php","line":29,"args":[]},{"namespace":"","short_class":"","class":"","type":"","function":"require_once","file":"\/var\/www\/vhosts\/api.abidjan.net\/httpdocs\/public\/index.php","line":5,"args":[["string","\/var\/www\/vhosts\/api.abidjan.net\/httpdocs\/vendor\/autoload_runtime.php"]]}]}"
}
Format: json
Show context
[
  "exception" => Symfony\Component\ErrorHandler\Error\ClassNotFoundError {#885
    #message: """
      Attempted to load class "Detect" from the global namespace.\n
      Did you forget a "use" statement?
      """
    #code: 0
    #file: "/var/www/vhosts/api.abidjan.net/httpdocs/src/Controller/FrontController.php"
    #line: 39
    trace: {
      /var/www/vhosts/api.abidjan.net/httpdocs/src/Controller/FrontController.php:39 {
        App\Controller\FrontController->countView($slug) …
        › 
        › $ip = Detect::ip(); $deviceType = Detect::deviceType(); 
      }
      /var/www/vhosts/api.abidjan.net/httpdocs/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/vhosts/api.abidjan.net/httpdocs/vendor/symfony/http-kernel/HttpKernel.php:75 {
        Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
        › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
      }
      /var/www/vhosts/api.abidjan.net/httpdocs/vendor/symfony/http-kernel/Kernel.php:202 {
        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/api.abidjan.net/httpdocs/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/api.abidjan.net/httpdocs/vendor/autoload_runtime.php:29 {
        require_once …
        ›         ->getRunner($app)        ->run());
      }
      /var/www/vhosts/api.abidjan.net/httpdocs/public/index.php:5 {
        › 
        › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
          "/var/www/vhosts/api.abidjan.net/httpdocs/vendor/autoload_runtime.php"
        }
      }
    }
  }
  "debug" => true
]
ProblemNormalizer (0.00 ms) JsonEncoder (0.02 ms) 10.06 ms

deserialize 0

Nothing was deserialized.

normalize 0

Nothing was normalized.

denormalize 0

Nothing was denormalized.

encode 0

Nothing was encoded.

decode 0

Nothing was decoded.