DiagnosticController :: index
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _controller | "App\Controller\DiagnosticController::index" |
| _firewall_context | "security.firewall.map.context.main" |
| _remove_csp_headers | true |
| _route | "app_diagnostic_index" |
| _route_params | [] |
| _security_authenticators | [] |
| _security_firewall_run | "_security_main" |
| _security_skipped_authenticators | [] |
| _stopwatch_token | "b34a63" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br" |
| cdn-loop | "cloudflare; loops=1" |
| cf-connecting-ip | "74.7.242.16" |
| cf-ipcountry | "US" |
| cf-ray | "9af42329484e26b2-ATL" |
| cf-visitor | "{"scheme":"https"}" |
| connection | "close" |
| cookie | "main_deauth_profile_token=df8005" |
| from | "gptbot(at)openai.com" |
| host | "garage.farahtech.ma" |
| user-agent | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.3; +https://openai.com/gptbot)" |
| x-accel-internal | "/internal-nginx-static-location" |
| x-forwarded-for | "74.7.242.16" |
| x-forwarded-proto | "https" |
| x-openai-host-hash | "746798568" |
| x-php-ob-level | "1" |
| x-real-ip | "104.22.1.241" |
Request Content
Request content not available (it was retrieved as a resource).
Response
Response Headers
| Header | Value |
|---|---|
| cache-control | "private, must-revalidate" |
| content-type | "text/html; charset=UTF-8" |
| date | "Wed, 17 Dec 2025 05:49:28 GMT" |
| expires | "-1" |
| pragma | "no-cache" |
| vary | "Accept" |
| x-debug-exception | "Undefined%20constant%20App%5CEntity%5CDiagnostic%3A%3ASTATUS_PENDING" |
| x-debug-exception-file | "%2Fvar%2Fwww%2Fvhosts%2Ffarahtech.ma%2Fgarage%2Fsrc%2FRepository%2FDiagnosticRepository.php:92" |
| x-debug-token | "fb6f3c" |
| x-debug-token-link | "https://garage.farahtech.ma/_profiler/6f2745" |
| x-previous-debug-token | "6f2745" |
| x-robots-tag | "noindex" |
Cookies
Request Cookies
| Key | Value |
|---|---|
| main_deauth_profile_token | "df8005" |
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 | "95da2cf511d6fef5e5306df2a8e58605" |
| DATABASE_URL | "mysql://garage:Lew7X_nqt1n9mW&[email protected]:3306/farahtech_garage?serverVersion=10.6.22-MariaDB&charset=utf8mb4" |
| MAILER_DSN | "null://null" |
| MESSENGER_TRANSPORT_DSN | "doctrine://default?auto_setup=0" |
| WKHTMLTOIMAGE_PATH | "/usr/local/bin/wkhtmltoimage" |
| WKHTMLTOPDF_PATH | "/usr/local/bin/wkhtmltopdf" |
Defined as regular env variables
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| CONTEXT_DOCUMENT_ROOT | "/var/www/vhosts/farahtech.ma/garage/public" |
| CONTEXT_PREFIX | "" |
| DOCUMENT_ROOT | "/var/www/vhosts/farahtech.ma/garage/public" |
| FCGI_ROLE | "RESPONDER" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| HOME | "/var/www/vhosts/farahtech.ma" |
| HTTPS | "on" |
| HTTP_ACCEPT | "*/*" |
| HTTP_ACCEPT_ENCODING | "gzip, br" |
| HTTP_CDN_LOOP | "cloudflare; loops=1" |
| HTTP_CF_CONNECTING_IP | "74.7.242.16" |
| HTTP_CF_IPCOUNTRY | "US" |
| HTTP_CF_RAY | "9af42329484e26b2-ATL" |
| HTTP_CF_VISITOR | "{"scheme":"https"}" |
| HTTP_CONNECTION | "close" |
| HTTP_COOKIE | "main_deauth_profile_token=df8005" |
| HTTP_FROM | "gptbot(at)openai.com" |
| HTTP_HOST | "garage.farahtech.ma" |
| HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.3; +https://openai.com/gptbot)" |
| HTTP_X_ACCEL_INTERNAL | "/internal-nginx-static-location" |
| HTTP_X_FORWARDED_FOR | "74.7.242.16" |
| HTTP_X_FORWARDED_PROTO | "https" |
| HTTP_X_OPENAI_HOST_HASH | "746798568" |
| HTTP_X_REAL_IP | "104.22.1.241" |
| PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY | "0" |
| PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY | "0" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" |
| PHP_SELF | "/index.php" |
| QUERY_STRING | "" |
| REDIRECT_HTTPS | "on" |
| REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY | "0" |
| REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY | "0" |
| REDIRECT_SSL_TLS_SNI | "garage.farahtech.ma" |
| REDIRECT_STATUS | "200" |
| REDIRECT_UNIQUE_ID | "aUJEZ3gDVMSmU3ArKFy9ywAAABI" |
| REDIRECT_URL | "/diagnostic/" |
| REMOTE_ADDR | "104.22.1.241" |
| REMOTE_PORT | "50968" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1765950567 |
| REQUEST_TIME_FLOAT | 1765950567.963 |
| REQUEST_URI | "/diagnostic/" |
| SCRIPT_FILENAME | "/var/www/vhosts/farahtech.ma/garage/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SERVER_ADDR | "109.199.112.43" |
| SERVER_ADMIN | "[no address given]" |
| SERVER_NAME | "garage.farahtech.ma" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.0" |
| SERVER_SIGNATURE | "<address>Apache Server at garage.farahtech.ma Port 443</address>\n" |
| SERVER_SOFTWARE | "Apache" |
| SSL_TLS_SNI | "garage.farahtech.ma" |
| SYMFONY_DOTENV_PATH | "/var/www/vhosts/farahtech.ma/garage/.env" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN,WKHTMLTOPDF_PATH,WKHTMLTOIMAGE_PATH" |
| UNIQUE_ID | "aUJEZ3gDVMSmU3ArKFy9ywAAABI" |
| USER | "farahtech" |
| proxy-nokeepalive | "1" |
Sub Requests 1
ErrorController (token = 6f2745)
| Key | Value |
|---|---|
| _controller | "error_controller" |
| _stopwatch_token | "abde0c" |
| exception | Error {#1714 #message: "Undefined constant App\Entity\Diagnostic::STATUS_PENDING" #code: 0 #file: "/var/www/vhosts/farahtech.ma/garage/src/Repository/DiagnosticRepository.php" #line: 92 : { { App\Repository\DiagnosticRepository->getStatistics(): array … › |
| logger | Symfony\Bridge\Monolog\Processor\DebugProcessor {#206 -records: [ 17 => [ [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.281+00:00" "message" => "Matched route "{route}"." "priority" => 200 "priorityName" => "INFO" "context" => [ "route" => "app_diagnostic_index" "route_parameters" => [ "_route" => "app_diagnostic_index" "_controller" => "App\Controller\DiagnosticController::index" ] "request_uri" => "https://garage.farahtech.ma/diagnostic/" "method" => "GET" ] "channel" => "request" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.291+00:00" "message" => "Checking for authenticator support." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "firewall_name" => "main" "authenticators" => 0 ] "channel" => "security" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.292+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure" ] "channel" => "event" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.292+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\UX\Turbo\Request\RequestListener::__invoke" ] "channel" => "event" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.292+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.292+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Bridge\Doctrine\Middleware\IdleConnection\Listener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.292+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.292+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale" ] "channel" => "event" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.292+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\AssetMapper\AssetMapperDevServerSubscriber::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.292+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.292+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.292+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.292+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator" ] "channel" => "event" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.292+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.292+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Knp\Bundle\PaginatorBundle\Subscriber\SlidingPaginationSubscriber::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.294+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller" "listener" => "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController" ] "channel" => "event" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.294+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller" "listener" => "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController" ] "channel" => "event" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.341+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller_arguments" "listener" => "Symfony\Component\Security\Http\EventListener\IsCsrfTokenValidAttributeListener::onKernelControllerArguments" ] "channel" => "event" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.341+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller_arguments" "listener" => "Symfony\Component\Security\Http\EventListener\IsGrantedAttributeListener::onKernelControllerArguments" ] "channel" => "event" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.341+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller_arguments" "listener" => "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelControllerArguments" ] "channel" => "event" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.341+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller_arguments" "listener" => "Container6xBjgVf\RequestPayloadValueResolverGhost01ca9cc::onKernelControllerArguments" ] "channel" => "event" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.341+00:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller_arguments" "listener" => "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments" ] "channel" => "event" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.417+00:00" "message" => "Connecting with parameters {params}" "priority" => 200 "priorityName" => "INFO" "context" => [ "params" => [ "use_savepoints" => true "driver" => "pdo_mysql" "idle_connection_ttl" => 600 "host" => "127.0.0.1" "port" => 3306 "user" => "garage" "password" => "<redacted>" "driverOptions" => [] "defaultTableOptions" => [] "dbname" => "farahtech_garage" "serverVersion" => "10.6.22-MariaDB" "charset" => "utf8mb4" ] ] "channel" => "doctrine" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.425+00:00" "message" => "Executing query: {sql}" "priority" => 100 "priorityName" => "DEBUG" "context" => [ "sql" => "SELECT t0.id AS id_1, t0.title AS title_2, t0.description AS description_3, t0.diagnostic_type AS diagnostic_type_4, t0.result AS result_5, t0.estimated_repair_cost AS estimated_repair_cost_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.vehicle_id AS vehicle_id_9, t0.customer_id AS customer_id_10, t0.mechanic_id AS mechanic_id_11, t12.id AS id_13, t12.title AS title_14, t12.description AS description_15, t12.status AS status_16, t12.priority AS priority_17, t12.estimated_cost AS estimated_cost_18, t12.actual_cost AS actual_cost_19, t12.estimated_duration AS estimated_duration_20, t12.actual_duration AS actual_duration_21, t12.labor_hours AS labor_hours_22, t12.start_date AS start_date_23, t12.end_date AS end_date_24, t12.labor_cost AS labor_cost_25, t12.notes AS notes_26, t12.created_at AS created_at_27, t12.updated_at AS updated_at_28, t12.current_workflow_step AS current_workflow_step_29, t12.has_workflow AS has_workflow_30, t12.vehicle_id AS vehicle_id_31, t12.customer_id AS customer_id_32, t12.diagnostic_id AS diagnostic_id_33, t12.mechanic_id AS mechanic_id_34, t12.customer_delivery_id AS customer_delivery_id_35 FROM diagnostic t0 LEFT JOIN repair t12 ON t12.diagnostic_id = t0.id ORDER BY t0.created_at DESC" ] "channel" => "doctrine" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.459+00:00" "message" => "Executing statement: {sql} (parameters: {params}, types: {types})" "priority" => 100 "priorityName" => "DEBUG" "context" => [ "sql" => "SELECT t0.id AS id_1, t0.status AS status_2, t0.started_at AS started_at_3, t0.completed_at AS completed_at_4, t0.overall_comments AS overall_comments_5, t0.approved AS approved_6, t0.rejection_reason AS rejection_reason_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.repair_id AS repair_id_10, t0.inspector_id AS inspector_id_11 FROM quality_control t0 WHERE t0.repair_id = ?" "params" => [ 1 => 6 ] "types" => [ 1 => 1 ] ] "channel" => "doctrine" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.489+00:00" "message" => "Executing query: {sql}" "priority" => 100 "priorityName" => "DEBUG" "context" => [ "sql" => "SELECT COUNT(d0_.id) AS sclr_0 FROM diagnostic d0_" ] "channel" => "doctrine" ] [ "timestamp" => 1765950568 "timestamp_rfc3339" => "2025-12-17T05:49:28.499+00:00" "message" => "Uncaught PHP Exception Error: "Undefined constant App\Entity\Diagnostic::STATUS_PENDING" at DiagnosticRepository.php line 92" "priority" => 500 "priorityName" => "CRITICAL" "context" => [ "exception" => Error {#1714 #message: "Undefined constant App\Entity\Diagnostic::STATUS_PENDING" #code: 0 #file: "/var/www/vhosts/farahtech.ma/garage/src/Repository/DiagnosticRepository.php" #line: 92 : { { App\Repository\DiagnosticRepository->getStatistics(): array … › |