https://preprod-laroche.delit-dinfluence.fr/blog/?amp%253Bpage%3D1%26amp%253Bpage%25253D1%3D%253D%26page%3D3=&page=2

ErrorController

Request

GET Parameters

Key Value
amp%3Bpage=1&amp%3Bpage%253D1=%3D&page=3
""
page
"2"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"error_controller"
_stopwatch_token
"123bde"
exception
Twig\Error\RuntimeError {#1123
  -lineno: 69
  -name: "blog_article/index.html.twig"
  -rawMessage: "An exception has been thrown during the rendering of a template ("Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13)")."
  -sourcePath: "/home/debian/www/laroche-associes/preproduction/templates/blog_article/index.html.twig"
  -sourceCode: """
    {% extends 'base.html.twig' %}\n
    \n
    {% block title %}{{ setting.siteName }} : Blog{% endblock %}\n
    \n
    {% block body %}\n
    {# <h1>BlogArticle index</h1>\n
    \n
        <table class="table">\n
            <thead>\n
                <tr>\n
                    <th>Id</th>\n
                    <th>Title</th>\n
                    <th>Content</th>\n
                    <th>Image</th>\n
                    <th>Video</th>\n
                    <th>CreatedAt</th>\n
                    <th>UpdatedAt</th>\n
                    <th>IsEnabled</th>\n
                    <th>Slug</th>\n
                    <th>actions</th>\n
                </tr>\n
            </thead>\n
            <tbody>\n
            {% for blog_article in blog_articles %}\n
                <tr>\n
                    <td>{{ blog_article.id }}</td>\n
                    <td>{{ blog_article.title }}</td>\n
                    <td>{{ blog_article.content }}</td>\n
                    <td>{{ blog_article.image }}</td>\n
                    <td>{{ blog_article.video }}</td>\n
                    <td>{{ blog_article.createdAt ? blog_article.createdAt|date('Y-m-d H:i:s') : '' }}</td>\n
                    <td>{{ blog_article.updatedAt ? blog_article.updatedAt|date('Y-m-d H:i:s') : '' }}</td>\n
                    <td>{{ blog_article.isEnabled ? 'Yes' : 'No' }}</td>\n
                    <td>{{ blog_article.slug }}</td>\n
                    <td>\n
                        <a href="{{ path('app_blog_article_show', {'id': blog_article.id}) }}">show</a>\n
                        <a href="{{ path('app_blog_article_edit', {'id': blog_article.id}) }}">edit</a>\n
                    </td>\n
                </tr>\n
            {% else %}\n
                <tr>\n
                    <td colspan="10">no records found</td>\n
                </tr>\n
            {% endfor %}\n
            </tbody>\n
        </table>\n
    \n
        <a href="{{ path('app_blog_article_new') }}">Create new</a> #}\n
    \n
    <section class="container py-5">\n
    \n
        <div class="row">\n
            <div class="col">\n
                {# Breadcrumbs #}\n
                <div class="row">\n
                    <div class="col small">\n
                        <nav style="--bs-breadcrumb-divider: url(&#34;data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='%236c757d'/%3E%3C/svg%3E&#34;);"\n
                            aria-label="breadcrumb">\n
                            <ol class="breadcrumb small">\n
                                <li class="breadcrumb-item"><a href="{{ path('app_home') }}" class="text-decoration-none text-dark">Accueil</a></li>\n
                                <li class="breadcrumb-item active" aria-current="page">Blog</li>\n
                            </ol>\n
                        </nav>\n
                    </div>\n
                </div>\n
            </div>\n
        </div>\n
    \n
        {% for message in app.flashes('success') %}\n
            <div class="alert alert-success alert-dismissible fade show text-center mt-4 mb-5" role="alert">\n
                {{ message }}\n
                <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>\n
            </div>\n
        {% endfor %}\n
    \n
        {% for message in app.flashes('email_not_exists') %}\n
            <div class="alert alert-danger alert-dismissible fade show text-center mt-4 mb-5" role="alert">\n
                {{ message }}\n
                <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>\n
            </div>\n
        {% endfor %}\n
    \n
        {% for message in app.flashes('unsubscribe') %}\n
            <div class="alert alert-success alert-dismissible fade show text-center mt-4 mb-5" role="alert">\n
                {{ message }}\n
                <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>\n
            </div>\n
        {% endfor %}\n
    \n
        <h1 class="text-center mb-2 color1 fw-700 text-uppercase" data-aos="fade-down" data-aos-duration="2000">Blog</h1>\n
        <div class="row row-cols-1 row-cols-md-3 g-4 mt-3">\n
            {% for article in articles %}\n
                <div class="col blog-cards">\n
                    <div class="card h-100">\n
                        <img src="{{ asset('assets/img/articles/' ~ article.image ) }}" class="card-img-top img-fluid shadow" data-aos="flip-right" data-aos-duration="2000" alt="{{ article.title }}">\n
                        <div class="card-body">\n
                            <h5 class="card-title">\n
                                <a href="{{ path('app_blog_article_show', {'slug': article.slug}) }}" class="text-decoration-none color1 text-uppercase fw-bold">\n
                                    {{ article.title }}\n
                                </a>\n
                            </h5>\n
                            <p class="text-xsmall color1">\n
                                Publié le {{ article.createdAt|date('d-m-Y') }}\n
                                {% if article.updatedAt != null %}\n
                                    | Mis à jour le {{ article.updatedAt|date('d-m-Y') }}\n
                                {% endif %}\n
                                <br>Catégorie :\n
                                <a href="{{ path('app_blog_category_show', {'slug': article.category.slug}) }}" class="text-decoration-none color2">\n
                                    {{ article.category.title }}\n
                                </a>\n
                            </p>\n
                            <p class="card-text">{{ article.content|replace({'<div>': '', '</div>': '', '<p>': '', '</p>': '',})|slice(0,200)|raw }}...</p>\n
                        </div>\n
                        <div class="card-footer">\n
                            <a href="{{ path('app_blog_article_show', {'slug': article.slug}) }}" class="text-decoration-none">\n
                                <span class="button-difference text-uppercase">Lire la suite</span>\n
                            </a>\n
                        </div>\n
                    </div>\n
                </div>\n
            {% endfor %}\n
        </div>\n
    \n
        <div class="row mt-5">\n
            <div class="col navigation d-flex justify-content-center">\n
                {{ knp_pagination_render(articles) }}\n
            </div>\n
        </div>\n
    \n
    </section>\n
    \n
    {% endblock %}
    """
  #message: "An exception has been thrown during the rendering of a template ("Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13)")."
  #code: 0
  #file: "/home/debian/www/laroche-associes/preproduction/templates/blog_article/index.html.twig"
  #line: 69
  -previous: ErrorException {#325 …}
  trace: {
    /home/debian/www/laroche-associes/preproduction/templates/blog_article/index.html.twig:69 {
      Twig\Template->displayBlock($name, array $context, array $blocks = [], $useBlocks = true, self $templateContext = null) …
      › 
      › {% for message in app.flashes('success') %}    <div class="alert alert-success alert-dismissible fade show text-center mt-4 mb-5" role="alert">
    }
    /home/debian/www/laroche-associes/preproduction/var/cache/dev/twig/7b/7bb3276e0acc93f970f388a176ad8ac697f86a3c42173687638d492926159855.php:296 {
      __TwigTemplate_901e1730b6a3e768ff67b5766c26c81ef8d367b8a244af4994d5e0e13aefba5e->doDisplay(array $context, array $blocks = []) …
      › echo "    ";$this->displayBlock('body', $context, $blocks);// line 127
    }
    /home/debian/www/laroche-associes/preproduction/vendor/twig/twig/src/Template.php:394 {
      Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
      › try {    $this->doDisplay($context, $blocks);} catch (Error $e) {
    }
    /home/debian/www/laroche-associes/preproduction/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));}
    }
    /home/debian/www/laroche-associes/preproduction/var/cache/dev/twig/6b/6bd793f42bf3b78eee7fe0feb58d3bba16062ee75318939478fef9ec4f4c91ed.php:49 {
      __TwigTemplate_78e000175f2701ab9c43eb03b84e4b655b0df2069083fa6adb98e2830d01088a->doDisplay(array $context, array $blocks = []) …
      › $this->parent = $this->loadTemplate("base.html.twig", "blog_article/index.html.twig", 1);$this->parent->display($context, array_merge($this->blocks, $blocks));}
    /home/debian/www/laroche-associes/preproduction/vendor/twig/twig/src/Template.php:394 {
      Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
      › try {    $this->doDisplay($context, $blocks);} catch (Error $e) {
    }
    /home/debian/www/laroche-associes/preproduction/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));}
    }
    /home/debian/www/laroche-associes/preproduction/vendor/twig/twig/src/Template.php:379 {
      Twig\Template->render(array $context) …
      › try {    $this->display($context);} catch (\Throwable $e) {
    }
    /home/debian/www/laroche-associes/preproduction/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] ?? []);}
    }
    /home/debian/www/laroche-associes/preproduction/vendor/twig/twig/src/Environment.php:277 {
      Twig\Environment->render($name, array $context = []): string …
      › {    return $this->load($name)->render($context);}
    }
    /home/debian/www/laroche-associes/preproduction/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);}
    }
    /home/debian/www/laroche-associes/preproduction/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);}
    /home/debian/www/laroche-associes/preproduction/src/Controller/BlogArticleController.php:50 {
      App\Controller\BlogArticleController->index(BlogArticleRepository $blogArticleRepository, SettingRepository $settingRepository, LabelRepository $labelRepository, EntityManagerInterface $em, Request $request, PaginatorInterface $paginator): Response …
      ›     'labels' => $labelRepository->findAll(),    'pageTitle' => 'blog']);
    }
    /home/debian/www/laroche-associes/preproduction/vendor/symfony/http-kernel/HttpKernel.php:152 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /home/debian/www/laroche-associes/preproduction/vendor/symfony/http-kernel/HttpKernel.php:74 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
    }
    /home/debian/www/laroche-associes/preproduction/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 {
    }
    /home/debian/www/laroche-associes/preproduction/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
    }
    /home/debian/www/laroche-associes/preproduction/vendor/autoload_runtime.php:35 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /home/debian/www/laroche-associes/preproduction/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/home/debian/www/laroche-associes/preproduction/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#81 …8}

Request Headers

Header Value
accept-encoding
"gzip,deflate"
connection
"close"
host
"preprod-laroche.delit-dinfluence.fr"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Amazonbot/0.1; +https://developer.amazon.com/support/amazonbot) Chrome/119.0.6045.214 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, 30 Jan 2025 23:31:19 GMT"
x-debug-exception
"An%20exception%20has%20been%20thrown%20during%20the%20rendering%20of%20a%20template%20%28%22Notice%3A%20SessionHandler%3A%3Agc%28%29%3A%20ps_files_cleanup_dir%3A%20opendir%28%2Fvar%2Flib%2Fphp%2Fsessions%29%20failed%3A%20Permission%20denied%20%2813%29%22%29."
x-debug-exception-file
"%2Fhome%2Fdebian%2Fwww%2Flaroche-associes%2Fpreproduction%2Ftemplates%2Fblog_article%2Findex.html.twig:69"
x-debug-token
"234949"

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
"18b1bce5554bf83c8cdfc8efed2236ec"
DATABASE_URL
"mysql://larocheassocies:CVS94ledwF7WPsty@127.0.0.1:3306/larocheassocies"
MAILER_DSN
"smtp://web1@delit-dinfluence.fr:5b6n78CQiZ7ZtA4e@ssl0.ovh.net:465"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/home/debian/www/laroche-associes/preproduction/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/debian/www/laroche-associes/preproduction/public"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT_ENCODING
"gzip,deflate"
HTTP_CONNECTION
"close"
HTTP_HOST
"preprod-laroche.delit-dinfluence.fr"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Amazonbot/0.1; +https://developer.amazon.com/support/amazonbot) Chrome/119.0.6045.214 Safari/537.36"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_SELF
"/index.php"
QUERY_STRING
"amp%253Bpage%3D1%26amp%253Bpage%25253D1%3D%253D%26page%3D3=&page=2"
REMOTE_ADDR
"3.224.205.25"
REMOTE_PORT
"10678"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1738279879
REQUEST_TIME_FLOAT
1738279879.2512
REQUEST_URI
"/blog/?amp%253Bpage%3D1%26amp%253Bpage%25253D1%3D%253D%26page%3D3=&page=2"
SCRIPT_FILENAME
"/home/debian/www/laroche-associes/preproduction/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"51.178.143.171"
SERVER_ADMIN
"webmaster@localhost"
SERVER_NAME
"preprod-laroche.delit-dinfluence.fr"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.62 (Debian) Server at preprod-laroche.delit-dinfluence.fr Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.62 (Debian)"
SSL_TLS_SNI
"preprod-laroche.delit-dinfluence.fr"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,MESSENGER_TRANSPORT_DSN,DATABASE_URL,MAILER_DSN"

Parent Request

Return to parent request (token = 8612fd)

Key Value
_controller
"App\Controller\BlogArticleController::index"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"app_blog_article_index"
_route_params
[]
_security_firewall_run
"_security_main"
_stopwatch_token
"8b7317"