https://thelesscompany.co.uk/blog/blog/or

BlogController :: post

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\BlogController::post"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"blog-post"
_route_params
[
  "slug" => "blog/or"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"0da14a"
slug
"blog/or"

Request Headers

Header Value
accept
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
accept-encoding
"gzip, deflate"
accept-language
"en"
connection
"Close"
host
"thelesscompany.co.uk"
referer
"https://thelesscompany.co.uk/blog/2"
user-agent
"Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)"
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
"Wed, 31 Dec 2025 09:06:33 GMT"
x-debug-exception
"Impossible%20to%20access%20an%20attribute%20%28%22id%22%29%20on%20a%20null%20variable."
x-debug-exception-file
"%2Fvar%2Fwww%2Ftlc%2Ftemplates%2Fdefault%2Fblog.post.html.twig:14"
x-debug-token
"ab14dd"
x-debug-token-link
"https://thelesscompany.co.uk/_profiler/f6e641"
x-previous-debug-token
"f6e641"
x-robots-tag
"noindex"

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_EMAILS_NOTIFY
"yuri@softlab.in.ua;john.marchant@business360.com"
APP_EMAIL_TEST_MODE
"0"
APP_ENV
"dev"
APP_FAVICON
"favicon-32.png"
APP_SECRET
"c81da95cd2a0eb6bf8358bc07a06863f"
BLOG_ENABLE_CACHE
"1"
BLOG_IMAGES_CONTENT
"https://i.thelesscompany.co.uk/movetoless.co.uk/mageplaza/blog/post/"
BLOG_IMAGES_MAIN
"https://i.thelesscompany.co.uk/movetoless.co.uk/media/"
DATABASE_URL
"mysql://usr:wendOur33@127.0.0.1:3306/less?serverVersion=mariadb-10.5.9"
MAILER_DSN
"smtp://byebyeplastic%40movetoless.com:%21k45ijn9c89A%40sjed@mail.movetoless.org?encryption=null&auth_mode=plain&verify_peer=0"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/www/tlc/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/tlc/public"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_ACCEPT_ENCODING
"gzip, deflate"
HTTP_ACCEPT_LANGUAGE
"en"
HTTP_CONNECTION
"Close"
HTTP_HOST
"thelesscompany.co.uk"
HTTP_REFERER
"https://thelesscompany.co.uk/blog/2"
HTTP_USER_AGENT
"Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)"
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_SCRIPT_URI
"https://thelesscompany.co.uk/blog/blog/or"
REDIRECT_SCRIPT_URL
"/blog/blog/or"
REDIRECT_SSL_TLS_SNI
"thelesscompany.co.uk"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/blog/blog/or"
REMOTE_ADDR
"114.119.133.46"
REMOTE_PORT
"51433"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1767171993
REQUEST_TIME_FLOAT
1767171993.8227
REQUEST_URI
"/blog/blog/or"
SCRIPT_FILENAME
"/var/www/tlc/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://thelesscompany.co.uk/blog/blog/or"
SCRIPT_URL
"/blog/blog/or"
SERVER_ADDR
"10.0.1.4"
SERVER_ADMIN
"webmaster@localhost"
SERVER_NAME
"thelesscompany.co.uk"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.58 (Ubuntu) Server at thelesscompany.co.uk Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.58 (Ubuntu)"
SSL_TLS_SNI
"thelesscompany.co.uk"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,MESSENGER_TRANSPORT_DSN,DATABASE_URL,APP_FAVICON,MAILER_DSN,APP_EMAILS_NOTIFY,APP_EMAIL_TEST_MODE,BLOG_ENABLE_CACHE,BLOG_IMAGES_CONTENT,BLOG_IMAGES_MAIN"

Sub Requests 1

ErrorController (token = f6e641)

Key Value
_controller
"error_controller"
_stopwatch_token
"3ca711"
exception
Twig\Error\RuntimeError {#507
  -lineno: 14
  -name: "default/blog.post.html.twig"
  -rawMessage: "Impossible to access an attribute ("id") on a null variable."
  -sourcePath: "/var/www/tlc/templates/default/blog.post.html.twig"
  -sourceCode: """
    {% extends 'frontend.html.twig' %}\n
    \n
    {% block css2 %}\n
    {% endblock %}\n
    \n
    {% block nav %}\n
    <a class="black-text-1" href="{{ path('index') }}">Home</a>\n
    <a class="black-text-1" href="{{ path('blog') }}">Blog</a>\n
    {% endblock %}\n
    \n
    {% block body %}\n
    <div class="blog-posts">\n
        <div class="post-list-item">\n
            <div style="display:none">{{post.id}}</div>\n
            <div class="post-item-wraper">\n
                \n
                <div class="post-image">\n
                    <a href="{{ path('blog-post', {slug:post.url_key}) }}">\n
                        <img class="img-responsive" src="{{ post.image }}" alt="{{ post.name }}" />\n
                    </a>\n
                </div>\n
                \n
                <div class="post-info-wraper">\n
                    <h2 class="mp-post-title">\n
                        <a class="post-link-title green-text-1" title="{{ post.name }}" href="{{ path('blog-post', {slug:post.url_key}) }}">\n
                            {{ post.name }}\n
                        </a>\n
                    </h2>\n
                    <div class="mp-post-info">\n
                        <i class="mp-blog-icon mp-blog-calendar-times"></i> \n
                        {{ post.publish_date|date("M j, Y") }}| Posted in \n
                        <a class="mp-info green-text-1" href="{{ path('blog') }}">\n
                            {{ post.category.name }}</a>\n
                        | \n
                        <i class="mp-blog-icon mp-blog-user"></i> \n
                        <a class="mp-info green-text-1" target="_blank" href="{{ post.author_url }}">{{ post.author_name }}</a>\n
                        | \n
                        <i class="mp-blog-icon mp-blog-traffic" aria-hidden="true"></i> \n
                        {{ post.view_traffic }}\n
                    </div>\n
                    <div class="post-content">\n
                        {{ post.post_content|raw }}\n
                    </div>\n
                </div>\n
            </div>\n
        </div>\n
    </div>\n
    \n
    \n
    {% endblock %}\n
    """
  #message: "Impossible to access an attribute ("id") on a null variable."
  #code: 0
  #file: "/var/www/tlc/templates/default/blog.post.html.twig"
  #line: 14
  trace: {
    /var/www/tlc/templates/default/blog.post.html.twig:14 {
      twig_get_attribute(Environment $env, Source $source, $object, $item, array $arguments = [], $type = 'any', $isDefinedTest = false, $ignoreStrictCheck = false, $sandboxed = false, int $lineno = -1) …
      › <div class="post-list-item">    <div style="display:none">{{post.id}}</div>    <div class="post-item-wraper">
    }
    /var/www/tlc/templates/default/blog.post.html.twig:14 {
      __TwigTemplate_cbbdc11b13f8c8125150bd0127e05aff161ad17cf79e268f90cf859a01658c7f->block_body($context, array $blocks = []) …
      › <div class="post-list-item">    <div style="display:none">{{post.id}}</div>    <div class="post-item-wraper">
    }
    /var/www/tlc/vendor/twig/twig/src/Template.php:171 {
      Twig\Template->displayBlock($name, array $context, array $blocks = [], $useBlocks = true, self $templateContext = null) …
      › try {    $template->$block($context, $blocks);} catch (Error $e) {
    }
    /var/www/tlc/templates/frontend.html.twig:54 {
      __TwigTemplate_1f741a7861690f8bcd83ff79f30ea10debcca1b2f9f0e164f85c908307e851a9->doDisplay(array $context, array $blocks = []) …
      › 
      › {% block body %}{% endblock %}}
    /var/www/tlc/vendor/twig/twig/src/Template.php:394 {
      Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
      › try {    $this->doDisplay($context, $blocks);} catch (Error $e) {
    }
    /var/www/tlc/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/tlc/var/cache/dev/twig/34/346ffa24f56977b5610457d43727747b8babaa58f2087bd570a96a9b275af0d8.php:50 {
      __TwigTemplate_cbbdc11b13f8c8125150bd0127e05aff161ad17cf79e268f90cf859a01658c7f->doDisplay(array $context, array $blocks = []) …
      › $this->parent = $this->loadTemplate("frontend.html.twig", "default/blog.post.html.twig", 1);$this->parent->display($context, array_merge($this->blocks, $blocks));}
    /var/www/tlc/vendor/twig/twig/src/Template.php:394 {
      Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
      › try {    $this->doDisplay($context, $blocks);} catch (Error $e) {
    }
    /var/www/tlc/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/tlc/vendor/twig/twig/src/Template.php:379 {
      Twig\Template->render(array $context) …
      › try {    $this->display($context);} catch (\Throwable $e) {
    }
    /var/www/tlc/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/tlc/vendor/twig/twig/src/Environment.php:277 {
      Twig\Environment->render($name, array $context = []): string …
      › {    return $this->load($name)->render($context);}
    }
    /var/www/tlc/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/tlc/src/Controller/BlogController.php:71 {
      App\Controller\BlogController->post(string $slug): Response …
      › $contents = $this->renderView( "default/blog.post.html.twig", [    'post' => $posts = $this->blogReader->getPostbySlug($slug)]);
    }
    /var/www/tlc/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);}
    /var/www/tlc/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) {
    }
    /var/www/tlc/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/tlc/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
    }
    /var/www/tlc/vendor/autoload_runtime.php:35 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/tlc/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/tlc/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#34 …8}