https://api.routeplanner.app/api/locations?page%253D1%2526slug%253Drobots_txt=%3D

ErrorController

Request

GET Parameters

Key Value
page%3D1%26slug%3Drobots_txt
"="

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"error_controller"
exception
Symfony\Component\Serializer\Exception\NotEncodableValueException {#987
  #message: "Serialization for the format "html" is not supported."
  #code: 0
  #file: "/var/www/routemap2020/vendor/symfony/serializer/Serializer.php"
  #line: 123
  trace: {
    /var/www/routemap2020/vendor/symfony/serializer/Serializer.php:123 {
      Symfony\Component\Serializer\Serializer->serialize($data, string $format, array $context = []): string …
      › if (!$this->supportsEncoding($format, $context)) {    throw new NotEncodableValueException(sprintf('Serialization for the format "%s" is not supported.', $format));}
    }
    /var/www/routemap2020/vendor/api-platform/core/src/EventListener/SerializeListener.php:95 {
      ApiPlatform\Core\EventListener\SerializeListener->onKernelView(ViewEvent $event): void …
      › 
      › $event->setControllerResult($this->serializer->serialize($controllerResult, $request->getRequestFormat(), $context));}
    /var/www/routemap2020/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117 {
      Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
      › 
      › ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);}
    /var/www/routemap2020/vendor/symfony/event-dispatcher/EventDispatcher.php:230 {
      Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
      ›     }    $listener($event, $eventName, $this);}
    }
    /var/www/routemap2020/vendor/symfony/event-dispatcher/EventDispatcher.php:59 {
      Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object $event, string $eventName = null): object …
      › if ($listeners) {    $this->callListeners($listeners, $eventName, $event);}
    }
    /var/www/routemap2020/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:151 {
      Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
      › try {    $this->dispatcher->dispatch($event, $eventName);} finally {
    }
    /var/www/routemap2020/vendor/symfony/http-kernel/HttpKernel.php:162 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
      › $event = new ViewEvent($this, $request, $type, $response);$this->dispatcher->dispatch($event, KernelEvents::VIEW);}
    /var/www/routemap2020/vendor/symfony/http-kernel/HttpKernel.php:79 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
    }
    /var/www/routemap2020/vendor/symfony/http-kernel/Kernel.php:196 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /var/www/routemap2020/public/index.php:25 {$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#204 …6}

Request Headers

Header Value
accept
"text/html,application/xhtml+xml,application/xml;q=0.9,image/heif,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
accept-encoding
"gzip, br"
accept-language
"en-US,en;q=0.5"
cdn-loop
"cloudflare; loops=1"
cf-connecting-ip
"47.128.57.1"
cf-ipcountry
"SG"
cf-ray
"8e793f376a10601a-SIN"
cf-visitor
"{"scheme":"https"}"
content-length
""
content-type
""
host
"api.routeplanner.app"
sec-fetch-dest
"document"
sec-fetch-mode
"navigate"
sec-fetch-site
"none"
sec-fetch-user
"?1"
upgrade-insecure-requests
"1"
user-agent
"Mozilla/5.0 (Linux; Android 5.0) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; Bytespider; [email protected])"
x-forwarded-for
"47.128.57.1"
x-forwarded-proto
"https"
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
"Sun, 24 Nov 2024 12:01:54 GMT"
x-debug-exception
"Serialization%20for%20the%20format%20%22html%22%20is%20not%20supported."
x-debug-exception-file
"%2Fvar%2Fwww%2Froutemap2020%2Fvendor%2Fsymfony%2Fserializer%2FSerializer.php:123"
x-debug-token
"fc1c31"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
CORS_ALLOW_ORIGIN
"^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$"
DATABASE_URL
"mysql://routemap2020:[email protected]:3306/routemap2020"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
APP_ENV
"dev"
APP_SECRET
"HASH-HA81-shas-17sh-j.27-ashH-818A-YYY"
CONTENT_LENGTH
""
CONTENT_TYPE
""
DOCUMENT_ROOT
"/var/www/routemap2020/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www"
HTTPS
"on"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,image/heif,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
HTTP_ACCEPT_ENCODING
"gzip, br"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.5"
HTTP_CDN_LOOP
"cloudflare; loops=1"
HTTP_CF_CONNECTING_IP
"47.128.57.1"
HTTP_CF_IPCOUNTRY
"SG"
HTTP_CF_RAY
"8e793f376a10601a-SIN"
HTTP_CF_VISITOR
"{"scheme":"https"}"
HTTP_HOST
"api.routeplanner.app"
HTTP_SEC_FETCH_DEST
"document"
HTTP_SEC_FETCH_MODE
"navigate"
HTTP_SEC_FETCH_SITE
"none"
HTTP_SEC_FETCH_USER
"?1"
HTTP_UPGRADE_INSECURE_REQUESTS
"1"
HTTP_USER_AGENT
"Mozilla/5.0 (Linux; Android 5.0) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; Bytespider; [email protected])"
HTTP_X_FORWARDED_FOR
"47.128.57.1"
HTTP_X_FORWARDED_PROTO
"https"
PHP_SELF
"/index.php"
QUERY_STRING
"page%253D1%2526slug%253Drobots_txt=="
REDIRECT_STATUS
"200"
REMOTE_ADDR
"172.70.142.98"
REMOTE_PORT
"62440"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1732449714
REQUEST_TIME_FLOAT
1732449714.5494
REQUEST_URI
"/api/locations?page%253D1%2526slug%253Drobots_txt=="
SCRIPT_FILENAME
"/var/www/routemap2020/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"95.216.160.80"
SERVER_NAME
"api.routeplanner.app"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/2.0"
SERVER_SOFTWARE
"nginx/1.18.0"
SYMFONY_DOTENV_VARS
"DATABASE_URL,CORS_ALLOW_ORIGIN"
USER
"www-data"

Parent Request

Return to parent request (token = 53313b)

Key Value
_api_collection_operation_name
"get"
_api_normalization_context
[
  "groups" => [
    "location:list"
    "popular"
  ]
  "operation_type" => "collection"
  "collection_operation_name" => "get"
  "resource_class" => "App\Entity\Location"
  "input" => null
  "output" => null
  "request_uri" => "/api/locations?page%253D1%2526slug%253Drobots_txt=="
  "uri" => "https://api.routeplanner.app/api/locations?page%253D1%2526slug%253Drobots_txt=%3D"
  "resources" => ApiPlatform\Core\Serializer\ResourceList {#985
    -storage: []
    flag::STD_PROP_LIST: false
    flag::ARRAY_AS_PROPS: false
    iteratorClass: "ArrayIterator"
  }
  "exclude_from_cache_key" => [
    "resources"
    "resources_to_push"
  ]
  "resources_to_push" => ApiPlatform\Core\Serializer\ResourceList {#986
    -storage: []
    flag::STD_PROP_LIST: false
    flag::ARRAY_AS_PROPS: false
    iteratorClass: "ArrayIterator"
  }
]
_api_resource_class
"App\Entity\Location"
_controller
"api_platform.action.get_collection"
_firewall_context
"security.firewall.map.context.main"
_format
null
_remove_csp_headers
true
_route
"api_locations_get_collection"
_route_params
[
  "_format" => null
  "_api_resource_class" => "App\Entity\Location"
  "_api_collection_operation_name" => "get"
]
data
ApiPlatform\Core\Bridge\Doctrine\Orm\Paginator {#893
  -totalItems: null
  #paginator: Doctrine\ORM\Tools\Pagination\Paginator {#892 …}
  #iterator: null
  #firstResult: 0
  #maxResults: 30
}