Error 500 Internal Server Error

GET https://www.e-commerce.it.com/shop

Forwarded to ErrorController (dd5075)

ShopController :: index

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"App\Controller\ShopController::index"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"app_shop"
_route_params
[]
_security_authenticators
[]
_security_firewall_run
"_security_main"
_security_skipped_authenticators
[
  Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#765
    -supports: false
    -passport: null
    -duration: null
    -stub: "Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator"
    -authenticated: null
    -exception: null
    -authenticator: Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator {#695 …}
  }
  Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#767
    -supports: false
    -passport: null
    -duration: null
    -stub: "Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator"
    -authenticated: null
    -exception: null
    -authenticator: Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator {#768 …}
  }
]
_stopwatch_token
"6d6076"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, zstd, deflate"
host
"www.e-commerce.it.com"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
x-php-ob-level
"0"

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, 19 Mar 2026 12:16:38 GMT"
set-cookie
[
  "main_deauth_profile_token=dd5075; path=/; secure; httponly; samesite=lax"
  "main_auth_profile_token=deleted; expires=Wed, 19 Mar 2025 12:16:37 GMT; Max-Age=0; path=/; httponly"
]
vary
"Accept"
x-debug-exception
"Undefined%20method%20%22findAllAvailable%22.%20The%20method%20name%20must%20start%20with%20either%20findBy%2C%20findOneBy%20or%20countBy%21"
x-debug-exception-file
"%2Fvar%2Fwww%2Fhtml%2Fvendor%2Fdoctrine%2Form%2Fsrc%2FEntityRepository.php:165"
x-debug-token
"e9964f"
x-debug-token-link
"https://www.e-commerce.it.com/_profiler/dd5075"
x-previous-debug-token
"dd5075"
x-robots-tag
"noindex"

Cookies

Request Cookies

No request cookies

Response Cookies

Key Value
main_auth_profile_token
Symfony\Component\HttpFoundation\Cookie {#1551
  #expire: 1
  #path: "/"
  -sameSite: null
  -secureDefault: true
  #name: "main_auth_profile_token"
  #value: null
  #domain: null
  #secure: false
  #httpOnly: true
  -raw: false
  -partitioned: false
}
main_deauth_profile_token
Symfony\Component\HttpFoundation\Cookie {#197
  #expire: 0
  #path: "/"
  -sameSite: "lax"
  -secureDefault: true
  #name: "main_deauth_profile_token"
  #value: "dd5075"
  #domain: null
  #secure: null
  #httpOnly: true
  -raw: false
  -partitioned: false
}

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
"4c874e35376a393e566f1f75a8c5b676"
CORS_ALLOW_ORIGIN
"^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$"
DATABASE_URL
"postgresql://app:secret123@database:5432/app?serverVersion=16&charset=utf8"
DEFAULT_URI
"http://68.183.67.77:8080"
GITHUB_CLIENT_ID
"Ov23liQXUIeP5OD2ttEa"
GITHUB_CLIENT_SECRET
"6f2a4bbb60a075a488837cc1f209ad54e1618f17"
GITHUB_REDIRECT_URI
"https://e-commerce.it.com/auth/github/callback"
GOOGLE_CLIENT_ID
"182198539789-i4iqoukr9a1gi7u1du4gtq532ihf5jnc.apps.googleusercontent.com"
GOOGLE_CLIENT_SECRET
"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"
GOOGLE_REDIRECT_URI
"https://e-commerce.it.com/auth/google/callback"
JWT_PASSPHRASE
"bdadf87249f41945fed1700f70e77ec30c6fe22bf056237b30e264b0f1a5683b"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
MAILER_DSN
"null://null"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
POSTGRES_DB
"app"
POSTGRES_PASSWORD
"secret123"
POSTGRES_USER
"app"
POSTGRES_VERSION
"16"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
APP_PROJECT_DIR
"/var/www/html"
APP_RUNTIME
"Symfony\Component\Runtime\SymfonyRuntime"
APP_RUNTIME_OPTIONS
[
  "project_dir" => "/var/www/html"
]
CONTENT_LENGTH
""
CONTENT_TYPE
""
DOCUMENT_ROOT
"/var/www/html/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
GPG_KEYS
"39B641343D8C104B2B146DC3F9C39DC0B9698544 E60913E4DF209907D8E30D96659A97C9CF2A795A 1198C0117593497A5EC5C199286AF1F9897469DC"
HOME
"/home/www-data"
HOSTNAME
"b89aec91b65b"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_HOST
"www.e-commerce.it.com"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHPIZE_DEPS
"autoconf \t\tdpkg-dev dpkg \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkgconf \t\tre2c"
PHP_ASC_URL
"https://www.php.net/distributions/php-8.2.30.tar.xz.asc"
PHP_CFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PHP_CPPFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
PHP_INI_DIR
"/usr/local/etc/php"
PHP_LDFLAGS
"-Wl,-O1 -pie"
PHP_SELF
"/index.php"
PHP_SHA256
"bc90523e17af4db46157e75d0c9ef0b9d0030b0514e62c26ba7b513b8c4eb015"
PHP_URL
"https://www.php.net/distributions/php-8.2.30.tar.xz"
PHP_VERSION
"8.2.30"
PWD
"/var/www/html"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"216.73.216.214"
REMOTE_PORT
"43539"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1773922598
REQUEST_TIME_FLOAT
1773922598.3468
REQUEST_URI
"/shop"
SCRIPT_FILENAME
"/var/www/html/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"172.18.0.3"
SERVER_NAME
"e-commerce.it.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/2.0"
SERVER_SOFTWARE
"nginx/1.29.6"
SHLVL
"2"
SYMFONY_DOTENV_PATH
"/var/www/html/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DEFAULT_URI,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN,CORS_ALLOW_ORIGIN,POSTGRES_VERSION,POSTGRES_DB,POSTGRES_USER,POSTGRES_PASSWORD,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,GOOGLE_CLIENT_ID,GOOGLE_CLIENT_SECRET,GOOGLE_REDIRECT_URI,GITHUB_CLIENT_ID,GITHUB_CLIENT_SECRET,GITHUB_REDIRECT_URI"
USER
"www-data"
argc
0
argv
[]

Sub Requests 1

ErrorController (token = dd5075)

Key Value
_controller
"error_controller"
_stopwatch_token
"724b38"
exception
BadMethodCallException {#1082
  #message: "Undefined method "findAllAvailable". The method name must start with either findBy, findOneBy or countBy!"
  #code: 0
  #file: "/var/www/html/vendor/doctrine/orm/src/EntityRepository.php"
  #line: 165
  trace: {
    /var/www/html/vendor/doctrine/orm/src/EntityRepository.php:165 {
      Doctrine\ORM\EntityRepository->__call(string $method, array $arguments): mixed …
      › 
      › throw new BadMethodCallException(sprintf(    'Undefined method "%s". The method name must start with ' .
    }
    /var/www/html/vendor/doctrine/doctrine-bundle/src/Repository/ServiceEntityRepositoryProxy.php:95 {
      Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepositoryProxy->__call(string $method, array $arguments): mixed …
      › {    return ($this->repository ??= $this->resolveRepository())->$method(...$arguments);}
      arguments: {
        $method: "findAllAvailable"
        $arguments: []
      }
    }
    /var/www/html/src/Controller/ShopController.php:18 {
      App\Controller\ShopController->index(ProductRepository $productRepository, CategoryRepository $categoryRepository): Response …
      › ): Response {    $products = $productRepository->findAllAvailable();    $categories = $categoryRepository->findAllRootCategories();
      arguments: {
        $method: "findAllAvailable"
        $arguments: []
      }
    }
    /var/www/html/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);arguments: {
        $productRepository: App\Repository\ProductRepository {#327 …}
        $categoryRepository: App\Repository\CategoryRepository {#337 …}
      }
    }
    /var/www/html/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) {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
        $type: 1
      }
    }
    /var/www/html/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 {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
        $type: 1
        $catch: true
      }
    }
    /var/www/html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#2 …}
      }
    }
    /var/www/html/vendor/autoload_runtime.php:32 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/html/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/html/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Processor\DebugProcessor {#107
  -records: [
    2 => [
      [
        "timestamp" => 1773922598
        "timestamp_rfc3339" => "2026-03-19T12:16:38.366+00:00"
        "message" => "Matched route "{route}"."
        "priority" => 200
        "priorityName" => "INFO"
        "context" => [
          "route" => "app_shop"
          "route_parameters" => [
            "_route" => "app_shop"
            "_controller" => "App\Controller\ShopController::index"
          ]
          "request_uri" => "https://www.e-commerce.it.com/shop"
          "method" => "GET"
        ]
        "channel" => "request"
      ]
      [
        "timestamp" => 1773922598
        "timestamp_rfc3339" => "2026-03-19T12:16:38.368+00:00"
        "message" => "Checking for authenticator support."
        "priority" => 100
        "priorityName" => "DEBUG"
        "context" => [
          "firewall_name" => "main"
          "authenticators" => 2
        ]
        "channel" => "security"
      ]
      [
        "timestamp" => 1773922598
        "timestamp_rfc3339" => "2026-03-19T12:16:38.368+00:00"
        "message" => "Checking support on authenticator."
        "priority" => 100
        "priorityName" => "DEBUG"
        "context" => [
          "firewall_name" => "main"
          "authenticator" => "Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator"
        ]
        "channel" => "security"
      ]
      [
        "timestamp" => 1773922598
        "timestamp_rfc3339" => "2026-03-19T12:16:38.368+00:00"
        "message" => "Authenticator does not support the request."
        "priority" => 100
        "priorityName" => "DEBUG"
        "context" => [
          "firewall_name" => "main"
          "authenticator" => "Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator"
        ]
        "channel" => "security"
      ]
      [
        "timestamp" => 1773922598
        "timestamp_rfc3339" => "2026-03-19T12:16:38.368+00:00"
        "message" => "Checking support on authenticator."
        "priority" => 100
        "priorityName" => "DEBUG"
        "context" => [
          "firewall_name" => "main"
          "authenticator" => "Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator"
        ]
        "channel" => "security"
      ]
      [
        "timestamp" => 1773922598
        "timestamp_rfc3339" => "2026-03-19T12:16:38.368+00:00"
        "message" => "Authenticator does not support the request."
        "priority" => 100
        "priorityName" => "DEBUG"
        "context" => [
          "firewall_name" => "main"
          "authenticator" => "Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator"
        ]
        "channel" => "security"
      ]
      [
        "timestamp" => 1773922598
        "timestamp_rfc3339" => "2026-03-19T12:16:38.380+00:00"
        "message" => "Uncaught PHP Exception BadMethodCallException: "Undefined method "findAllAvailable". The method name must start with either findBy, findOneBy or countBy!" at EntityRepository.php line 165"
        "priority" => 500
        "priorityName" => "CRITICAL"
        "context" => [
          "exception" => BadMethodCallException {#1082
            #message: "Undefined method "findAllAvailable". The method name must start with either findBy, findOneBy or countBy!"
            #code: 0
            #file: "/var/www/html/vendor/doctrine/orm/src/EntityRepository.php"
            #line: 165
            trace: {
              /var/www/html/vendor/doctrine/orm/src/EntityRepository.php:165 {
                Doctrine\ORM\EntityRepository->__call(string $method, array $arguments): mixed …
                › 
                › throw new BadMethodCallException(sprintf(    'Undefined method "%s". The method name must start with ' .
              }
              /var/www/html/vendor/doctrine/doctrine-bundle/src/Repository/ServiceEntityRepositoryProxy.php:95 {
                Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepositoryProxy->__call(string $method, array $arguments): mixed …
                › {    return ($this->repository ??= $this->resolveRepository())->$method(...$arguments);}
                arguments: {
                  $method: "findAllAvailable"
                  $arguments: []
                }
              }
              /var/www/html/src/Controller/ShopController.php:18 {
                App\Controller\ShopController->index(ProductRepository $productRepository, CategoryRepository $categoryRepository): Response …
                › ): Response {    $products = $productRepository->findAllAvailable();    $categories = $categoryRepository->findAllRootCategories();
                arguments: {
                  $method: "findAllAvailable"
                  $arguments: []
                }
              }
              /var/www/html/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);arguments: {
                  $productRepository: App\Repository\ProductRepository {#327 …}
                  $categoryRepository: App\Repository\CategoryRepository {#337 …}
                }
              }
              /var/www/html/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) {
                arguments: {
                  $request: Symfony\Component\HttpFoundation\Request {#2 …}
                  $type: 1
                }
              }
              /var/www/html/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 {
                arguments: {
                  $request: Symfony\Component\HttpFoundation\Request {#2 …}
                  $type: 1
                  $catch: true
                }
              }
              /var/www/html/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
                Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
                › {    $response = $this->kernel->handle($this->request);arguments: {
                  $request: Symfony\Component\HttpFoundation\Request {#2 …}
                }
              }
              /var/www/html/vendor/autoload_runtime.php:32 {
                require_once …
                ›         ->getRunner($app)        ->run());
              }
              /var/www/html/public/index.php:5 {
                › 
                › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
                  "/var/www/html/vendor/autoload_runtime.php"
                }
              }
            }
          }
        ]
        "channel" => "request"
      ]
    ]
  ]
  -errorCount: [
    2 => 1
  ]
  -requestStack: Symfony\Component\HttpKernel\Debug\VirtualRequestStack {#106 …}
}