BlogController :: postShow
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::postShow" |
_firewall_context | "security.firewall.map.context.main" |
_locale | "ar" |
_remove_csp_headers | true |
_route | "blog_post" |
_route_params | [ "_locale" => "ar" "slug" => "sunt-seculaes-transferre-talis-camerarius-fluctuies" ] |
_security_firewall_run | "_security_main" |
_stopwatch_token | "94d29c" |
post | App\Entity\Post {#517 -id: 26 -title: "Sunt seculaes transferre talis camerarius fluctuies" -slug: "sunt-seculaes-transferre-talis-camerarius-fluctuies" -summary: "Morbi tempus commodo mattis. Teres talis saepe tractare de camerarius flavum sensorem. Ubi est barbatus nix. Ut suscipit posuere justo at vulputate. Sunt accentores vitare salvus flavum parses. Sunt torquises imitari velox mirabilis medicinaes." -content: """ Lorem ipsum dolor sit amet consectetur adipisicing elit, sed do eiusmod tempor\n incididunt ut labore et **dolore magna aliqua**: Duis aute irure dolor in\n reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.\n Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia\n deserunt mollit anim id est laborum.\n \n * Ut enim ad minim veniam\n * Quis nostrud exercitation *ullamco laboris*\n * Nisi ut aliquip ex ea commodo consequat\n \n Praesent id fermentum lorem. Ut est lorem, fringilla at accumsan nec, euismod at\n nunc. Aenean mattis sollicitudin mattis. Nullam pulvinar vestibulum bibendum.\n Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos\n himenaeos. Fusce nulla purus, gravida ac interdum ut, blandit eget ex. Duis a\n luctus dolor.\n \n Integer auctor massa maximus nulla scelerisque accumsan. *Aliquam ac malesuada*\n ex. Pellentesque tortor magna, vulputate eu vulputate ut, venenatis ac lectus.\n Praesent ut lacinia sem. Mauris a lectus eget felis mollis feugiat. Quisque\n efficitur, mi ut semper pulvinar, urna urna blandit massa, eget tincidunt augue\n nulla vitae est.\n \n Ut posuere aliquet tincidunt. Aliquam erat volutpat. **Class aptent taciti**\n sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Morbi\n arcu orci, gravida eget aliquam eu, suscipit et ante. Morbi vulputate metus vel\n ipsum finibus, ut dapibus massa feugiat. Vestibulum vel lobortis libero. Sed\n tincidunt tellus et viverra scelerisque. Pellentesque tincidunt cursus felis.\n Sed in egestas erat.\n \n Aliquam pulvinar interdum massa, vel ullamcorper ante consectetur eu. Vestibulum\n lacinia ac enim vel placerat. Integer pulvinar magna nec dui malesuada, nec\n congue nisl dictum. Donec mollis nisl tortor, at congue erat consequat a. Nam\n tempus elit porta, blandit elit vel, viverra lorem. Sed sit amet tellus\n tincidunt, faucibus nisl in, aliquet libero. """ -publishedAt: DateTime @1645122037 {#515 : 2022-02-17 18:20:37.0 UTC (+00:00) } -author: Proxies\__CG__\App\Entity\User {#543 …} -comments: Doctrine\ORM\PersistentCollection {#563 …} -tags: Doctrine\ORM\PersistentCollection {#583 …} } |
slug | "sunt-seculaes-transferre-talis-camerarius-fluctuies" |
Request Headers
Header | Value |
---|---|
accept | "text/html,application/xhtml+xml,application/xml;q=0.9,image/heif,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" |
accept-encoding | "gzip, deflate, br" |
accept-language | "en-US,en;q=0.5" |
content-length | "" |
content-type | "" |
host | "nginx.main.demo-ongoing-symfony.de3.amazee.io" |
sec-fetch-dest | "document" |
sec-fetch-mode | "navigate" |
sec-fetch-site | "none" |
sec-fetch-user | "?1" |
upgrade-insecure-requests | "1" |
user-agent | "Mozilla/5.0 (Linux; Android 5.0) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; Bytespider; spider-feedback@bytedance.com)" |
x-forwarded-for | "47.128.118.237" |
x-forwarded-host | "nginx.main.demo-ongoing-symfony.de3.amazee.io" |
x-forwarded-port | "443" |
x-forwarded-proto | "https" |
x-forwarded-scheme | "https" |
x-php-ob-level | "1" |
x-real-ip | "47.128.118.237" |
x-request-id | "d860784f96f3b851c301de1c5d11a6b9" |
x-scheme | "https" |
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, 18 Dec 2024 09:09:14 GMT" |
x-debug-exception | "An%20exception%20has%20been%20thrown%20during%20the%20rendering%20of%20a%20template%20%28%22Unable%20to%20format%20message%20%28error%20%23-1%29%3A%20Message%20pattern%20is%20invalid.%22%29." |
x-debug-exception-file | "%2Fapp%2Ftemplates%2Fblog%2Fpost_show.html.twig:37" |
x-debug-token | "da6564" |
x-debug-token-link | "https://nginx.main.demo-ongoing-symfony.de3.amazee.io/_profiler/060123" |
x-previous-debug-token | "060123" |
x-robots-tag | "noindex" |
Cookies
Request Cookies
No request cookies
Response Cookies
No response cookies
Session 1
Session Metadata
No session metadata
Session Attributes
No session attributes
Session Usage
1
Usages
Stateless check enabled
Usage |
---|
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:44
[ [ "file" => "/app/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php" "line" => 44 "function" => "getMetadataBag" "class" => "Symfony\Component\HttpFoundation\Session\Session" "type" => "->" ] [ "file" => "/app/vendor/symfony/twig-bridge/AppVariable.php" "line" => 78 "function" => "getToken" "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage" "type" => "->" ] [ "file" => "/app/vendor/twig/twig/src/Extension/CoreExtension.php" "line" => 1544 "function" => "getUser" "class" => "Symfony\Bridge\Twig\AppVariable" "type" => "->" ] [ "file" => "/app/var/cache/dev/twig/cf/cf6ad2e77c931e5d07db17e851b124f0ea94725ae48c030dcf01fc1577f2c743.php" "line" => 261 "function" => "twig_get_attribute" ] [ "file" => "/app/vendor/twig/twig/src/Template.php" "line" => 171 "function" => "block_header" "class" => "__TwigTemplate_f6aab8cdb46530856c21ea542d64d5ed063d69afabcbdea95cac804a83801512" "type" => "->" ] [ "file" => "/app/var/cache/dev/twig/cf/cf6ad2e77c931e5d07db17e851b124f0ea94725ae48c030dcf01fc1577f2c743.php" "line" => 94 "function" => "displayBlock" "class" => "Twig\Template" "type" => "->" ] [ "file" => "/app/vendor/twig/twig/src/Template.php" "line" => 394 "function" => "doDisplay" "class" => "__TwigTemplate_f6aab8cdb46530856c21ea542d64d5ed063d69afabcbdea95cac804a83801512" "type" => "->" ] [ "file" => "/app/vendor/twig/twig/src/Template.php" "line" => 367 "function" => "displayWithErrorHandling" "class" => "Twig\Template" "type" => "->" ] [ "file" => "/app/var/cache/dev/twig/fd/fd432deb61f60bf629f76bc731421b27408e0b6b87feacb58ad12286bd991617.php" "line" => 50 "function" => "display" "class" => "Twig\Template" "type" => "->" ] [ "file" => "/app/vendor/twig/twig/src/Template.php" "line" => 394 "function" => "doDisplay" "class" => "__TwigTemplate_925da054963f57039d12834368ca1e6b964265eb25605cd076c177f436cb2408" "type" => "->" ] [ "file" => "/app/vendor/twig/twig/src/Template.php" "line" => 367 "function" => "displayWithErrorHandling" "class" => "Twig\Template" "type" => "->" ] [ "file" => "/app/vendor/twig/twig/src/Template.php" "line" => 379 "function" => "display" "class" => "Twig\Template" "type" => "->" ] [ "file" => "/app/vendor/twig/twig/src/TemplateWrapper.php" "line" => 40 "function" => "render" "class" => "Twig\Template" "type" => "->" ] [ "file" => "/app/vendor/twig/twig/src/Environment.php" "line" => 277 "function" => "render" "class" => "Twig\TemplateWrapper" "type" => "->" ] [ "file" => "/app/vendor/symfony/framework-bundle/Controller/AbstractController.php" "line" => 222 "function" => "render" "class" => "Twig\Environment" "type" => "->" ] [ "file" => "/app/vendor/symfony/framework-bundle/Controller/AbstractController.php" "line" => 230 "function" => "renderView" "class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController" "type" => "->" ] [ "file" => "/app/src/Controller/BlogController.php" "line" => 92 "function" => "render" "class" => "Symfony\Bundle\FrameworkBundle\Controller\AbstractController" "type" => "->" ] [ "file" => "/app/vendor/symfony/http-kernel/HttpKernel.php" "line" => 152 "function" => "postShow" "class" => "App\Controller\BlogController" "type" => "->" ] [ "file" => "/app/vendor/symfony/http-kernel/HttpKernel.php" "line" => 74 "function" => "handleRaw" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/app/vendor/symfony/http-kernel/Kernel.php" "line" => 202 "function" => "handle" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/app/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php" "line" => 35 "function" => "handle" "class" => "Symfony\Component\HttpKernel\Kernel" "type" => "->" ] [ "file" => "/app/vendor/autoload_runtime.php" "line" => 29 "function" => "run" "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner" "type" => "->" ] [ "file" => "/app/public/index.php" "line" => 5 "args" => [ "/app/vendor/autoload_runtime.php" ] "function" => "require_once" ] ] |
Flashes
Flashes
No flash messages were created.
Server Parameters
Server Parameters
Defined in .env
Key | Value |
---|---|
(no data) |
Defined as regular env variables
Key | Value |
---|---|
APP_DEBUG | "1" |
APP_ENV | "dev" |
APP_SECRET | "2ca64f8d83b9e89f5f19d672841d6bb8" |
BASH_ENV | "/home/.bashrc" |
CONTENT_LENGTH | "" |
CONTENT_TYPE | "" |
DATABASE_URL | "mysql://demo-on_SZ9WG:tiAOa1UTQH000NJ7a1G0zgKU@mariadb-9e4e4cc3-63f7-4658-97f4-e9edb49a8f98:3306/demo-ongoing-symfony-main_fjUMY" |
DOCUMENT_ROOT | "/app/public" |
DOCUMENT_URI | "/index.php" |
ENV | "/home/.bashrc" |
FCGI_ROLE | "RESPONDER" |
GATEWAY_INTERFACE | "CGI/1.1" |
GPG_KEYS | "528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544 F1F692238FBC1666E5A5CCD4199F9DFEF6FFBAFD" |
HOME | "/home" |
HOSTNAME | "nginx-8c4859b7b-s9q7k" |
HTTPS | "on" |
HTTP_ACCEPT | "text/html,application/xhtml+xml,application/xml;q=0.9,image/heif,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" |
HTTP_ACCEPT_ENCODING | "gzip, deflate, br" |
HTTP_ACCEPT_LANGUAGE | "en-US,en;q=0.5" |
HTTP_HOST | "nginx.main.demo-ongoing-symfony.de3.amazee.io" |
HTTP_SEC_FETCH_DEST | "document" |
HTTP_SEC_FETCH_MODE | "navigate" |
HTTP_SEC_FETCH_SITE | "none" |
HTTP_SEC_FETCH_USER | "?1" |
HTTP_UPGRADE_INSECURE_REQUESTS | "1" |
HTTP_USER_AGENT | "Mozilla/5.0 (Linux; Android 5.0) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; Bytespider; spider-feedback@bytedance.com)" |
HTTP_X_FORWARDED_FOR | "47.128.118.237" |
HTTP_X_FORWARDED_HOST | "nginx.main.demo-ongoing-symfony.de3.amazee.io" |
HTTP_X_FORWARDED_PORT | "443" |
HTTP_X_FORWARDED_PROTO | "https" |
HTTP_X_FORWARDED_SCHEME | "https" |
HTTP_X_REAL_IP | "47.128.118.237" |
HTTP_X_REQUEST_ID | "d860784f96f3b851c301de1c5d11a6b9" |
HTTP_X_SCHEME | "https" |
KUBERNETES_PORT | "tcp://172.20.0.1:443" |
KUBERNETES_PORT_443_TCP | "tcp://172.20.0.1:443" |
KUBERNETES_PORT_443_TCP_ADDR | "172.20.0.1" |
KUBERNETES_PORT_443_TCP_PORT | "443" |
KUBERNETES_PORT_443_TCP_PROTO | "tcp" |
KUBERNETES_SERVICE_HOST | "172.20.0.1" |
KUBERNETES_SERVICE_PORT | "443" |
KUBERNETES_SERVICE_PORT_HTTPS | "443" |
LAGOON | "php" |
LAGOON_AUTOGENERATED_ROUTES | "https://nginx.main.demo-ongoing-symfony.de3.amazee.io" |
LAGOON_DOMAIN | "nginx.main.demo-ongoing-symfony.de3.amazee.io" |
LAGOON_ENVIRONMENT | "main" |
LAGOON_ENVIRONMENT_TYPE | "production" |
LAGOON_GIT_BRANCH | "main" |
LAGOON_GIT_SAFE_BRANCH | "main" |
LAGOON_GIT_SHA | "0" |
LAGOON_KUBERNETES | "de3.amazee.io" |
LAGOON_PROJECT | "demo-ongoing-symfony" |
LAGOON_ROUTE | "https://nginx.main.demo-ongoing-symfony.de3.amazee.io" |
LAGOON_ROUTES | "https://nginx.main.demo-ongoing-symfony.de3.amazee.io" |
LAGOON_VERSION | "22.2.0" |
MARIADB_DATABASE | "demo-ongoing-symfony-main_fjUMY" |
MARIADB_HOST | "mariadb-9e4e4cc3-63f7-4658-97f4-e9edb49a8f98" |
MARIADB_PASSWORD | "tiAOa1UTQH000NJ7a1G0zgKU" |
MARIADB_PORT | "3306" |
MARIADB_READREPLICA_HOSTS | "readreplica-mariadb-78f5383d-1803-447d-8f9e-5b4ab1c64ba5" |
MARIADB_USERNAME | "demo-on_SZ9WG" |
NGINX_FASTCGI_PASS | "127.0.0.1" |
PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
PHPIZE_DEPS | "autoconf \t\tdpkg-dev dpkg \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkgconf \t\tre2c" |
PHP_ASC_URL | "https://www.php.net/distributions/php-8.1.3.tar.xz.asc" |
PHP_CFLAGS | "-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" |
PHP_CPPFLAGS | "-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" |
PHP_ERROR_REPORTING | "E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE" |
PHP_INI_DIR | "/usr/local/etc/php" |
PHP_LDFLAGS | "-Wl,-O1 -pie" |
PHP_SELF | "/index.php" |
PHP_SHA256 | "5d65a11071b47669c17452fb336c290b67c101efb745c1dbe7525b5caf546ec6" |
PHP_URL | "https://www.php.net/distributions/php-8.1.3.tar.xz" |
PHP_VERSION | "8.1.3" |
PWD | "/app" |
QUERY_STRING | "" |
REDIRECT_STATUS | "200" |
REMOTE_ADDR | "47.128.118.237" |
REMOTE_PORT | "" |
REQUEST_METHOD | "GET" |
REQUEST_SCHEME | "http" |
REQUEST_TIME | 1734512953 |
REQUEST_TIME_FLOAT | 1734512953.9555 |
REQUEST_URI | "/ar/blog/posts/sunt-seculaes-transferre-talis-camerarius-fluctuies" |
SCRIPT_FILENAME | "/app/public/index.php" |
SCRIPT_NAME | "/index.php" |
SERVER_ADDR | "10.200.134.39" |
SERVER_NAME | "nginx.main.demo-ongoing-symfony.de3.amazee.io" |
SERVER_PORT | "443" |
SERVER_PROTOCOL | "HTTP/1.1" |
SERVER_SOFTWARE | "nginx/1.19.9" |
SHLVL | "1" |
TMP | "/tmp" |
TMPDIR | "/tmp" |
TRUSTED_HOSTS | ".*" |
TRUSTED_PROXIES | "127.0.0.1,10.99.99.1,REMOTE_ADDR" |
USER | "user" |
WEBROOT | "public" |
Sub Requests 1
ErrorController (token = 060123)
Key | Value |
---|---|
_controller | "error_controller" |
_stopwatch_token | "8ce876" |
exception | Twig\Error\RuntimeError {#797 #message: "An exception has been thrown during the rendering of a template ("Unable to format message (error #-1): Message pattern is invalid.")." #code: 0 #file: "/app/templates/blog/post_show.html.twig" #line: 37 -previous: Symfony\Component\Translation\Exception\InvalidArgumentException {#1205 …} -lineno: 37 -name: "blog/post_show.html.twig" -rawMessage: "An exception has been thrown during the rendering of a template ("Unable to format message (error #-1): Message pattern is invalid.")." -sourcePath: "/app/templates/blog/post_show.html.twig" -sourceCode: """ {% extends 'base.html.twig' %}\n \n {% block body_id 'blog_post_show' %}\n \n {% block main %}\n <h1>{{ post.title }}</h1>\n \n <p class="post-metadata">\n <span class="metadata"><i class="fa fa-calendar"></i> {{ post.publishedAt|format_datetime('long', 'medium', '', 'UTC') }}</span>\n <span class="metadata"><i class="fa fa-user"></i> {{ post.author.fullName }}</span>\n </p>\n \n {{ post.content|markdown_to_html|sanitize_html }}\n \n {{ include('blog/_post_tags.html.twig') }}\n \n <div id="post-add-comment" class="well">\n {# The 'IS_AUTHENTICATED_FULLY' role ensures that the user has entered\n their credentials (login + password) during this session. If they\n are automatically logged via the 'Remember Me' functionality, they won't\n be able to add a comment.\n See https://symfony.com/doc/current/security/remember_me.html#forcing-the-user-to-re-authenticate-before-accessing-certain-resources\n #}\n {% if is_granted('IS_AUTHENTICATED_FULLY') %}\n {{ render(controller('App\\Controller\\BlogController::commentForm', {'id': post.id})) }}\n {% else %}\n <p>\n <a class="btn btn-success" href="{{ path('security_login', {'redirect_to': app.request.pathInfo}) }}">\n <i class="fa fa-sign-in" aria-hidden="true"></i> {{ 'action.sign_in'|trans }}\n </a>\n {{ 'post.to_publish_a_comment'|trans }}\n </p>\n {% endif %}\n </div>\n \n <h3>\n <i class="fa fa-comments" aria-hidden="true"></i> {{ 'post.num_comments'|trans({ 'count': post.comments|length }) }}\n </h3>\n \n {% for comment in post.comments %}\n <div class="row post-comment">\n <a name="comment_{{ comment.id }}"></a>\n <h4 class="col-sm-3">\n <strong>{{ comment.author.fullName }}</strong> {{ 'post.commented_on'|trans }}\n {# it's not mandatory to set the timezone in localizeddate(). This is done to\n avoid errors when the 'intl' PHP extension is not available and the application\n is forced to use the limited "intl polyfill", which only supports UTC and GMT #}\n <strong>{{ comment.publishedAt|format_datetime('medium', 'short', '', 'UTC') }}</strong>\n </h4>\n <div class="col-sm-9">\n {{ comment.content|markdown_to_html|sanitize_html }}\n </div>\n </div>\n {% else %}\n <div class="post-comment">\n <p>{{ 'post.no_comments'|trans }}</p>\n </div>\n {% endfor %}\n {% endblock %}\n \n {% block sidebar %}\n {% if is_granted('edit', post) %}\n <div class="section">\n <a class="btn btn-lg btn-block btn-success" href="{{ path('admin_post_edit', {id: post.id}) }}">\n <i class="fa fa-edit" aria-hidden="true"></i> {{ 'action.edit_post'|trans }}\n </a>\n </div>\n {% endif %}\n \n {# the parent() function includes the contents defined by the parent template\n ('base.html.twig') for this block ('sidebar'). This is a very convenient way\n to share common contents in different templates #}\n {{ parent() }}\n \n {{ show_source_code(_self) }}\n {{ include('blog/_rss.html.twig') }}\n {% endblock %}\n """ : { { Twig\Template->displayBlock($name, array $context, array $blocks = [], $useBlocks = true, self $templateContext = null) … › |
logger | Symfony\Bridge\Monolog\Logger {#63 …6} |