ArticleController :: index
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _controller | "App\Controller\ArticleController::index" |
| _firewall_context | "security.firewall.map.context.main" |
| _links | Symfony\Component\WebLink\GenericLinkProvider {#1294 -links: [ 1082 => Symfony\Component\WebLink\Link {#1082 -rel: [ "preload" => "preload" ] -attributes: [ "as" => "style" ] -href: "/assets/styles/app-t56zdBh.css" } 1086 => Symfony\Component\WebLink\Link {#1086 -rel: [ "preload" => "preload" ] -attributes: [ "as" => "style" ] -href: "/assets/styles/addons-eFjvAR6.css" } 1085 => Symfony\Component\WebLink\Link {#1085 -rel: [ "preload" => "preload" ] -attributes: [ "as" => "style" ] -href: "/assets/vendor/glightbox/dist/css/glightbox.min-bk7Kln5.css" } ] } |
| _remove_csp_headers | true |
| _route | "app_stock_index" |
| _route_params | [] |
| _security_authenticators | [] |
| _security_firewall_run | "_security_main" |
| _security_skipped_authenticators | [] |
| _stopwatch_token | "7b62a0" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br" |
| cdn-loop | "cloudflare; loops=1" |
| cf-connecting-ip | "216.73.216.48" |
| cf-ipcountry | "US" |
| cf-ray | "9ae8d2648ca4616b-ORD" |
| cf-visitor | "{"scheme":"https"}" |
| connection | "close" |
| host | "garage.farahtech.ma" |
| user-agent | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])" |
| x-accel-internal | "/internal-nginx-static-location" |
| x-forwarded-for | "216.73.216.48" |
| x-forwarded-proto | "https" |
| x-php-ob-level | "1" |
| x-real-ip | "172.69.6.59" |
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 | "Mon, 15 Dec 2025 20:51:57 GMT" |
| expires | "-1" |
| link | "</assets/styles/app-t56zdBh.css>; rel="preload"; as="style",</assets/styles/addons-eFjvAR6.css>; rel="preload"; as="style",</assets/vendor/glightbox/dist/css/glightbox.min-bk7Kln5.css>; rel="preload"; as="style"" |
| pragma | "no-cache" |
| set-cookie | [ "main_deauth_profile_token=230382; path=/; secure; httponly; samesite=lax" "main_auth_profile_token=deleted; expires=Sun, 15 Dec 2024 20:51:56 GMT; Max-Age=0; path=/; httponly" ] |
| vary | "Accept" |
| x-debug-exception | "Impossible%20to%20access%20an%20attribute%20%28%22color%22%29%20on%20a%20string%20variable%20%28%22out%22%29%20in%20%22article%2Findex.html.twig%22%20at%20line%20301." |
| x-debug-exception-file | "%2Fvar%2Fwww%2Fvhosts%2Ffarahtech.ma%2Fgarage%2Ftemplates%2Farticle%2Findex.html.twig:301" |
| x-debug-token | "1cb18c" |
| x-debug-token-link | "https://garage.farahtech.ma/_profiler/230382" |
| x-previous-debug-token | "230382" |
| x-robots-tag | "noindex" |
Cookies
Request Cookies
No request cookies
Response Cookies
| Key | Value |
|---|---|
| main_auth_profile_token | Symfony\Component\HttpFoundation\Cookie {#1599 #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 {#52 #expire: 0 #path: "/" -sameSite: "lax" -secureDefault: true #name: "main_deauth_profile_token" #value: "230382" #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 | "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 | "216.73.216.48" |
| HTTP_CF_IPCOUNTRY | "US" |
| HTTP_CF_RAY | "9ae8d2648ca4616b-ORD" |
| HTTP_CF_VISITOR | "{"scheme":"https"}" |
| HTTP_CONNECTION | "close" |
| HTTP_HOST | "garage.farahtech.ma" |
| HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])" |
| HTTP_X_ACCEL_INTERNAL | "/internal-nginx-static-location" |
| HTTP_X_FORWARDED_FOR | "216.73.216.48" |
| HTTP_X_FORWARDED_PROTO | "https" |
| HTTP_X_REAL_IP | "172.69.6.59" |
| 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 | "aUB07MrOAl3uLaRq-GfMYAAAAJQ" |
| REDIRECT_URL | "/stock" |
| REMOTE_ADDR | "172.69.6.59" |
| REMOTE_PORT | "39172" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1765831916 |
| REQUEST_TIME_FLOAT | 1765831916.3236 |
| REQUEST_URI | "/stock" |
| 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 | "aUB07MrOAl3uLaRq-GfMYAAAAJQ" |
| USER | "farahtech" |
| proxy-nokeepalive | "1" |
Sub Requests 1
ErrorController (token = 230382)
| Key | Value |
|---|---|
| _controller | "error_controller" |
| _stopwatch_token | "0546ba" |
| exception | Twig\Error\RuntimeError {#1237 #message: "Impossible to access an attribute ("color") on a string variable ("out") in "article/index.html.twig" at line 301." #code: 0 #file: "/var/www/vhosts/farahtech.ma/garage/templates/article/index.html.twig" #line: 301 -lineno: 301 -rawMessage: "Impossible to access an attribute ("color") on a string variable ("out")." -source: Twig\Source {#872 …} -phpFile: "/var/www/vhosts/farahtech.ma/garage/vendor/twig/twig/src/Extension/CoreExtension.php" -phpLine: 1739 : { { Twig\Extension\CoreExtension::getAttribute(Environment $env, Source $source, $object, $item, array $arguments = [], $type = Template::ANY_CALL, $isDefinedTest = false, $ignoreStrictCheck = false, $sandboxed = false, int $lineno = -1) … › |
| logger | Symfony\Bridge\Monolog\Processor\DebugProcessor {#206 -records: [ 17 => [ [ "timestamp" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.622+00:00" "message" => "Matched route "{route}"." "priority" => 200 "priorityName" => "INFO" "context" => [ "route" => "app_stock_index" "route_parameters" => [ "_route" => "app_stock_index" "_controller" => "App\Controller\ArticleController::index" ] "request_uri" => "https://garage.farahtech.ma/stock" "method" => "GET" ] "channel" => "request" ] [ "timestamp" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.630+00:00" "message" => "Checking for authenticator support." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "firewall_name" => "main" "authenticators" => 0 ] "channel" => "security" ] [ "timestamp" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.630+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" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.630+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" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.630+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" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.630+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" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.630+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" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.630+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" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.630+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" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.630+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" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.631+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" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.631+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" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.631+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" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.631+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" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.631+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" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.633+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" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.633+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" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.682+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" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.682+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" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.682+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" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.682+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" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.682+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" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.758+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" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.764+00:00" "message" => "Executing query: {sql}" "priority" => 100 "priorityName" => "DEBUG" "context" => [ "sql" => "SELECT a0_.id AS id_0, a0_.name AS name_1, a0_.category AS category_2, a0_.brand AS brand_3, a0_.part_number AS part_number_4, a0_.current_stock AS current_stock_5, a0_.min_stock AS min_stock_6, a0_.max_stock AS max_stock_7, a0_.unit_price AS unit_price_8, a0_.location AS location_9, a0_.last_restocked AS last_restocked_10, a0_.description AS description_11, a0_.created_at AS created_at_12, a0_.updated_at AS updated_at_13, a0_.reference AS reference_14, a0_.default_tva AS default_tva_15, a0_.type AS type_16 FROM article a0_ ORDER BY a0_.name ASC" ] "channel" => "doctrine" ] [ "timestamp" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.794+00:00" "message" => "Executing query: {sql}" "priority" => 100 "priorityName" => "DEBUG" "context" => [ "sql" => "SELECT COUNT(a0_.id) AS sclr_0, SUM(CASE WHEN a0_.current_stock <= a0_.min_stock AND a0_.current_stock > 0 THEN 1 ELSE 0 END) AS sclr_1, SUM(CASE WHEN a0_.current_stock <= 0 THEN 1 ELSE 0 END) AS sclr_2, SUM(a0_.current_stock * a0_.unit_price) AS sclr_3, COUNT(DISTINCT a0_.category) AS sclr_4 FROM article a0_" ] "channel" => "doctrine" ] [ "timestamp" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.935+00:00" "message" => "Executing query: {sql}" "priority" => 100 "priorityName" => "DEBUG" "context" => [ "sql" => "SELECT t0.id AS id_1, t0.garage AS garage_2, t0.currency AS currency_3, t0.date_format AS date_format_4, t0.time_format AS time_format_5, t0.notifications AS notifications_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.logo AS logo_9 FROM app_settings t0 LIMIT 1" ] "channel" => "doctrine" ] [ "timestamp" => 1765831916 "timestamp_rfc3339" => "2025-12-15T20:51:56.963+00:00" "message" => "Uncaught PHP Exception Twig\Error\RuntimeError: "Impossible to access an attribute ("color") on a string variable ("out") in "article/index.html.twig" at line 301." at index.html.twig line 301" "priority" => 500 "priorityName" => "CRITICAL" "context" => [ "exception" => Twig\Error\RuntimeError {#1237 #message: "Impossible to access an attribute ("color") on a string variable ("out") in "article/index.html.twig" at line 301." #code: 0 #file: "/var/www/vhosts/farahtech.ma/garage/templates/article/index.html.twig" #line: 301 -lineno: 301 -rawMessage: "Impossible to access an attribute ("color") on a string variable ("out")." -source: Twig\Source {#872 …} -phpFile: "/var/www/vhosts/farahtech.ma/garage/vendor/twig/twig/src/Extension/CoreExtension.php" -phpLine: 1739 : { { Twig\Extension\CoreExtension::getAttribute(Environment $env, Source $source, $object, $item, array $arguments = [], $type = Template::ANY_CALL, $isDefinedTest = false, $ignoreStrictCheck = false, $sandboxed = false, int $lineno = -1) … › |