Error 500 Internal Server Error

GET https://gobeletapi.devazapp.fr/api/categorie/theme

ErrorController

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"error_controller"
_stopwatch_token
"678d18"
exception
TypeError {#772
  #message: "Symfony\Component\Asset\Packages::getUrl(): Argument #1 ($path) must be of type string, null given, called in /home/gobeletapi/public/src/Controller/ApiThemeCategorieController.php on line 26"
  #code: 0
  #file: "/home/gobeletapi/public/vendor/symfony/asset/Packages.php"
  #line: 96
  trace: {
    /home/gobeletapi/public/vendor/symfony/asset/Packages.php:96 {
      Symfony\Component\Asset\Packages->getUrl(string $path, string $packageName = null): string …
      ›  */public function getUrl(string $path, string $packageName = null): string{
    }
    /home/gobeletapi/public/src/Controller/ApiThemeCategorieController.php:26 {
      App\Controller\ApiThemeCategorieController->index(ThemeCategorieRepository $ThemeCategorieRepository, ThemeSousCategorieRepository $ThemeSousCategorieRepository, RequestStack $requestStack, Packages $packages): Response …
      › $baseUrl = $requestStack->getCurrentRequest()->getSchemeAndHttpHost();$imageUrl = $baseUrl . $packages->getUrl( $categorie['image']);}
    /home/gobeletapi/public/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);}
    /home/gobeletapi/public/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/gobeletapi/public/vendor/symfony/http-kernel/Kernel.php:184 {
      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/gobeletapi/public/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/gobeletapi/public/vendor/autoload_runtime.php:29 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /home/gobeletapi/public/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/home/gobeletapi/public/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#28 …9}

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, zstd, deflate"
content-length
""
content-type
""
host
"gobeletapi.devazapp.fr"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
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
"Thu, 12 Feb 2026 17:33:12 GMT"
x-debug-exception
"Symfony%5CComponent%5CAsset%5CPackages%3A%3AgetUrl%28%29%3A%20Argument%20%231%20%28%24path%29%20must%20be%20of%20type%20string%2C%20null%20given%2C%20called%20in%20%2Fhome%2Fgobeletapi%2Fpublic%2Fsrc%2FController%2FApiThemeCategorieController.php%20on%20line%2026"
x-debug-exception-file
"%2Fhome%2Fgobeletapi%2Fpublic%2Fvendor%2Fsymfony%2Fasset%2FPackages.php:96"
x-debug-token
"4f5a8c"

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_ENV
"dev"
APP_SECRET
"4fcf58ea3fdeb6da9977fcd6415adfdf"
CORS_ALLOW_ORIGIN
"^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$"
DATABASE_URL
"mysql://gobeletapi:ucFQVQGF9z27Fpj@localhost/gobeletapi_devazapp_fr?serverVersion=mariadb-10.3.38"
JWT_PASSPHRASE
"1106271ff31d4c756dcdec1896babee2"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
""
CONTENT_TYPE
""
DOCUMENT_ROOT
"/home/gobeletapi/public/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/home/gobeletapi"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_HOST
"gobeletapi.devazapp.fr"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
PATH_INFO
""
PHP_SELF
"/index.php"
QUERY_STRING
""
REMOTE_ADDR
"216.73.216.122"
REMOTE_PORT
"43992"
REQUEST_METHOD
"GET"
REQUEST_TIME
1770917592
REQUEST_TIME_FLOAT
1770917592.8182
REQUEST_URI
"/api/categorie/theme"
SCRIPT_FILENAME
"/home/gobeletapi/public/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"87.98.186.145"
SERVER_NAME
"gobeletapi.devazapp.fr"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/2.0"
SERVER_SOFTWARE
"nginx"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,MESSENGER_TRANSPORT_DSN,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,CORS_ALLOW_ORIGIN"
USER
"gobeletapi"

Parent Request

Return to parent request (token = fd2b6c)

Key Value
_controller
"App\Controller\ApiThemeCategorieController::index"
_firewall_context
"security.firewall.map.context.api"
_remove_csp_headers
true
_route
"api__theme_categorie"
_route_params
[]
_stopwatch_token
"88da1a"