ErrorController :: showAction
Request
GET Parameters
No GET parameters
POST Parameters
No POST parameters
Uploaded Files
No files were uploaded
Request Attributes
Key | Value |
---|---|
_controller | "Bolt\Controller\ErrorController::showAction" |
_links | Fig\Link\GenericLinkProvider {#3236 -links: [ "000000003026d8bd000000000834b567" => Fig\Link\Link {#3235 -href: "https://primantilles.com/api/docs.jsonld" -rel: [ "http://www.w3.org/ns/hydra/core#apiDocumentation" => true ] -attributes: [] } ] } |
_stopwatch_token | "e0a643" |
exception | Twig\Error\RuntimeError {#2660 -lineno: 10 -name: "product.twig" -rawMessage: "Impossible to access an attribute ("lv1_parent_id") on a null variable." -sourcePath: "/var/www/html/primantilles/public/theme/primantilles/product.twig" -sourceCode: """ {% extends 'partials/_master.twig' %}\n \n {% block main %}\n <div class="section nav-margin product-single">\n <div class="light-wrapper">\n <div class="container inner">\n <div class="row">\n <div class="col-12 mb-4">\n <h3 class="widget-title">\n {% if rayon.lv1_parent_id > 1 and rayon.lv2_id > 1 %}\n <a href="/rayon-liste/{{rayon.lv2_code}}">{{rayon.lv2_name}}</a> /\n {% endif %}\n {% if rayon.parent_id > 1 %}\n <a href="/rayon-liste/{{rayon.lv1_code}}">{{rayon.lv1_name}}</a> /\n {% endif %}\n <a href="/rayon-liste/{{rayon.code}}">{{rayon.name}}</a> /\n {{ product.name }}\n </h3>\n </div>\n </div>\n <div class="row">\n <div class="col-md-6">\n <div class="product-main-img bg-white">\n <img class="img-responsive" src="{{ baseUrl ~ product.path }}" alt="{{ product.slug }}" />\n </div>\n </div>\n <div class="col-md-6">\n <div class="product-text">\n <h2 class="product-description">{{ product.name }}</h2>\n <p class="text-right text-muted small">{{ product.code }}</p>\n <p class="product-description">\n {{ product.short_description }}\n <br/>\n <br/>\n {{ product.description }}\n \n </p>\n {% set attributes = getAttributes(product.id) %}\n {% for attribute in attributes %}\n <p class="mb-0">{{attribute.name|capitalize}}: {{attribute.text_value}}</p>\n {% endfor %}\n {# <div class="product-price">\n <span>{{ product.price*0.01 }} €</span>\n </div> #}\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n {% endblock main %} """ #message: "Impossible to access an attribute ("lv1_parent_id") on a null variable." #code: 0 #file: "/var/www/html/primantilles/public/theme/primantilles/product.twig" #line: 10 : { { twig_get_attribute(Environment $env, Source $source, $object, $item, array $arguments = [], $type = 'any', $isDefinedTest = false, $ignoreStrictCheck = false, $sandboxed = false, int $lineno = -1) … › |
logger | Symfony\Bridge\Monolog\Logger {#215 …8} |
zone | "nowhere" |
Request Headers
Header | Value |
---|---|
accept | "*/*" |
accept-encoding | "gzip, deflate, br" |
content-length | "" |
content-type | "" |
from | "bingbot(at)microsoft.com" |
host | "primantilles.com" |
user-agent | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/116.0.1938.76 Safari/537.36" |
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, 21 Nov 2024 13:07:01 GMT" |
x-debug-exception | "Impossible%20to%20access%20an%20attribute%20%28%22lv1_parent_id%22%29%20on%20a%20null%20variable." |
x-debug-exception-file | "%2Fvar%2Fwww%2Fhtml%2Fprimantilles%2Fpublic%2Ftheme%2Fprimantilles%2Fproduct.twig:10" |
x-debug-token | "f0a043" |
Cookies
Request Cookies
No request cookies
Response Cookies
No response cookies
Session 7
Session Metadata
No session metadata
Session Attributes
No session attributes
Session Usage
7
Usages
Stateless check enabled
Usage |
---|
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:44
[ [ "file" => "/var/www/html/primantilles/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php" "line" => 44 "function" => "getMetadataBag" "class" => "Symfony\Component\HttpFoundation\Session\Session" "type" => "->" ] [ "file" => "/var/www/html/primantilles/vendor/symfony/security-http/Firewall/AccessListener.php" "line" => 87 "function" => "getToken" "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage" "type" => "->" ] [ "file" => "/var/www/html/primantilles/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php" "line" => 49 "function" => "authenticate" "class" => "Symfony\Component\Security\Http\Firewall\AccessListener" "type" => "->" ] [ "file" => "/var/www/html/primantilles/vendor/symfony/security-http/Firewall/AbstractListener.php" "line" => 26 "function" => "authenticate" "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener" "type" => "->" ] [ "file" => "/var/www/html/primantilles/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php" "line" => 73 "function" => "__invoke" "class" => "Symfony\Component\Security\Http\Firewall\AbstractListener" "type" => "->" ] [ "file" => "/var/www/html/primantilles/vendor/symfony/security-http/Firewall.php" "line" => 92 "function" => "callListeners" "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener" "type" => "->" ] [ "file" => "/var/www/html/primantilles/vendor/symfony/event-dispatcher/Debug/WrappedListener.php" "line" => 117 "function" => "onKernelRequest" "class" => "Symfony\Component\Security\Http\Firewall" "type" => "->" ] [ "file" => "/var/www/html/primantilles/vendor/symfony/event-dispatcher/EventDispatcher.php" "line" => 230 "function" => "__invoke" "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener" "type" => "->" ] [ "file" => "/var/www/html/primantilles/vendor/symfony/event-dispatcher/EventDispatcher.php" "line" => 59 "function" => "callListeners" "class" => "Symfony\Component\EventDispatcher\EventDispatcher" "type" => "->" ] [ "file" => "/var/www/html/primantilles/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php" "line" => 154 "function" => "dispatch" "class" => "Symfony\Component\EventDispatcher\EventDispatcher" "type" => "->" ] [ "file" => "/var/www/html/primantilles/vendor/symfony/http-kernel/HttpKernel.php" "line" => 128 "function" => "dispatch" "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher" "type" => "->" ] [ "file" => "/var/www/html/primantilles/vendor/symfony/http-kernel/HttpKernel.php" "line" => 74 "function" => "handleRaw" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/var/www/html/primantilles/vendor/symfony/http-kernel/Kernel.php" "line" => 202 "function" => "handle" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/var/www/html/primantilles/public/index.php" "line" => 44 "function" => "handle" "class" => "Symfony\Component\HttpKernel\Kernel" "type" => "->" ] ] |
Flashes
Flashes
No flash messages were created.
Server Parameters
Server Parameters
Defined in .env
Key | Value |
---|---|
APP_DEBUG | "1" |
APP_ENV | "dev" |
APP_SECRET | "a66a8340cb48caf34c031d6e3bf69f39" |
CACHE_KEY | "62" |
CORS_ALLOW_ORIGIN | "^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$" |
DATABASE_PRODUCTS | "gourmetshop24" |
DATABASE_PRODUCTS_PWD | "7WqDzB4c0F8sL0unZRPM" |
DATABASE_PRODUCTS_USER | "gourmetshop" |
DATABASE_URL | "mysql://primantillescom:uszJjR3YEa2dGACW@localhost:3306/primantilles_bolt5?serverVersion=14.14" |
MAILER_DSN | "smtp://localhost" |
RECAPTCHA_SECRET | "6LcVGlQbAAAAANSBGuYjdGC8vx31vHmdwSTrNtAd" |
SIB_API_KEY | "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" |
Defined as regular env variables
Key | Value |
---|---|
CONTENT_LENGTH | "" |
CONTENT_TYPE | "" |
DOCUMENT_ROOT | "/var/www/html/primantilles/public" |
DOCUMENT_URI | "/index.php" |
FCGI_ROLE | "RESPONDER" |
GATEWAY_INTERFACE | "CGI/1.1" |
HOME | "/var/www" |
HTTPS | "on" |
HTTP_ACCEPT | "*/*" |
HTTP_ACCEPT_ENCODING | "gzip, deflate, br" |
HTTP_FROM | "bingbot(at)microsoft.com" |
HTTP_HOST | "primantilles.com" |
HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/116.0.1938.76 Safari/537.36" |
PHP_SELF | "/index.php" |
QUERY_STRING | "" |
REDIRECT_STATUS | "200" |
REMOTE_ADDR | "52.167.144.203" |
REMOTE_PORT | "56716" |
REQUEST_METHOD | "GET" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1732194420 |
REQUEST_TIME_FLOAT | 1732194420.8873 |
REQUEST_URI | "/product/veacg/rognons-de-veau_12036" |
SCRIPT_FILENAME | "/var/www/html/primantilles/public/index.php" |
SCRIPT_NAME | "/index.php" |
SERVER_ADDR | "134.209.192.133" |
SERVER_NAME | "www.primantilles.com" |
SERVER_PORT | "443" |
SERVER_PROTOCOL | "HTTP/1.1" |
SERVER_SOFTWARE | "nginx/1.14.0" |
SYMFONY_DOTENV_VARS | "APP_ENV,APP_DEBUG,APP_SECRET,DATABASE_URL,DATABASE_PRODUCTS,DATABASE_PRODUCTS_USER,DATABASE_PRODUCTS_PWD,MAILER_DSN,CORS_ALLOW_ORIGIN,SIB_API_KEY,RECAPTCHA_SECRET,CACHE_KEY" |
USER | "www-data" |
Parent Request
Return to parent request (token = 13d6c2)
Key | Value |
---|---|
_controller | "App\Controller\ProductController::productAction" |
_firewall_context | "security.firewall.map.context.main" |
_links | Fig\Link\GenericLinkProvider {#3423 -links: [ "000000003026d940000000000834b567" => Fig\Link\Link {#3422 -href: "https://primantilles.com/api/docs.jsonld" -rel: [ "http://www.w3.org/ns/hydra/core#apiDocumentation" => true ] -attributes: [] } ] } |
_remove_csp_headers | true |
_route | "product_single" |
_route_params | [ "rayon" => "veacg" "code" => "rognons-de-veau_12036" ] |
_security_firewall_run | "_security_main" |
_stopwatch_token | "11fd3f" |
code | "rognons-de-veau_12036" |
rayon | "veacg" |
zone | "frontend" |