https://spidertec.fr/preview/service/7

ErrorController

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"error_controller"
_stopwatch_token
"ab1b14"
exception
Twig\Error\RuntimeError {#1228
  #message: "An exception has been thrown during the rendering of a template ("Warning: Undefined array key "HTTP_ACCEPT"")."
  #code: 0
  #file: "/var/www/vhosts/bsbroyalconstruction.fr/spidertec.fr/httpdocs/templates/composantsPages/homeComponents/preview/service.html.twig"
  #line: 13
  -previous: ErrorException {#1220 …}
  -lineno: 13
  -name: "composantsPages/homeComponents/preview/service.html.twig"
  -rawMessage: "An exception has been thrown during the rendering of a template ("Warning: Undefined array key "HTTP_ACCEPT"")."
  -sourcePath: "/var/www/vhosts/bsbroyalconstruction.fr/spidertec.fr/httpdocs/templates/composantsPages/homeComponents/preview/service.html.twig"
  -sourceCode: """
    <section id="page-content" class="sidebar-right">\n
        <div class="container">\n
            <div class="row">\n
    \n
                <div class="content col-lg-9">\n
    \n
                    <div id="service" class="single-post">\n
    \n
                        <div class="post-item">\n
                            <div class="post-item-wrap">\n
                                <div class="post-image">\n
                                    <a href="">\n
                                        <img alt="{{ service.altDescription }}" {{ responsive_src(asset('images/upload/' ~ service.image)) | raw }}>\n
                                    </a>\n
                                </div>\n
                                <div class="post-item-description">\n
                                    <h2>{{ service.titre }}</h2>\n
                                    <div class="service-content">\n
                                        <div>{{ service.displayContent | raw }}</div>\n
                                    </div>\n
                                </div>\n
                                <div class="post-navigation">\n
                                    {% if previousService is not null %}\n
                                        <a href="{{ path('service',{'id' : previousService.id}) }}" class="post-prev">\n
                                            <div class="post-prev-title"><span>{{ 'components.service_preview.previous' | admintrans | raw }}</span>{{ previousService.titre }}</div>\n
                                        </a>\n
                                    {% endif %}\n
                                    <a href="{{ path('services') }}" class="post-all">\n
                                        <i class="icon-grid"> </i>\n
                                    </a>\n
                                    {% if nextService is not null %}\n
                                        <a href="{{ path('service',{'id' : nextService.id}) }}" class="post-next">\n
                                            <div class="post-next-title"><span>{{ 'components.service_preview.next' | admintrans | raw }}</span>{{ nextService.titre }}</div>\n
                                        </a>\n
                                    {% endif %}\n
                                </div>\n
    \n
                            </div>\n
                        </div>\n
    \n
                    </div>\n
                </div>\n
    \n
    \n
                <div class="sidebar sticky-sidebar col-lg-3">\n
    \n
                    <div class="widget">\n
                        <h2 class="widget-title">{{ 'components.service_preview.other' | admintrans | raw }}</h2>\n
                        <div class="post-thumbnail-list">\n
                            {% for service in otherServices %}\n
                                <div class="post-thumbnail-entry">\n
                                    <img alt="{{ service.altDescription }}" {{ responsive_src(asset('images/upload/' ~ service.image)) | raw }}>\n
                                    <div class="post-thumbnail-content">\n
                                        <a href="{{ path('service',{'id' : service.id}) }}">{{ service.titre }}</a>\n
                                    </div>\n
                                </div>\n
                            {% endfor %}\n
    \n
                        </div>\n
                    </div>\n
                </div>\n
            </div>\n
        </div>\n
    </section>\n
    """
  trace: {
    /var/www/vhosts/bsbroyalconstruction.fr/spidertec.fr/httpdocs/templates/composantsPages/homeComponents/preview/service.html.twig:13 {
      Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
      › <a href="">    <img alt="{{ service.altDescription }}" {{ responsive_src(asset('images/upload/' ~ service.image)) | raw }}></a>
    }
    /var/www/vhosts/bsbroyalconstruction.fr/spidertec.fr/httpdocs/vendor/twig/twig/src/Template.php:367 {
      Twig\Template->display(array $context, array $blocks = []) …
      › {    $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));}
    }
    /var/www/vhosts/bsbroyalconstruction.fr/spidertec.fr/httpdocs/vendor/twig/twig/src/Template.php:379 {
      Twig\Template->render(array $context) …
      › try {    $this->display($context);} catch (\Throwable $e) {
    }
    /var/www/vhosts/bsbroyalconstruction.fr/spidertec.fr/httpdocs/vendor/twig/twig/src/TemplateWrapper.php:40 {
      Twig\TemplateWrapper->render(array $context = []): string …
      ›     // as it should only be used by internal code    return $this->template->render($context, \func_get_args()[1] ?? []);}
    }
    /var/www/vhosts/bsbroyalconstruction.fr/spidertec.fr/httpdocs/vendor/twig/twig/src/Environment.php:277 {
      Twig\Environment->render($name, array $context = []): string …
      › {    return $this->load($name)->render($context);}
    }
    /var/www/vhosts/bsbroyalconstruction.fr/spidertec.fr/httpdocs/vendor/symfony/framework-bundle/Controller/AbstractController.php:258 {
      Symfony\Bundle\FrameworkBundle\Controller\AbstractController->renderView(string $view, array $parameters = []): string …
      › 
      ›     return $this->container->get('twig')->render($view, $parameters);}
    }
    /var/www/vhosts/bsbroyalconstruction.fr/spidertec.fr/httpdocs/vendor/symfony/framework-bundle/Controller/AbstractController.php:266 {
      Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render(string $view, array $parameters = [], Response $response = null): Response …
      › {    $content = $this->renderView($view, $parameters);}
    /var/www/vhosts/bsbroyalconstruction.fr/spidertec.fr/httpdocs/src/Controller/WebsiteController.php:315 {
      App\Controller\WebsiteController->previewService(Service $service, ServiceRepository $serviceRepository, GeneralRepository $generalRepository): Response …
      ›         'previousService' => $previousService,        'otherServices' => $otherServices]);}
    }
    /var/www/vhosts/bsbroyalconstruction.fr/spidertec.fr/httpdocs/vendor/symfony/http-kernel/HttpKernel.php:153 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /var/www/vhosts/bsbroyalconstruction.fr/spidertec.fr/httpdocs/vendor/symfony/http-kernel/HttpKernel.php:75 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
    }
    /var/www/vhosts/bsbroyalconstruction.fr/spidertec.fr/httpdocs/vendor/symfony/http-kernel/Kernel.php:202 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /var/www/vhosts/bsbroyalconstruction.fr/spidertec.fr/httpdocs/public/index.php:20 {$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#120 …8}

Request Headers

Header Value
accept-encoding
"identity"
connection
"close"
host
"spidertec.fr"
user-agent
"Go-http-client/1.1"
x-php-ob-level
"1"
x-real-ip
"175.22.83.232"

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
"Mon, 16 Sep 2024 19:57:29 GMT"
x-debug-exception
"An%20exception%20has%20been%20thrown%20during%20the%20rendering%20of%20a%20template%20%28%22Warning%3A%20Undefined%20array%20key%20%22HTTP_ACCEPT%22%22%29."
x-debug-exception-file
"%2Fvar%2Fwww%2Fvhosts%2Fbsbroyalconstruction.fr%2Fspidertec.fr%2Fhttpdocs%2Ftemplates%2FcomposantsPages%2FhomeComponents%2Fpreview%2Fservice.html.twig:13"
x-debug-token
"80f309"

Cookies

Request Cookies

No request cookies

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
"3a3c89633a3231aa4f2b0f2e2c66022a"
DATABASE_URL
"mysql://spidertech:Rn88fr_2@localhost:3306/spidertech_?server_version: mariadb-10.3.25"
MAILER_DSN
"native://default"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/bsbroyalconstruction.fr/spidertec.fr/httpdocs/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/vhosts/bsbroyalconstruction.fr/spidertec.fr/httpdocs/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www/vhosts/bsbroyalconstruction.fr"
HTTPS
"on"
HTTP_ACCEPT_ENCODING
"identity"
HTTP_CONNECTION
"close"
HTTP_HOST
"spidertec.fr"
HTTP_USER_AGENT
"Go-http-client/1.1"
HTTP_X_REAL_IP
"175.22.83.232"
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_STATUS
"200"
REDIRECT_UNIQUE_ID
"ZuiNqfiYT0wUbT5slI39ZQAAAAA"
REDIRECT_URL
"/preview/service/7"
REMOTE_ADDR
"175.22.83.232"
REMOTE_PORT
"34556"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1726516649
REQUEST_TIME_FLOAT
1726516649.7087
REQUEST_URI
"/preview/service/7"
SCRIPT_FILENAME
"/var/www/vhosts/bsbroyalconstruction.fr/spidertec.fr/httpdocs/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"82.165.59.124"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"spidertec.fr"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.0"
SERVER_SIGNATURE
"<address>Apache Server at spidertec.fr Port 443</address>\n"
SERVER_SOFTWARE
"Apache"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,MAILER_DSN"
UNIQUE_ID
"ZuiNqfiYT0wUbT5slI39ZQAAAAA"
USER
"bsb"
proxy-nokeepalive
"1"

Parent Request

Return to parent request (token = 580746)

Key Value
_controller
"App\Controller\WebsiteController::previewService"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"preview-service"
_route_params
[
  "id" => "7"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"d6a1c3"
id
"7"
service
App\Entity\Service {#1200
  -id: 7
  -titre: "Isolation"
  -contenu: "<div>Pour prévenir toute perte de calories et aller au-delà de la réglementation thermique RT2012, nous employons les matériaux les plus performants dans des épaisseurs plus que suffisantes pour assurer une hyper isolation, aussi bien l’hiver que l’été.</div>"
  -image: "220920221663836039-Sans titre (6).png"
  -altDescription: "Isolation"
}