Error 500 Internal Server Error

GET http://cocagne.neotech.fr/stock/7708/edit

ErrorController

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"error_controller"
_stopwatch_token
"daa32f"
exception
Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException {#872
  #message: "Can't get a way to read the property "article" in class "App\Entity\Stock"."
  #code: 0
  #file: "/var/lib/frankenphp/thaon/vendor/symfony/property-access/PropertyAccessor.php"
  #line: 456
  trace: {
    /var/lib/frankenphp/thaon/vendor/symfony/property-access/PropertyAccessor.php:456 {
      Symfony\Component\PropertyAccess\PropertyAccessor->readProperty(array $zval, string $property, bool $ignoreInvalidProperty = false, bool $isNullSafe = false): array …
      › } elseif (!$ignoreInvalidProperty) {    throw new NoSuchPropertyException(\sprintf('Can\'t get a way to read the property "%s" in class "%s".', $property, $class));}
    }
    /var/lib/frankenphp/thaon/vendor/symfony/property-access/PropertyAccessor.php:102 {
      Symfony\Component\PropertyAccess\PropertyAccessor->getValue(object|array $objectOrArray, Symfony\Component\PropertyAccess\PropertyPathInterface|string $propertyPath): mixed …
      › if (\is_object($objectOrArray) && (false === strpbrk((string) $propertyPath, '.[?') || $objectOrArray instanceof \stdClass && property_exists($objectOrArray, $propertyPath))) {    return $this->readProperty($zval, $propertyPath, $this->ignoreInvalidProperty)[self::VALUE];}
    }
    /var/lib/frankenphp/thaon/vendor/symfony/form/Extension/Core/DataAccessor/PropertyPathAccessor.php:97 {
      Symfony\Component\Form\Extension\Core\DataAccessor\PropertyPathAccessor->getPropertyValue(object|array $data, PropertyPathInterface $propertyPath): mixed …
      › try {    return $this->propertyAccessor->getValue($data, $propertyPath);} catch (PropertyAccessException $e) {
    }
    /var/lib/frankenphp/thaon/vendor/symfony/form/Extension/Core/DataAccessor/PropertyPathAccessor.php:48 {
      Symfony\Component\Form\Extension\Core\DataAccessor\PropertyPathAccessor->getValue(object|array $data, FormInterface $form): mixed …
      › 
      ›     return $this->getPropertyValue($data, $propertyPath);}
    }
    /var/lib/frankenphp/thaon/vendor/symfony/form/Extension/Core/DataAccessor/ChainAccessor.php:35 {
      Symfony\Component\Form\Extension\Core\DataAccessor\ChainAccessor->getValue(object|array $data, FormInterface $form): mixed …
      › if ($accessor->isReadable($data, $form)) {    return $accessor->getValue($data, $form);}
    }
    /var/lib/frankenphp/thaon/vendor/symfony/form/Extension/Core/DataMapper/DataMapper.php:50 {
      Symfony\Component\Form\Extension\Core\DataMapper\DataMapper->mapDataToForms(mixed $data, Traversable $forms): void …
      › if (!$empty && $config->getMapped() && $this->dataAccessor->isReadable($data, $form)) {    $form->setData($this->dataAccessor->getValue($data, $form));} else {
    }
    /var/lib/frankenphp/thaon/vendor/symfony/form/Form.php:321 {
      Symfony\Component\Form\Form->setData(mixed $modelData): static …
      ›     // Update child forms from the data (unless their config data is locked)    $this->config->getDataMapper()->mapDataToForms($viewData, new \RecursiveIteratorIterator(new InheritDataAwareIterator($this->children)));}
    }
    /var/lib/frankenphp/thaon/vendor/symfony/form/Form.php:410 {
      Symfony\Component\Form\Form->initialize(): static …
      › if (!$this->defaultDataSet) {    $this->setData($this->config->getData());}
    }
    /var/lib/frankenphp/thaon/vendor/symfony/form/FormBuilder.php:171 {
      Symfony\Component\Form\FormBuilder->getForm(): FormInterface …
      ›     // Automatically initialize the form if it is configured so    $form->initialize();}
    }
    /var/lib/frankenphp/thaon/vendor/symfony/form/FormFactory.php:32 {
      Symfony\Component\Form\FormFactory->create(string $type = '…51', mixed $data = null, array $options = []): FormInterface …
      › {    return $this->createBuilder($type, $data, $options)->getForm();}
    }
    /var/lib/frankenphp/thaon/vendor/symfony/framework-bundle/Controller/AbstractController.php:354 {
      Symfony\Bundle\FrameworkBundle\Controller\AbstractController->createForm(string $type, mixed $data = null, array $options = []): FormInterface …
      › {    return $this->container->get('form.factory')->create($type, $data, $options);}
    }
    /var/lib/frankenphp/thaon/src/Controller/StockController.php:59 {
      App\Controller\StockController->edit(Request $request, Stock $stock, EntityManagerInterface $entityManager): Response …
      › {    $form = $this->createForm(StockType::class, $stock);    $form->handleRequest($request);
    }
    /var/lib/frankenphp/thaon/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);}
    /var/lib/frankenphp/thaon/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) {
    }
    /var/lib/frankenphp/thaon/vendor/symfony/http-kernel/Kernel.php:191 {
      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/lib/frankenphp/thaon/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);}
    /var/lib/frankenphp/thaon/vendor/autoload_runtime.php:32 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/lib/frankenphp/thaon/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/lib/frankenphp/thaon/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Processor\DebugProcessor {#176
  -records: [
    2 => [
      [
        "timestamp" => 1776760292
        "timestamp_rfc3339" => "2026-04-21T08:31:32.670+00:00"
        "message" => "Matched route "{route}"."
        "priority" => 200
        "priorityName" => "INFO"
        "context" => [
          "route" => "app_stock_edit"
          "route_parameters" => [
            "_route" => "app_stock_edit"
            "_controller" => "App\Controller\StockController::edit"
            "id" => "7708"
          ]
          "request_uri" => "http://cocagne.neotech.fr/stock/7708/edit"
          "method" => "GET"
        ]
        "channel" => "request"
      ]
      [
        "timestamp" => 1776760292
        "timestamp_rfc3339" => "2026-04-21T08:31:32.670+00:00"
        "message" => "Checking for authenticator support."
        "priority" => 100
        "priorityName" => "DEBUG"
        "context" => [
          "firewall_name" => "main"
          "authenticators" => 2
        ]
        "channel" => "security"
      ]
      [
        "timestamp" => 1776760292
        "timestamp_rfc3339" => "2026-04-21T08:31:32.670+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" => 1776760292
        "timestamp_rfc3339" => "2026-04-21T08:31:32.671+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" => 1776760292
        "timestamp_rfc3339" => "2026-04-21T08:31:32.671+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" => 1776760292
        "timestamp_rfc3339" => "2026-04-21T08:31:32.671+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" => 1776760292
        "timestamp_rfc3339" => "2026-04-21T08:31:32.677+00:00"
        "message" => "Connecting with parameters {params}"
        "priority" => 200
        "priorityName" => "INFO"
        "context" => [
          "params" => [
            "driver" => "pdo_pgsql"
            "idle_connection_ttl" => 600
            "host" => "192.168.137.46"
            "port" => 5432
            "user" => "cocagne"
            "password" => "<redacted>"
            "driverOptions" => []
            "defaultTableOptions" => []
            "dbname" => "cocagne"
            "serverVersion" => "18"
            "charset" => "utf8"
          ]
        ]
        "channel" => "doctrine"
      ]
      [
        "timestamp" => 1776760292
        "timestamp_rfc3339" => "2026-04-21T08:31:32.710+00:00"
        "message" => "Executing statement: {sql} (parameters: {params}, types: {types})"
        "priority" => 100
        "priorityName" => "DEBUG"
        "context" => [
          "sql" => "SELECT t0.date_entree AS date_entree_1, t0.qte AS qte_2, t0.lot AS lot_3, t0.id AS id_4, t0.article_id AS article_id_5 FROM stock t0 WHERE t0.id = ?"
          "params" => [
            1 => "7708"
          ]
          "types" => [
            1 => Doctrine\DBAL\ParameterType {#518
              +name: "STRING"
            }
          ]
        ]
        "channel" => "doctrine"
      ]
      [
        "timestamp" => 1776760292
        "timestamp_rfc3339" => "2026-04-21T08:31:32.721+00:00"
        "message" => "Uncaught PHP Exception Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException: "Can't get a way to read the property "article" in class "App\Entity\Stock"." at PropertyAccessor.php line 456"
        "priority" => 500
        "priorityName" => "CRITICAL"
        "context" => [
          "exception" => Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException {#872
            #message: "Can't get a way to read the property "article" in class "App\Entity\Stock"."
            #code: 0
            #file: "/var/lib/frankenphp/thaon/vendor/symfony/property-access/PropertyAccessor.php"
            #line: 456
            trace: {
              /var/lib/frankenphp/thaon/vendor/symfony/property-access/PropertyAccessor.php:456 {
                Symfony\Component\PropertyAccess\PropertyAccessor->readProperty(array $zval, string $property, bool $ignoreInvalidProperty = false, bool $isNullSafe = false): array …
                › } elseif (!$ignoreInvalidProperty) {    throw new NoSuchPropertyException(\sprintf('Can\'t get a way to read the property "%s" in class "%s".', $property, $class));}
              }
              /var/lib/frankenphp/thaon/vendor/symfony/property-access/PropertyAccessor.php:102 {
                Symfony\Component\PropertyAccess\PropertyAccessor->getValue(object|array $objectOrArray, Symfony\Component\PropertyAccess\PropertyPathInterface|string $propertyPath): mixed …
                › if (\is_object($objectOrArray) && (false === strpbrk((string) $propertyPath, '.[?') || $objectOrArray instanceof \stdClass && property_exists($objectOrArray, $propertyPath))) {    return $this->readProperty($zval, $propertyPath, $this->ignoreInvalidProperty)[self::VALUE];}
              }
              /var/lib/frankenphp/thaon/vendor/symfony/form/Extension/Core/DataAccessor/PropertyPathAccessor.php:97 {
                Symfony\Component\Form\Extension\Core\DataAccessor\PropertyPathAccessor->getPropertyValue(object|array $data, PropertyPathInterface $propertyPath): mixed …
                › try {    return $this->propertyAccessor->getValue($data, $propertyPath);} catch (PropertyAccessException $e) {
              }
              /var/lib/frankenphp/thaon/vendor/symfony/form/Extension/Core/DataAccessor/PropertyPathAccessor.php:48 {
                Symfony\Component\Form\Extension\Core\DataAccessor\PropertyPathAccessor->getValue(object|array $data, FormInterface $form): mixed …
                › 
                ›     return $this->getPropertyValue($data, $propertyPath);}
              }
              /var/lib/frankenphp/thaon/vendor/symfony/form/Extension/Core/DataAccessor/ChainAccessor.php:35 {
                Symfony\Component\Form\Extension\Core\DataAccessor\ChainAccessor->getValue(object|array $data, FormInterface $form): mixed …
                › if ($accessor->isReadable($data, $form)) {    return $accessor->getValue($data, $form);}
              }
              /var/lib/frankenphp/thaon/vendor/symfony/form/Extension/Core/DataMapper/DataMapper.php:50 {
                Symfony\Component\Form\Extension\Core\DataMapper\DataMapper->mapDataToForms(mixed $data, Traversable $forms): void …
                › if (!$empty && $config->getMapped() && $this->dataAccessor->isReadable($data, $form)) {    $form->setData($this->dataAccessor->getValue($data, $form));} else {
              }
              /var/lib/frankenphp/thaon/vendor/symfony/form/Form.php:321 {
                Symfony\Component\Form\Form->setData(mixed $modelData): static …
                ›     // Update child forms from the data (unless their config data is locked)    $this->config->getDataMapper()->mapDataToForms($viewData, new \RecursiveIteratorIterator(new InheritDataAwareIterator($this->children)));}
              }
              /var/lib/frankenphp/thaon/vendor/symfony/form/Form.php:410 {
                Symfony\Component\Form\Form->initialize(): static …
                › if (!$this->defaultDataSet) {    $this->setData($this->config->getData());}
              }
              /var/lib/frankenphp/thaon/vendor/symfony/form/FormBuilder.php:171 {
                Symfony\Component\Form\FormBuilder->getForm(): FormInterface …
                ›     // Automatically initialize the form if it is configured so    $form->initialize();}
              }
              /var/lib/frankenphp/thaon/vendor/symfony/form/FormFactory.php:32 {
                Symfony\Component\Form\FormFactory->create(string $type = '…51', mixed $data = null, array $options = []): FormInterface …
                › {    return $this->createBuilder($type, $data, $options)->getForm();}
              }
              /var/lib/frankenphp/thaon/vendor/symfony/framework-bundle/Controller/AbstractController.php:354 {
                Symfony\Bundle\FrameworkBundle\Controller\AbstractController->createForm(string $type, mixed $data = null, array $options = []): FormInterface …
                › {    return $this->container->get('form.factory')->create($type, $data, $options);}
              }
              /var/lib/frankenphp/thaon/src/Controller/StockController.php:59 {
                App\Controller\StockController->edit(Request $request, Stock $stock, EntityManagerInterface $entityManager): Response …
                › {    $form = $this->createForm(StockType::class, $stock);    $form->handleRequest($request);
              }
              /var/lib/frankenphp/thaon/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);}
              /var/lib/frankenphp/thaon/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) {
              }
              /var/lib/frankenphp/thaon/vendor/symfony/http-kernel/Kernel.php:191 {
                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/lib/frankenphp/thaon/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
                Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
                › {    $response = $this->kernel->handle($this->request);}
              /var/lib/frankenphp/thaon/vendor/autoload_runtime.php:32 {
                require_once …
                ›         ->getRunner($app)        ->run());
              }
              /var/lib/frankenphp/thaon/public/index.php:5 {
                › 
                › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
                  "/var/lib/frankenphp/thaon/vendor/autoload_runtime.php"
                }
              }
            }
          }
        ]
        "channel" => "request"
      ]
    ]
  ]
  -errorCount: [
    2 => 1
  ]
  -requestStack: Symfony\Component\HttpKernel\Debug\VirtualRequestStack {#175 …}
}

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, zstd, deflate"
cookie
"PHPSESSID=358fc3ae6b251e2c82e870117d4d7c70; main_deauth_profile_token=395b0b"
host
"cocagne.neotech.fr"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
via
"2.0 Caddy"
x-forwarded-for
"216.73.217.92"
x-forwarded-host
"cocagne.neotech.fr"
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
"Tue, 21 Apr 2026 08:31:32 GMT"
x-debug-exception
"Can%27t%20get%20a%20way%20to%20read%20the%20property%20%22article%22%20in%20class%20%22App%5CEntity%5CStock%22."
x-debug-exception-file
"%2Fvar%2Flib%2Ffrankenphp%2Fthaon%2Fvendor%2Fsymfony%2Fproperty-access%2FPropertyAccessor.php:456"
x-debug-token
"12a7b1"

Cookies

Request Cookies

Key Value
PHPSESSID
"358fc3ae6b251e2c82e870117d4d7c70"
main_deauth_profile_token
"395b0b"

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
"3ed12a1008734745640c4031a4b16894"
APP_SHARE_DIR
"var/share"
DATABASE_URL
"postgresql://cocagne:U5uu4n4l8ZgQNHzBdMlduBvpWZAubAbW@192.168.137.46:5432/cocagne?serverVersion=18&charset=utf8"
DEFAULT_URI
"https://cocagne.neotech.fr"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
APP_PROJECT_DIR
"/var/lib/frankenphp/thaon"
APP_RUNTIME
"Symfony\Component\Runtime\SymfonyRuntime"
APP_RUNTIME_OPTIONS
[
  "project_dir" => "/var/lib/frankenphp/thaon"
]
AUTH_TYPE
""
CONTENT_LENGTH
""
CONTENT_TYPE
""
DOCUMENT_ROOT
"/var/lib/frankenphp/thaon/public"
DOCUMENT_URI
"/index.php"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/lib/frankenphp"
HTTPS
""
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_COOKIE
"PHPSESSID=358fc3ae6b251e2c82e870117d4d7c70; main_deauth_profile_token=395b0b"
HTTP_HOST
"cocagne.neotech.fr"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_VIA
"2.0 Caddy"
HTTP_X_FORWARDED_FOR
"216.73.217.92"
HTTP_X_FORWARDED_HOST
"cocagne.neotech.fr"
HTTP_X_FORWARDED_PROTO
"https"
INVOCATION_ID
"a4448b060a574446bb9aee18348ec772"
JOURNAL_STREAM
"9:2318546"
LANG
"fr_FR.UTF-8"
LOGNAME
"frankenphp"
MEMORY_PRESSURE_WATCH
"/sys/fs/cgroup/system.slice/frankenphp.service/memory.pressure"
MEMORY_PRESSURE_WRITE
"c29tZSAyMDAwMDAgMjAwMDAwMAA="
NOTIFY_SOCKET
"/run/systemd/notify"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
PATH_INFO
""
PHP_SELF
"/index.php"
QUERY_STRING
""
REMOTE_ADDR
"192.168.137.37"
REMOTE_HOST
"192.168.137.37"
REMOTE_IDENT
""
REMOTE_PORT
"44918"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_TIME
1776760292
REQUEST_TIME_FLOAT
1776760292.6621
REQUEST_URI
"/stock/7708/edit"
SCRIPT_FILENAME
"/var/lib/frankenphp/thaon/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_NAME
"cocagne.neotech.fr"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"FrankenPHP"
SSL_CIPHER
""
SSL_PROTOCOL
""
SYMFONY_DOTENV_PATH
"/var/lib/frankenphp/thaon/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,APP_SHARE_DIR,DEFAULT_URI,DATABASE_URL"
SYSTEMD_EXEC_PID
"1119489"
USER
"frankenphp"

Parent Request

Return to parent request (token = c085a3)

Key Value
_controller
"App\Controller\StockController::edit"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"app_stock_edit"
_route_params
[
  "id" => "7708"
]
_security_authenticators
[]
_security_firewall_run
"_security_main"
_security_skipped_authenticators
[
  Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#253
    -supports: false
    -passport: null
    -duration: null
    -stub: "App\Security\AppAuthenticator"
    -authenticated: null
    -exception: null
    -authenticator: App\Security\AppAuthenticator {#268 …}
  }
  Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#232
    -supports: false
    -passport: null
    -duration: null
    -stub: "Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator"
    -authenticated: null
    -exception: null
    -authenticator: Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator {#250 …}
  }
]
_stopwatch_token
"7aba38"
id
"7708"