Error 500 Internal Server Error

GET http://masaepiano.com/it/blog/posts/terraza-latina-beauvais-jazz

Exceptions

An exception has been thrown during the rendering of a template ("An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.post_id' in 'field list'") in blog/post_show.html.twig at line 42.

Exceptions 4

Twig\Error\ RuntimeError

Show exception properties
Twig\Error\RuntimeError {#1046
  -lineno: 42
  -rawMessage: "An exception has been thrown during the rendering of a template ("An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.post_id' in 'field list'")."
  -source: Twig\Source {#1279
    -code: """
      {% extends 'baseblog.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">{{ component('ux:icon', { name: 'tabler:calendar-month' }) }} {{ post.publishedAt|format_datetime('long', 'medium', '', 'UTC') }}</span>\n
              <span class="metadata">{{ component('ux:icon', { name: 'tabler:user' }) }} {{ 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
              {#\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
                  {#\n
                      When the name of the Twig argument is the same as the name of the variable, you can omit it.\n
                      e.g. instead of controller('...', {post: post}) you can use controller('...', {post})\n
                  #}\n
                  {{ render(controller('App\\Controller\\BlogController::commentForm', {post})) }}\n
              {% else %}\n
                  <p>\n
                      <a class="btn btn-success" href="{{ path('security_login', {redirect_to: app.request.pathInfo}) }}">\n
                          {{ component('ux:icon', { name: 'tabler:login' }) }} {{ 'action.sign_in'|trans }}\n
                      </a>\n
                      {{ 'post.to_publish_a_comment'|trans }}\n
                  </p>\n
              {% endif %}\n
          </div>\n
      \n
          <h3>\n
              {{ component('ux:icon', { name: 'tabler:messages' }) }} {{ '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
                      {#\n
                          It's not mandatory to set the timezone in format_datetime(). 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
                      #}\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
                      {{ component('ux:icon', { name: 'tabler:pencil' }) }} {{ 'action.edit_post'|trans }}\n
                  </a>\n
              </div>\n
          {% endif %}\n
      \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
          #}\n
          {{ parent() }}\n
      \n
          {{ show_source_code(_self) }}\n
          {{ include('blog/_rss.html.twig') }}\n
      {% endblock %}\n
      """
    -name: "blog/post_show.html.twig"
    -path: "/home/masaepz/www/expense/templates/blog/post_show.html.twig"
  }
  -phpFile: "/home/masaepz/www/expense/vendor/twig/twig/src/Template.php"
  -phpLine: 470
}
  1. </p>
  2. {% endif %}
  3. </div>
  4. <h3>
  5. <twig:ux:icon name="tabler:messages"/> {{ 'post.num_comments'|trans({count: post.comments|length}) }}
  6. </h3>
  7. {% for comment in post.comments %}
  8. <div class="row post-comment">
  9. <a name="comment_{{ comment.id }}"></a>
  1. yield Twig\Extension\CoreExtension::include($this->env, $context, "default/_flash_messages.html.twig");
  2. yield "
  3. ";
  4. // line 59
  5. yield from $this->unwrap()->yieldBlock('main', $context, $blocks);
  6. // line 60
  7. yield " </div>
  8. \t\t\t\t
  9. </div>
  10. \t\t
in vendor/twig/twig/src/Template.php -> block_body (line 456)
  1. }
  2. if (null !== $template) {
  3. try {
  4. $template->ensureSecurityChecked();
  5. yield from $template->$block($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($template->getSourceContext());
  9. }
  1. yield from $this->unwrap()->yieldBlock('header', $context, $blocks);
  2. // line 53
  3. yield "\t\t <div class=\"container body-container\">
  4. ";
  5. // line 54
  6. yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
  7. // line 65
  8. yield "\t\t\t</div>
  9. \t\t
  10. \t\t ";
  11. // line 67
in vendor/twig/twig/src/Template.php -> doDisplay (line 411)
  1. $context += $this->env->getGlobals();
  2. $blocks = array_merge($this->blocks, $blocks);
  3. try {
  4. $this->ensureSecurityChecked();
  5. yield from $this->doDisplay($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($this->getSourceContext());
  9. }
  1. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "blog/post_show.html.twig"));
  3. $this->parent = $this->load("baseblog.html.twig", 1);
  4. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  5. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  6. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
in vendor/twig/twig/src/Template.php -> doDisplay (line 411)
  1. $context += $this->env->getGlobals();
  2. $blocks = array_merge($this->blocks, $blocks);
  3. try {
  4. $this->ensureSecurityChecked();
  5. yield from $this->doDisplay($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($this->getSourceContext());
  9. }
  1. return $this->blocks;
  2. }
  3. public function display(array $context, array $blocks = []): void
  4. {
  5. foreach ($this->yield($context, $blocks) as $data) {
  6. echo $data;
  7. }
  8. }
  9. public function render(array $context): string
in vendor/twig/twig/src/Template.php -> display (line 381)
  1. ob_start();
  2. } else {
  3. ob_start(static function () { return ''; });
  4. }
  5. try {
  6. $this->display($context);
  7. } catch (\Throwable $e) {
  8. while (ob_get_level() > $level) {
  9. ob_end_clean();
  10. }
  1. yield from $this->template->yieldBlock($name, $context);
  2. }
  3. public function render(array $context = []): string
  4. {
  5. return $this->template->render($context);
  6. }
  7. /**
  8. * @return void
  9. */
  1. * @throws SyntaxError When an error occurred during compilation
  2. * @throws RuntimeError When an error occurred during rendering
  3. */
  4. public function render($name, array $context = []): string
  5. {
  6. return $this->load($name)->render($context);
  7. }
  8. /**
  9. * Displays a template.
  10. *
  1. if (null !== $block) {
  2. return $this->container->get('twig')->load($view)->renderBlock($block, $parameters);
  3. }
  4. return $this->container->get('twig')->render($view, $parameters);
  5. }
  6. private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response
  7. {
  8. $content = $this->doRenderView($view, $block, $parameters, $method);
  1. return $this->container->get('twig')->render($view, $parameters);
  2. }
  3. private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response
  4. {
  5. $content = $this->doRenderView($view, $block, $parameters, $method);
  6. $response ??= new Response();
  7. if (200 === $response->getStatusCode()) {
  8. foreach ($parameters as $v) {
  9. if ($v instanceof FormInterface && $v->isSubmitted() && !$v->isValid()) {
  1. * If an invalid form is found in the list of parameters, a 422 status code is returned.
  2. * Forms found in parameters are auto-cast to form views.
  3. */
  4. protected function render(string $view, array $parameters = [], ?Response $response = null): Response
  5. {
  6. return $this->doRender($view, null, $parameters, $response, __FUNCTION__);
  7. }
  8. /**
  9. * Renders a block in a view.
  10. *
AbstractController->render('blog/post_show.html.twig', array('post' => object(Post))) in src/Controller/BlogController.php (line 97)
  1. // See https://symfony.com/doc/current/templates.html#the-dump-twig-utilities
  2. //
  3. // You can also leverage Symfony's 'dd()' function that dumps and
  4. // stops the execution
  5. return $this->render('blog/post_show.html.twig', ['post' => $post]);
  6. }
  7. /**
  8. * NOTE: The #[MapEntity] mapping is required because the route parameter
  9. * (postSlug) doesn't match any of the Doctrine entity properties (slug).
  1. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
  2. $controller = $event->getController();
  3. $arguments = $event->getArguments();
  4. // call controller
  5. $response = $controller(...$arguments);
  6. // view
  7. if (!$response instanceof Response) {
  8. $event = new ViewEvent($this, $request, $type, $response, $controllerMetadata);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type, $controllerMetadata);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. $response->send(false);
  7. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
  8. fastcgi_finish_request();
in vendor/autoload_runtime.php -> run (line 32)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/masaepz/www/expense/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5. return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Doctrine\DBAL\Exception\ InvalidFieldNameException

An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.post_id' in 'field list'

  1. 1557,
  2. 1569,
  3. 1586 => new UniqueConstraintViolationException($exception, $query),
  4. 1054,
  5. 1166,
  6. 1611 => new InvalidFieldNameException($exception, $query),
  7. 1052,
  8. 1060,
  9. 1110 => new NonUniqueFieldNameException($exception, $query),
  10. 1064,
  11. 1149,
  1. private function handleDriverException(
  2. Driver\Exception $driverException,
  3. ?Query $query,
  4. ): DriverException {
  5. $this->exceptionConverter ??= $this->driver->getExceptionConverter();
  6. $exception = $this->exceptionConverter->convert($driverException, $query);
  7. if ($exception instanceof ConnectionLost) {
  8. $this->close();
  9. }
in vendor/doctrine/dbal/src/Connection.php -> handleDriverException (line 1396)
  1. Driver\Exception $e,
  2. string $sql,
  3. array $params = [],
  4. array $types = [],
  5. ): DriverException {
  6. return $this->handleDriverException($e, new Query($sql, $params, $types));
  7. }
  8. /** @internal */
  9. final public function convertException(Driver\Exception $e): DriverException
  10. {
in vendor/doctrine/dbal/src/Connection.php -> convertExceptionDuringQuery (line 809)
  1. $result = $connection->query($sql);
  2. }
  3. return new Result($result, $this);
  4. } catch (Driver\Exception $e) {
  5. throw $this->convertExceptionDuringQuery($e, $sql, $params, $types);
  6. }
  7. }
  8. /**
  9. * Executes a caching query.
  1. }
  2. $sql = $this->getSelectSQL($criteria, $assoc, null, $limit, $offset);
  3. [$params, $types] = $this->expandToManyParameters($parameters);
  4. return $this->conn->executeQuery($sql, $params, $types);
  5. }
  6. /**
  7. * {@inheritDoc}
  8. */
  1. AssociationMapping $assoc,
  2. object $sourceEntity,
  3. PersistentCollection $collection,
  4. ): mixed {
  5. assert($assoc instanceof OneToManyAssociationMapping);
  6. $stmt = $this->getOneToManyStatement($assoc, $sourceEntity);
  7. return $this->loadCollectionFromStatement($assoc, $stmt, $collection);
  8. }
  9. /** Builds criteria and execute SQL statement to fetch the one to many entities from. */
in vendor/doctrine/orm/src/UnitOfWork.php -> loadOneToManyCollection (line 2733)
  1. $assoc = $collection->getMapping();
  2. $persister = $this->getEntityPersister($assoc->targetEntity);
  3. switch ($assoc->type()) {
  4. case ClassMetadata::ONE_TO_MANY:
  5. $persister->loadOneToManyCollection($assoc, $collection->getOwner(), $collection);
  6. break;
  7. case ClassMetadata::MANY_TO_MANY:
  8. $persister->loadManyToManyCollection($assoc, $collection->getOwner(), $collection);
  9. break;
  1. if ($this->isDirty) {
  2. $newlyAddedDirtyObjects = $this->unwrap()->toArray();
  3. }
  4. $this->unwrap()->clear();
  5. $this->getUnitOfWork()->loadCollection($this);
  6. $this->takeSnapshot();
  7. if ($newlyAddedDirtyObjects) {
  8. $this->restoreNewObjectsInDirtyCollection($newlyAddedDirtyObjects);
  9. }
  1. {
  2. if ($this->initialized || ! $this->association) {
  3. return;
  4. }
  5. $this->doInitialize();
  6. $this->initialized = true;
  7. }
  8. /**
  1. * @return int
  2. */
  3. #[ReturnTypeWillChange]
  4. public function count()
  5. {
  6. $this->initialize();
  7. return $this->collection->count();
  8. }
  9. /**
  1. $persister = $this->getUnitOfWork()->getCollectionPersister($this->association);
  2. return $persister->count($this) + ($this->isDirty ? $this->unwrap()->count() : 0);
  3. }
  4. return parent::count();
  5. }
  6. public function set(string|int $key, mixed $value): void
  7. {
  8. parent::set($key, $value);
  1. if (\is_scalar($thing)) {
  2. return mb_strlen($thing, $charset);
  3. }
  4. if ($thing instanceof \Countable || \is_array($thing) || $thing instanceof \SimpleXMLElement) {
  5. return \count($thing);
  6. }
  7. if ($thing instanceof \Traversable) {
  8. return iterator_count($thing);
  9. }
  1. <h3>
  2. ";
  3. // line 42
  4. yield $this->env->getRuntime('Symfony\UX\TwigComponent\Twig\ComponentRuntime')->render("ux:icon", ["name" => "tabler:messages"]);
  5. yield " ";
  6. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("post.num_comments", ["count" => Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 42, $this->source); })()), "comments", [], "any", false, false, false, 42))]), "html", null, true);
  7. yield "
  8. </h3>
  9. ";
  10. // line 45
in vendor/twig/twig/src/Template.php -> block_main (line 456)
  1. }
  2. if (null !== $template) {
  3. try {
  4. $template->ensureSecurityChecked();
  5. yield from $template->$block($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($template->getSourceContext());
  9. }
  1. yield Twig\Extension\CoreExtension::include($this->env, $context, "default/_flash_messages.html.twig");
  2. yield "
  3. ";
  4. // line 59
  5. yield from $this->unwrap()->yieldBlock('main', $context, $blocks);
  6. // line 60
  7. yield " </div>
  8. \t\t\t\t
  9. </div>
  10. \t\t
in vendor/twig/twig/src/Template.php -> block_body (line 456)
  1. }
  2. if (null !== $template) {
  3. try {
  4. $template->ensureSecurityChecked();
  5. yield from $template->$block($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($template->getSourceContext());
  9. }
  1. yield from $this->unwrap()->yieldBlock('header', $context, $blocks);
  2. // line 53
  3. yield "\t\t <div class=\"container body-container\">
  4. ";
  5. // line 54
  6. yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
  7. // line 65
  8. yield "\t\t\t</div>
  9. \t\t
  10. \t\t ";
  11. // line 67
in vendor/twig/twig/src/Template.php -> doDisplay (line 411)
  1. $context += $this->env->getGlobals();
  2. $blocks = array_merge($this->blocks, $blocks);
  3. try {
  4. $this->ensureSecurityChecked();
  5. yield from $this->doDisplay($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($this->getSourceContext());
  9. }
  1. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "blog/post_show.html.twig"));
  3. $this->parent = $this->load("baseblog.html.twig", 1);
  4. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  5. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  6. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
in vendor/twig/twig/src/Template.php -> doDisplay (line 411)
  1. $context += $this->env->getGlobals();
  2. $blocks = array_merge($this->blocks, $blocks);
  3. try {
  4. $this->ensureSecurityChecked();
  5. yield from $this->doDisplay($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($this->getSourceContext());
  9. }
  1. return $this->blocks;
  2. }
  3. public function display(array $context, array $blocks = []): void
  4. {
  5. foreach ($this->yield($context, $blocks) as $data) {
  6. echo $data;
  7. }
  8. }
  9. public function render(array $context): string
in vendor/twig/twig/src/Template.php -> display (line 381)
  1. ob_start();
  2. } else {
  3. ob_start(static function () { return ''; });
  4. }
  5. try {
  6. $this->display($context);
  7. } catch (\Throwable $e) {
  8. while (ob_get_level() > $level) {
  9. ob_end_clean();
  10. }
  1. yield from $this->template->yieldBlock($name, $context);
  2. }
  3. public function render(array $context = []): string
  4. {
  5. return $this->template->render($context);
  6. }
  7. /**
  8. * @return void
  9. */
  1. * @throws SyntaxError When an error occurred during compilation
  2. * @throws RuntimeError When an error occurred during rendering
  3. */
  4. public function render($name, array $context = []): string
  5. {
  6. return $this->load($name)->render($context);
  7. }
  8. /**
  9. * Displays a template.
  10. *
  1. if (null !== $block) {
  2. return $this->container->get('twig')->load($view)->renderBlock($block, $parameters);
  3. }
  4. return $this->container->get('twig')->render($view, $parameters);
  5. }
  6. private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response
  7. {
  8. $content = $this->doRenderView($view, $block, $parameters, $method);
  1. return $this->container->get('twig')->render($view, $parameters);
  2. }
  3. private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response
  4. {
  5. $content = $this->doRenderView($view, $block, $parameters, $method);
  6. $response ??= new Response();
  7. if (200 === $response->getStatusCode()) {
  8. foreach ($parameters as $v) {
  9. if ($v instanceof FormInterface && $v->isSubmitted() && !$v->isValid()) {
  1. * If an invalid form is found in the list of parameters, a 422 status code is returned.
  2. * Forms found in parameters are auto-cast to form views.
  3. */
  4. protected function render(string $view, array $parameters = [], ?Response $response = null): Response
  5. {
  6. return $this->doRender($view, null, $parameters, $response, __FUNCTION__);
  7. }
  8. /**
  9. * Renders a block in a view.
  10. *
AbstractController->render('blog/post_show.html.twig', array('post' => object(Post))) in src/Controller/BlogController.php (line 97)
  1. // See https://symfony.com/doc/current/templates.html#the-dump-twig-utilities
  2. //
  3. // You can also leverage Symfony's 'dd()' function that dumps and
  4. // stops the execution
  5. return $this->render('blog/post_show.html.twig', ['post' => $post]);
  6. }
  7. /**
  8. * NOTE: The #[MapEntity] mapping is required because the route parameter
  9. * (postSlug) doesn't match any of the Doctrine entity properties (slug).
  1. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
  2. $controller = $event->getController();
  3. $arguments = $event->getArguments();
  4. // call controller
  5. $response = $controller(...$arguments);
  6. // view
  7. if (!$response instanceof Response) {
  8. $event = new ViewEvent($this, $request, $type, $response, $controllerMetadata);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type, $controllerMetadata);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. $response->send(false);
  7. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
  8. fastcgi_finish_request();
in vendor/autoload_runtime.php -> run (line 32)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/masaepz/www/expense/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5. return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Doctrine\DBAL\Driver\PDO\ Exception

SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.post_id' in 'field list'

  1. } else {
  2. $code = $exception->getCode();
  3. $sqlState = null;
  4. }
  5. return new self($exception->getMessage(), $sqlState, $code, $exception);
  6. }
  7. }
  1. public function execute(): Result
  2. {
  3. try {
  4. $this->stmt->execute();
  5. } catch (PDOException $exception) {
  6. throw Exception::new($exception);
  7. }
  8. return new Result($this->stmt);
  9. }
  1. $this->wrappedStatement->bindValue($param, $value, $type);
  2. }
  3. public function execute(): Result
  4. {
  5. return $this->wrappedStatement->execute();
  6. }
  7. }
  1. 'sql' => $this->sql,
  2. 'params' => $this->params,
  3. 'types' => $this->types,
  4. ]);
  5. return parent::execute();
  6. }
  7. }
  1. $this->wrappedStatement->bindValue($param, $value, $type);
  2. }
  3. public function execute(): Result
  4. {
  5. return $this->wrappedStatement->execute();
  6. }
  7. }
  1. $this->stopwatch?->start('doctrine', 'doctrine');
  2. $query->start();
  3. try {
  4. return parent::execute();
  5. } finally {
  6. $query->stop();
  7. $this->stopwatch?->stop('doctrine');
  8. }
  9. }
  1. $stmt = $connection->prepare($sql);
  2. $this->bindParameters($stmt, $params, $types);
  3. $result = $stmt->execute();
  4. } else {
  5. $result = $connection->query($sql);
  6. }
  7. return new Result($result, $this);
  1. }
  2. $sql = $this->getSelectSQL($criteria, $assoc, null, $limit, $offset);
  3. [$params, $types] = $this->expandToManyParameters($parameters);
  4. return $this->conn->executeQuery($sql, $params, $types);
  5. }
  6. /**
  7. * {@inheritDoc}
  8. */
  1. AssociationMapping $assoc,
  2. object $sourceEntity,
  3. PersistentCollection $collection,
  4. ): mixed {
  5. assert($assoc instanceof OneToManyAssociationMapping);
  6. $stmt = $this->getOneToManyStatement($assoc, $sourceEntity);
  7. return $this->loadCollectionFromStatement($assoc, $stmt, $collection);
  8. }
  9. /** Builds criteria and execute SQL statement to fetch the one to many entities from. */
in vendor/doctrine/orm/src/UnitOfWork.php -> loadOneToManyCollection (line 2733)
  1. $assoc = $collection->getMapping();
  2. $persister = $this->getEntityPersister($assoc->targetEntity);
  3. switch ($assoc->type()) {
  4. case ClassMetadata::ONE_TO_MANY:
  5. $persister->loadOneToManyCollection($assoc, $collection->getOwner(), $collection);
  6. break;
  7. case ClassMetadata::MANY_TO_MANY:
  8. $persister->loadManyToManyCollection($assoc, $collection->getOwner(), $collection);
  9. break;
  1. if ($this->isDirty) {
  2. $newlyAddedDirtyObjects = $this->unwrap()->toArray();
  3. }
  4. $this->unwrap()->clear();
  5. $this->getUnitOfWork()->loadCollection($this);
  6. $this->takeSnapshot();
  7. if ($newlyAddedDirtyObjects) {
  8. $this->restoreNewObjectsInDirtyCollection($newlyAddedDirtyObjects);
  9. }
  1. {
  2. if ($this->initialized || ! $this->association) {
  3. return;
  4. }
  5. $this->doInitialize();
  6. $this->initialized = true;
  7. }
  8. /**
  1. * @return int
  2. */
  3. #[ReturnTypeWillChange]
  4. public function count()
  5. {
  6. $this->initialize();
  7. return $this->collection->count();
  8. }
  9. /**
  1. $persister = $this->getUnitOfWork()->getCollectionPersister($this->association);
  2. return $persister->count($this) + ($this->isDirty ? $this->unwrap()->count() : 0);
  3. }
  4. return parent::count();
  5. }
  6. public function set(string|int $key, mixed $value): void
  7. {
  8. parent::set($key, $value);
  1. if (\is_scalar($thing)) {
  2. return mb_strlen($thing, $charset);
  3. }
  4. if ($thing instanceof \Countable || \is_array($thing) || $thing instanceof \SimpleXMLElement) {
  5. return \count($thing);
  6. }
  7. if ($thing instanceof \Traversable) {
  8. return iterator_count($thing);
  9. }
  1. <h3>
  2. ";
  3. // line 42
  4. yield $this->env->getRuntime('Symfony\UX\TwigComponent\Twig\ComponentRuntime')->render("ux:icon", ["name" => "tabler:messages"]);
  5. yield " ";
  6. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("post.num_comments", ["count" => Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 42, $this->source); })()), "comments", [], "any", false, false, false, 42))]), "html", null, true);
  7. yield "
  8. </h3>
  9. ";
  10. // line 45
in vendor/twig/twig/src/Template.php -> block_main (line 456)
  1. }
  2. if (null !== $template) {
  3. try {
  4. $template->ensureSecurityChecked();
  5. yield from $template->$block($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($template->getSourceContext());
  9. }
  1. yield Twig\Extension\CoreExtension::include($this->env, $context, "default/_flash_messages.html.twig");
  2. yield "
  3. ";
  4. // line 59
  5. yield from $this->unwrap()->yieldBlock('main', $context, $blocks);
  6. // line 60
  7. yield " </div>
  8. \t\t\t\t
  9. </div>
  10. \t\t
in vendor/twig/twig/src/Template.php -> block_body (line 456)
  1. }
  2. if (null !== $template) {
  3. try {
  4. $template->ensureSecurityChecked();
  5. yield from $template->$block($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($template->getSourceContext());
  9. }
  1. yield from $this->unwrap()->yieldBlock('header', $context, $blocks);
  2. // line 53
  3. yield "\t\t <div class=\"container body-container\">
  4. ";
  5. // line 54
  6. yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
  7. // line 65
  8. yield "\t\t\t</div>
  9. \t\t
  10. \t\t ";
  11. // line 67
in vendor/twig/twig/src/Template.php -> doDisplay (line 411)
  1. $context += $this->env->getGlobals();
  2. $blocks = array_merge($this->blocks, $blocks);
  3. try {
  4. $this->ensureSecurityChecked();
  5. yield from $this->doDisplay($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($this->getSourceContext());
  9. }
  1. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "blog/post_show.html.twig"));
  3. $this->parent = $this->load("baseblog.html.twig", 1);
  4. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  5. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  6. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
in vendor/twig/twig/src/Template.php -> doDisplay (line 411)
  1. $context += $this->env->getGlobals();
  2. $blocks = array_merge($this->blocks, $blocks);
  3. try {
  4. $this->ensureSecurityChecked();
  5. yield from $this->doDisplay($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($this->getSourceContext());
  9. }
  1. return $this->blocks;
  2. }
  3. public function display(array $context, array $blocks = []): void
  4. {
  5. foreach ($this->yield($context, $blocks) as $data) {
  6. echo $data;
  7. }
  8. }
  9. public function render(array $context): string
in vendor/twig/twig/src/Template.php -> display (line 381)
  1. ob_start();
  2. } else {
  3. ob_start(static function () { return ''; });
  4. }
  5. try {
  6. $this->display($context);
  7. } catch (\Throwable $e) {
  8. while (ob_get_level() > $level) {
  9. ob_end_clean();
  10. }
  1. yield from $this->template->yieldBlock($name, $context);
  2. }
  3. public function render(array $context = []): string
  4. {
  5. return $this->template->render($context);
  6. }
  7. /**
  8. * @return void
  9. */
  1. * @throws SyntaxError When an error occurred during compilation
  2. * @throws RuntimeError When an error occurred during rendering
  3. */
  4. public function render($name, array $context = []): string
  5. {
  6. return $this->load($name)->render($context);
  7. }
  8. /**
  9. * Displays a template.
  10. *
  1. if (null !== $block) {
  2. return $this->container->get('twig')->load($view)->renderBlock($block, $parameters);
  3. }
  4. return $this->container->get('twig')->render($view, $parameters);
  5. }
  6. private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response
  7. {
  8. $content = $this->doRenderView($view, $block, $parameters, $method);
  1. return $this->container->get('twig')->render($view, $parameters);
  2. }
  3. private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response
  4. {
  5. $content = $this->doRenderView($view, $block, $parameters, $method);
  6. $response ??= new Response();
  7. if (200 === $response->getStatusCode()) {
  8. foreach ($parameters as $v) {
  9. if ($v instanceof FormInterface && $v->isSubmitted() && !$v->isValid()) {
  1. * If an invalid form is found in the list of parameters, a 422 status code is returned.
  2. * Forms found in parameters are auto-cast to form views.
  3. */
  4. protected function render(string $view, array $parameters = [], ?Response $response = null): Response
  5. {
  6. return $this->doRender($view, null, $parameters, $response, __FUNCTION__);
  7. }
  8. /**
  9. * Renders a block in a view.
  10. *
AbstractController->render('blog/post_show.html.twig', array('post' => object(Post))) in src/Controller/BlogController.php (line 97)
  1. // See https://symfony.com/doc/current/templates.html#the-dump-twig-utilities
  2. //
  3. // You can also leverage Symfony's 'dd()' function that dumps and
  4. // stops the execution
  5. return $this->render('blog/post_show.html.twig', ['post' => $post]);
  6. }
  7. /**
  8. * NOTE: The #[MapEntity] mapping is required because the route parameter
  9. * (postSlug) doesn't match any of the Doctrine entity properties (slug).
  1. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
  2. $controller = $event->getController();
  3. $arguments = $event->getArguments();
  4. // call controller
  5. $response = $controller(...$arguments);
  6. // view
  7. if (!$response instanceof Response) {
  8. $event = new ViewEvent($this, $request, $type, $response, $controllerMetadata);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type, $controllerMetadata);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. $response->send(false);
  7. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
  8. fastcgi_finish_request();
in vendor/autoload_runtime.php -> run (line 32)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/masaepz/www/expense/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5. return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

PDOException

SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.post_id' in 'field list'

  1. }
  2. public function execute(): Result
  3. {
  4. try {
  5. $this->stmt->execute();
  6. } catch (PDOException $exception) {
  7. throw Exception::new($exception);
  8. }
  9. return new Result($this->stmt);
  1. }
  2. public function execute(): Result
  3. {
  4. try {
  5. $this->stmt->execute();
  6. } catch (PDOException $exception) {
  7. throw Exception::new($exception);
  8. }
  9. return new Result($this->stmt);
  1. $this->wrappedStatement->bindValue($param, $value, $type);
  2. }
  3. public function execute(): Result
  4. {
  5. return $this->wrappedStatement->execute();
  6. }
  7. }
  1. 'sql' => $this->sql,
  2. 'params' => $this->params,
  3. 'types' => $this->types,
  4. ]);
  5. return parent::execute();
  6. }
  7. }
  1. $this->wrappedStatement->bindValue($param, $value, $type);
  2. }
  3. public function execute(): Result
  4. {
  5. return $this->wrappedStatement->execute();
  6. }
  7. }
  1. $this->stopwatch?->start('doctrine', 'doctrine');
  2. $query->start();
  3. try {
  4. return parent::execute();
  5. } finally {
  6. $query->stop();
  7. $this->stopwatch?->stop('doctrine');
  8. }
  9. }
  1. $stmt = $connection->prepare($sql);
  2. $this->bindParameters($stmt, $params, $types);
  3. $result = $stmt->execute();
  4. } else {
  5. $result = $connection->query($sql);
  6. }
  7. return new Result($result, $this);
  1. }
  2. $sql = $this->getSelectSQL($criteria, $assoc, null, $limit, $offset);
  3. [$params, $types] = $this->expandToManyParameters($parameters);
  4. return $this->conn->executeQuery($sql, $params, $types);
  5. }
  6. /**
  7. * {@inheritDoc}
  8. */
  1. AssociationMapping $assoc,
  2. object $sourceEntity,
  3. PersistentCollection $collection,
  4. ): mixed {
  5. assert($assoc instanceof OneToManyAssociationMapping);
  6. $stmt = $this->getOneToManyStatement($assoc, $sourceEntity);
  7. return $this->loadCollectionFromStatement($assoc, $stmt, $collection);
  8. }
  9. /** Builds criteria and execute SQL statement to fetch the one to many entities from. */
in vendor/doctrine/orm/src/UnitOfWork.php -> loadOneToManyCollection (line 2733)
  1. $assoc = $collection->getMapping();
  2. $persister = $this->getEntityPersister($assoc->targetEntity);
  3. switch ($assoc->type()) {
  4. case ClassMetadata::ONE_TO_MANY:
  5. $persister->loadOneToManyCollection($assoc, $collection->getOwner(), $collection);
  6. break;
  7. case ClassMetadata::MANY_TO_MANY:
  8. $persister->loadManyToManyCollection($assoc, $collection->getOwner(), $collection);
  9. break;
  1. if ($this->isDirty) {
  2. $newlyAddedDirtyObjects = $this->unwrap()->toArray();
  3. }
  4. $this->unwrap()->clear();
  5. $this->getUnitOfWork()->loadCollection($this);
  6. $this->takeSnapshot();
  7. if ($newlyAddedDirtyObjects) {
  8. $this->restoreNewObjectsInDirtyCollection($newlyAddedDirtyObjects);
  9. }
  1. {
  2. if ($this->initialized || ! $this->association) {
  3. return;
  4. }
  5. $this->doInitialize();
  6. $this->initialized = true;
  7. }
  8. /**
  1. * @return int
  2. */
  3. #[ReturnTypeWillChange]
  4. public function count()
  5. {
  6. $this->initialize();
  7. return $this->collection->count();
  8. }
  9. /**
  1. $persister = $this->getUnitOfWork()->getCollectionPersister($this->association);
  2. return $persister->count($this) + ($this->isDirty ? $this->unwrap()->count() : 0);
  3. }
  4. return parent::count();
  5. }
  6. public function set(string|int $key, mixed $value): void
  7. {
  8. parent::set($key, $value);
  1. if (\is_scalar($thing)) {
  2. return mb_strlen($thing, $charset);
  3. }
  4. if ($thing instanceof \Countable || \is_array($thing) || $thing instanceof \SimpleXMLElement) {
  5. return \count($thing);
  6. }
  7. if ($thing instanceof \Traversable) {
  8. return iterator_count($thing);
  9. }
  1. <h3>
  2. ";
  3. // line 42
  4. yield $this->env->getRuntime('Symfony\UX\TwigComponent\Twig\ComponentRuntime')->render("ux:icon", ["name" => "tabler:messages"]);
  5. yield " ";
  6. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("post.num_comments", ["count" => Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["post"]) || array_key_exists("post", $context) ? $context["post"] : (function () { throw new RuntimeError('Variable "post" does not exist.', 42, $this->source); })()), "comments", [], "any", false, false, false, 42))]), "html", null, true);
  7. yield "
  8. </h3>
  9. ";
  10. // line 45
in vendor/twig/twig/src/Template.php -> block_main (line 456)
  1. }
  2. if (null !== $template) {
  3. try {
  4. $template->ensureSecurityChecked();
  5. yield from $template->$block($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($template->getSourceContext());
  9. }
  1. yield Twig\Extension\CoreExtension::include($this->env, $context, "default/_flash_messages.html.twig");
  2. yield "
  3. ";
  4. // line 59
  5. yield from $this->unwrap()->yieldBlock('main', $context, $blocks);
  6. // line 60
  7. yield " </div>
  8. \t\t\t\t
  9. </div>
  10. \t\t
in vendor/twig/twig/src/Template.php -> block_body (line 456)
  1. }
  2. if (null !== $template) {
  3. try {
  4. $template->ensureSecurityChecked();
  5. yield from $template->$block($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($template->getSourceContext());
  9. }
  1. yield from $this->unwrap()->yieldBlock('header', $context, $blocks);
  2. // line 53
  3. yield "\t\t <div class=\"container body-container\">
  4. ";
  5. // line 54
  6. yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
  7. // line 65
  8. yield "\t\t\t</div>
  9. \t\t
  10. \t\t ";
  11. // line 67
in vendor/twig/twig/src/Template.php -> doDisplay (line 411)
  1. $context += $this->env->getGlobals();
  2. $blocks = array_merge($this->blocks, $blocks);
  3. try {
  4. $this->ensureSecurityChecked();
  5. yield from $this->doDisplay($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($this->getSourceContext());
  9. }
  1. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "blog/post_show.html.twig"));
  3. $this->parent = $this->load("baseblog.html.twig", 1);
  4. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  5. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  6. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
in vendor/twig/twig/src/Template.php -> doDisplay (line 411)
  1. $context += $this->env->getGlobals();
  2. $blocks = array_merge($this->blocks, $blocks);
  3. try {
  4. $this->ensureSecurityChecked();
  5. yield from $this->doDisplay($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($this->getSourceContext());
  9. }
  1. return $this->blocks;
  2. }
  3. public function display(array $context, array $blocks = []): void
  4. {
  5. foreach ($this->yield($context, $blocks) as $data) {
  6. echo $data;
  7. }
  8. }
  9. public function render(array $context): string
in vendor/twig/twig/src/Template.php -> display (line 381)
  1. ob_start();
  2. } else {
  3. ob_start(static function () { return ''; });
  4. }
  5. try {
  6. $this->display($context);
  7. } catch (\Throwable $e) {
  8. while (ob_get_level() > $level) {
  9. ob_end_clean();
  10. }
  1. yield from $this->template->yieldBlock($name, $context);
  2. }
  3. public function render(array $context = []): string
  4. {
  5. return $this->template->render($context);
  6. }
  7. /**
  8. * @return void
  9. */
  1. * @throws SyntaxError When an error occurred during compilation
  2. * @throws RuntimeError When an error occurred during rendering
  3. */
  4. public function render($name, array $context = []): string
  5. {
  6. return $this->load($name)->render($context);
  7. }
  8. /**
  9. * Displays a template.
  10. *
  1. if (null !== $block) {
  2. return $this->container->get('twig')->load($view)->renderBlock($block, $parameters);
  3. }
  4. return $this->container->get('twig')->render($view, $parameters);
  5. }
  6. private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response
  7. {
  8. $content = $this->doRenderView($view, $block, $parameters, $method);
  1. return $this->container->get('twig')->render($view, $parameters);
  2. }
  3. private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response
  4. {
  5. $content = $this->doRenderView($view, $block, $parameters, $method);
  6. $response ??= new Response();
  7. if (200 === $response->getStatusCode()) {
  8. foreach ($parameters as $v) {
  9. if ($v instanceof FormInterface && $v->isSubmitted() && !$v->isValid()) {
  1. * If an invalid form is found in the list of parameters, a 422 status code is returned.
  2. * Forms found in parameters are auto-cast to form views.
  3. */
  4. protected function render(string $view, array $parameters = [], ?Response $response = null): Response
  5. {
  6. return $this->doRender($view, null, $parameters, $response, __FUNCTION__);
  7. }
  8. /**
  9. * Renders a block in a view.
  10. *
AbstractController->render('blog/post_show.html.twig', array('post' => object(Post))) in src/Controller/BlogController.php (line 97)
  1. // See https://symfony.com/doc/current/templates.html#the-dump-twig-utilities
  2. //
  3. // You can also leverage Symfony's 'dd()' function that dumps and
  4. // stops the execution
  5. return $this->render('blog/post_show.html.twig', ['post' => $post]);
  6. }
  7. /**
  8. * NOTE: The #[MapEntity] mapping is required because the route parameter
  9. * (postSlug) doesn't match any of the Doctrine entity properties (slug).
  1. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
  2. $controller = $event->getController();
  3. $arguments = $event->getArguments();
  4. // call controller
  5. $response = $controller(...$arguments);
  6. // view
  7. if (!$response instanceof Response) {
  8. $event = new ViewEvent($this, $request, $type, $response, $controllerMetadata);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type, $controllerMetadata);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. $response->send(false);
  7. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
  8. fastcgi_finish_request();
in vendor/autoload_runtime.php -> run (line 32)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/masaepz/www/expense/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5. return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Logs

Level Channel Message
DEBUG 13:23:50 php Warning: Zend OPcache API is restricted by "restrict_api" configuration directive
{
    "exception": {
        "severity": 2,
        "file": "/home/masaepz/www/expense/vendor/symfony/error-handler/DebugClassLoader.php",
        "line": 346,
        "trace": [
            {
                "file": "/home/masaepz/www/expense/vendor/symfony/debug-bundle/DebugBundle.php",
                "line": 34,
                "function": "loadClass",
                "class": "Symfony\\Component\\ErrorHandler\\DebugClassLoader",
                "type": "->"
            }
        ],
        "count": 38
    }
}
INFO 13:23:50 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "a2200b"
    },
    "request_uri": "http://masaepiano.com/_profiler/a2200b?panel=exception&type=request",
    "method": "GET"
}

Stack Traces 4

[4/4] RuntimeError
Twig\Error\RuntimeError:
An exception has been thrown during the rendering of a template ("An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.post_id' in 'field list'") in "blog/post_show.html.twig" at line 42.

  at templates/blog/post_show.html.twig:42
  at Twig\Template->yieldBlock('main', array('post' => object(Post), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_javascripts'), 'importmap' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_importmap'), 'body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'header' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_header'), 'body' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_body'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'footer' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_footer'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (var/cache/dev/twig/05/050337db882ba964a11bafa757fca841.php:320)
  at __TwigTemplate_7cd948a735280afb592133720144d1d4->block_body(array('post' => object(Post), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_javascripts'), 'importmap' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_importmap'), 'body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'header' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_header'), 'body' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_body'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'footer' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_footer'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (vendor/twig/twig/src/Template.php:456)
  at Twig\Template->yieldBlock('body', array('post' => object(Post), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_javascripts'), 'importmap' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_importmap'), 'body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'header' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_header'), 'body' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_body'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'footer' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_footer'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (var/cache/dev/twig/05/050337db882ba964a11bafa757fca841.php:107)
  at __TwigTemplate_7cd948a735280afb592133720144d1d4->doDisplay(array('post' => object(Post), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_javascripts'), 'importmap' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_importmap'), 'body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'header' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_header'), 'body' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_body'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'footer' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_footer'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (vendor/twig/twig/src/Template.php:411)
  at Twig\Template->yield(array('post' => object(Post), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_javascripts'), 'importmap' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_importmap'), 'body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'header' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_header'), 'body' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_body'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'footer' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_footer'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (var/cache/dev/twig/c7/c7b819c7961a1d884b5ca6b2f07b2a59.php:55)
  at __TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1->doDisplay(array('post' => object(Post), 'app' => object(AppVariable)), array('body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (vendor/twig/twig/src/Template.php:411)
  at Twig\Template->yield(array('post' => object(Post), 'app' => object(AppVariable)), array('body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (vendor/twig/twig/src/Template.php:366)
  at Twig\Template->display(array('post' => object(Post)))
     (vendor/twig/twig/src/Template.php:381)
  at Twig\Template->render(array('post' => object(Post)))
     (vendor/twig/twig/src/TemplateWrapper.php:51)
  at Twig\TemplateWrapper->render(array('post' => object(Post)))
     (vendor/twig/twig/src/Environment.php:333)
  at Twig\Environment->render('blog/post_show.html.twig', array('post' => object(Post)))
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:472)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView('blog/post_show.html.twig', null, array('post' => object(Post)), 'render')
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:477)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender('blog/post_show.html.twig', null, array('post' => object(Post)), null, 'render')
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:281)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render('blog/post_show.html.twig', array('post' => object(Post)))
     (src/Controller/BlogController.php:97)
  at App\Controller\BlogController->postShow(object(Post))
     (vendor/symfony/http-kernel/HttpKernel.php:188)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1, object(ControllerArgumentsMetadata))
     (vendor/symfony/http-kernel/HttpKernel.php:79)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:143)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:32)
  at require_once('/home/masaepz/www/expense/vendor/autoload_runtime.php')
     (public/index.php:5)                
[3/4] InvalidFieldNameException
Doctrine\DBAL\Exception\InvalidFieldNameException:
An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.post_id' in 'field list'

  at vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:63
  at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert(object(Exception), object(Query))
     (vendor/doctrine/dbal/src/Connection.php:1460)
  at Doctrine\DBAL\Connection->handleDriverException(object(Exception), object(Query))
     (vendor/doctrine/dbal/src/Connection.php:1396)
  at Doctrine\DBAL\Connection->convertExceptionDuringQuery(object(Exception), 'SELECT t0.id AS id_1, t0.content AS content_2, t0.published_at AS published_at_3, t0.post_id AS post_id_4, t0.author_id AS author_id_5 FROM symfony_demo_comment t0 WHERE t0.post_id = ? ORDER BY t0.published_at DESC', array(40), array('integer'))
     (vendor/doctrine/dbal/src/Connection.php:809)
  at Doctrine\DBAL\Connection->executeQuery('SELECT t0.id AS id_1, t0.content AS content_2, t0.published_at AS published_at_3, t0.post_id AS post_id_4, t0.author_id AS author_id_5 FROM symfony_demo_comment t0 WHERE t0.post_id = ? ORDER BY t0.published_at DESC', array(40), array('integer'))
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:1872)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->getOneToManyStatement(object(OneToManyAssociationMapping), object(Post))
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:1817)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadOneToManyCollection(object(OneToManyAssociationMapping), object(Post), object(PersistentCollection))
     (vendor/doctrine/orm/src/UnitOfWork.php:2733)
  at Doctrine\ORM\UnitOfWork->loadCollection(object(PersistentCollection))
     (vendor/doctrine/orm/src/PersistentCollection.php:636)
  at Doctrine\ORM\PersistentCollection->doInitialize()
     (vendor/doctrine/orm/src/PersistentCollection.php:186)
  at Doctrine\ORM\PersistentCollection->initialize()
     (vendor/doctrine/collections/src/AbstractLazyCollection.php:41)
  at Doctrine\Common\Collections\AbstractLazyCollection->count()
     (vendor/doctrine/orm/src/PersistentCollection.php:391)
  at Doctrine\ORM\PersistentCollection->count()
     (vendor/twig/twig/src/Extension/CoreExtension.php:1278)
  at Twig\Extension\CoreExtension::length('UTF-8', object(PersistentCollection))
     (var/cache/dev/twig/c7/c7b819c7961a1d884b5ca6b2f07b2a59.php:171)
  at __TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1->block_main(array('post' => object(Post), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_javascripts'), 'importmap' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_importmap'), 'body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'header' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_header'), 'body' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_body'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'footer' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_footer'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (vendor/twig/twig/src/Template.php:456)
  at Twig\Template->yieldBlock('main', array('post' => object(Post), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_javascripts'), 'importmap' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_importmap'), 'body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'header' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_header'), 'body' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_body'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'footer' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_footer'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (var/cache/dev/twig/05/050337db882ba964a11bafa757fca841.php:320)
  at __TwigTemplate_7cd948a735280afb592133720144d1d4->block_body(array('post' => object(Post), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_javascripts'), 'importmap' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_importmap'), 'body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'header' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_header'), 'body' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_body'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'footer' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_footer'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (vendor/twig/twig/src/Template.php:456)
  at Twig\Template->yieldBlock('body', array('post' => object(Post), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_javascripts'), 'importmap' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_importmap'), 'body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'header' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_header'), 'body' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_body'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'footer' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_footer'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (var/cache/dev/twig/05/050337db882ba964a11bafa757fca841.php:107)
  at __TwigTemplate_7cd948a735280afb592133720144d1d4->doDisplay(array('post' => object(Post), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_javascripts'), 'importmap' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_importmap'), 'body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'header' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_header'), 'body' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_body'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'footer' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_footer'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (vendor/twig/twig/src/Template.php:411)
  at Twig\Template->yield(array('post' => object(Post), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_javascripts'), 'importmap' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_importmap'), 'body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'header' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_header'), 'body' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_body'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'footer' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_footer'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (var/cache/dev/twig/c7/c7b819c7961a1d884b5ca6b2f07b2a59.php:55)
  at __TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1->doDisplay(array('post' => object(Post), 'app' => object(AppVariable)), array('body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (vendor/twig/twig/src/Template.php:411)
  at Twig\Template->yield(array('post' => object(Post), 'app' => object(AppVariable)), array('body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (vendor/twig/twig/src/Template.php:366)
  at Twig\Template->display(array('post' => object(Post)))
     (vendor/twig/twig/src/Template.php:381)
  at Twig\Template->render(array('post' => object(Post)))
     (vendor/twig/twig/src/TemplateWrapper.php:51)
  at Twig\TemplateWrapper->render(array('post' => object(Post)))
     (vendor/twig/twig/src/Environment.php:333)
  at Twig\Environment->render('blog/post_show.html.twig', array('post' => object(Post)))
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:472)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView('blog/post_show.html.twig', null, array('post' => object(Post)), 'render')
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:477)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender('blog/post_show.html.twig', null, array('post' => object(Post)), null, 'render')
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:281)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render('blog/post_show.html.twig', array('post' => object(Post)))
     (src/Controller/BlogController.php:97)
  at App\Controller\BlogController->postShow(object(Post))
     (vendor/symfony/http-kernel/HttpKernel.php:188)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1, object(ControllerArgumentsMetadata))
     (vendor/symfony/http-kernel/HttpKernel.php:79)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:143)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:32)
  at require_once('/home/masaepz/www/expense/vendor/autoload_runtime.php')
     (public/index.php:5)                
[2/4] Exception
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.post_id' in 'field list'

  at vendor/doctrine/dbal/src/Driver/PDO/Exception.php:24
  at Doctrine\DBAL\Driver\PDO\Exception::new(object(PDOException))
     (vendor/doctrine/dbal/src/Driver/PDO/Statement.php:57)
  at Doctrine\DBAL\Driver\PDO\Statement->execute()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:24)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (vendor/doctrine/dbal/src/Logging/Statement.php:46)
  at Doctrine\DBAL\Logging\Statement->execute()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:24)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (vendor/symfony/doctrine-bridge/Middleware/Debug/Statement.php:58)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Statement->execute()
     (vendor/doctrine/dbal/src/Connection.php:802)
  at Doctrine\DBAL\Connection->executeQuery('SELECT t0.id AS id_1, t0.content AS content_2, t0.published_at AS published_at_3, t0.post_id AS post_id_4, t0.author_id AS author_id_5 FROM symfony_demo_comment t0 WHERE t0.post_id = ? ORDER BY t0.published_at DESC', array(40), array('integer'))
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:1872)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->getOneToManyStatement(object(OneToManyAssociationMapping), object(Post))
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:1817)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadOneToManyCollection(object(OneToManyAssociationMapping), object(Post), object(PersistentCollection))
     (vendor/doctrine/orm/src/UnitOfWork.php:2733)
  at Doctrine\ORM\UnitOfWork->loadCollection(object(PersistentCollection))
     (vendor/doctrine/orm/src/PersistentCollection.php:636)
  at Doctrine\ORM\PersistentCollection->doInitialize()
     (vendor/doctrine/orm/src/PersistentCollection.php:186)
  at Doctrine\ORM\PersistentCollection->initialize()
     (vendor/doctrine/collections/src/AbstractLazyCollection.php:41)
  at Doctrine\Common\Collections\AbstractLazyCollection->count()
     (vendor/doctrine/orm/src/PersistentCollection.php:391)
  at Doctrine\ORM\PersistentCollection->count()
     (vendor/twig/twig/src/Extension/CoreExtension.php:1278)
  at Twig\Extension\CoreExtension::length('UTF-8', object(PersistentCollection))
     (var/cache/dev/twig/c7/c7b819c7961a1d884b5ca6b2f07b2a59.php:171)
  at __TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1->block_main(array('post' => object(Post), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_javascripts'), 'importmap' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_importmap'), 'body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'header' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_header'), 'body' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_body'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'footer' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_footer'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (vendor/twig/twig/src/Template.php:456)
  at Twig\Template->yieldBlock('main', array('post' => object(Post), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_javascripts'), 'importmap' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_importmap'), 'body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'header' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_header'), 'body' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_body'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'footer' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_footer'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (var/cache/dev/twig/05/050337db882ba964a11bafa757fca841.php:320)
  at __TwigTemplate_7cd948a735280afb592133720144d1d4->block_body(array('post' => object(Post), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_javascripts'), 'importmap' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_importmap'), 'body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'header' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_header'), 'body' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_body'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'footer' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_footer'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (vendor/twig/twig/src/Template.php:456)
  at Twig\Template->yieldBlock('body', array('post' => object(Post), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_javascripts'), 'importmap' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_importmap'), 'body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'header' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_header'), 'body' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_body'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'footer' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_footer'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (var/cache/dev/twig/05/050337db882ba964a11bafa757fca841.php:107)
  at __TwigTemplate_7cd948a735280afb592133720144d1d4->doDisplay(array('post' => object(Post), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_javascripts'), 'importmap' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_importmap'), 'body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'header' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_header'), 'body' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_body'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'footer' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_footer'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (vendor/twig/twig/src/Template.php:411)
  at Twig\Template->yield(array('post' => object(Post), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_javascripts'), 'importmap' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_importmap'), 'body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'header' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_header'), 'body' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_body'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'footer' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_footer'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (var/cache/dev/twig/c7/c7b819c7961a1d884b5ca6b2f07b2a59.php:55)
  at __TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1->doDisplay(array('post' => object(Post), 'app' => object(AppVariable)), array('body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (vendor/twig/twig/src/Template.php:411)
  at Twig\Template->yield(array('post' => object(Post), 'app' => object(AppVariable)), array('body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (vendor/twig/twig/src/Template.php:366)
  at Twig\Template->display(array('post' => object(Post)))
     (vendor/twig/twig/src/Template.php:381)
  at Twig\Template->render(array('post' => object(Post)))
     (vendor/twig/twig/src/TemplateWrapper.php:51)
  at Twig\TemplateWrapper->render(array('post' => object(Post)))
     (vendor/twig/twig/src/Environment.php:333)
  at Twig\Environment->render('blog/post_show.html.twig', array('post' => object(Post)))
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:472)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView('blog/post_show.html.twig', null, array('post' => object(Post)), 'render')
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:477)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender('blog/post_show.html.twig', null, array('post' => object(Post)), null, 'render')
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:281)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render('blog/post_show.html.twig', array('post' => object(Post)))
     (src/Controller/BlogController.php:97)
  at App\Controller\BlogController->postShow(object(Post))
     (vendor/symfony/http-kernel/HttpKernel.php:188)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1, object(ControllerArgumentsMetadata))
     (vendor/symfony/http-kernel/HttpKernel.php:79)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:143)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:32)
  at require_once('/home/masaepz/www/expense/vendor/autoload_runtime.php')
     (public/index.php:5)                
[1/4] PDOException
PDOException:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.post_id' in 'field list'

  at vendor/doctrine/dbal/src/Driver/PDO/Statement.php:55
  at PDOStatement->execute()
     (vendor/doctrine/dbal/src/Driver/PDO/Statement.php:55)
  at Doctrine\DBAL\Driver\PDO\Statement->execute()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:24)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (vendor/doctrine/dbal/src/Logging/Statement.php:46)
  at Doctrine\DBAL\Logging\Statement->execute()
     (vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:24)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (vendor/symfony/doctrine-bridge/Middleware/Debug/Statement.php:58)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Statement->execute()
     (vendor/doctrine/dbal/src/Connection.php:802)
  at Doctrine\DBAL\Connection->executeQuery('SELECT t0.id AS id_1, t0.content AS content_2, t0.published_at AS published_at_3, t0.post_id AS post_id_4, t0.author_id AS author_id_5 FROM symfony_demo_comment t0 WHERE t0.post_id = ? ORDER BY t0.published_at DESC', array(40), array('integer'))
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:1872)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->getOneToManyStatement(object(OneToManyAssociationMapping), object(Post))
     (vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:1817)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadOneToManyCollection(object(OneToManyAssociationMapping), object(Post), object(PersistentCollection))
     (vendor/doctrine/orm/src/UnitOfWork.php:2733)
  at Doctrine\ORM\UnitOfWork->loadCollection(object(PersistentCollection))
     (vendor/doctrine/orm/src/PersistentCollection.php:636)
  at Doctrine\ORM\PersistentCollection->doInitialize()
     (vendor/doctrine/orm/src/PersistentCollection.php:186)
  at Doctrine\ORM\PersistentCollection->initialize()
     (vendor/doctrine/collections/src/AbstractLazyCollection.php:41)
  at Doctrine\Common\Collections\AbstractLazyCollection->count()
     (vendor/doctrine/orm/src/PersistentCollection.php:391)
  at Doctrine\ORM\PersistentCollection->count()
     (vendor/twig/twig/src/Extension/CoreExtension.php:1278)
  at Twig\Extension\CoreExtension::length('UTF-8', object(PersistentCollection))
     (var/cache/dev/twig/c7/c7b819c7961a1d884b5ca6b2f07b2a59.php:171)
  at __TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1->block_main(array('post' => object(Post), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_javascripts'), 'importmap' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_importmap'), 'body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'header' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_header'), 'body' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_body'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'footer' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_footer'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (vendor/twig/twig/src/Template.php:456)
  at Twig\Template->yieldBlock('main', array('post' => object(Post), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_javascripts'), 'importmap' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_importmap'), 'body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'header' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_header'), 'body' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_body'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'footer' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_footer'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (var/cache/dev/twig/05/050337db882ba964a11bafa757fca841.php:320)
  at __TwigTemplate_7cd948a735280afb592133720144d1d4->block_body(array('post' => object(Post), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_javascripts'), 'importmap' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_importmap'), 'body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'header' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_header'), 'body' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_body'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'footer' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_footer'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (vendor/twig/twig/src/Template.php:456)
  at Twig\Template->yieldBlock('body', array('post' => object(Post), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_javascripts'), 'importmap' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_importmap'), 'body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'header' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_header'), 'body' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_body'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'footer' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_footer'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (var/cache/dev/twig/05/050337db882ba964a11bafa757fca841.php:107)
  at __TwigTemplate_7cd948a735280afb592133720144d1d4->doDisplay(array('post' => object(Post), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_javascripts'), 'importmap' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_importmap'), 'body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'header' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_header'), 'body' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_body'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'footer' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_footer'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (vendor/twig/twig/src/Template.php:411)
  at Twig\Template->yield(array('post' => object(Post), 'app' => object(AppVariable)), array('title' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_javascripts'), 'importmap' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_importmap'), 'body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'header' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_header'), 'body' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_body'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'footer' => array(object(__TwigTemplate_7cd948a735280afb592133720144d1d4), 'block_footer'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (var/cache/dev/twig/c7/c7b819c7961a1d884b5ca6b2f07b2a59.php:55)
  at __TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1->doDisplay(array('post' => object(Post), 'app' => object(AppVariable)), array('body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (vendor/twig/twig/src/Template.php:411)
  at Twig\Template->yield(array('post' => object(Post), 'app' => object(AppVariable)), array('body_id' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_body_id'), 'main' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_main'), 'sidebar' => array(object(__TwigTemplate_7c86a302b272ae7cfd9550a6c8ef6bc1), 'block_sidebar')))
     (vendor/twig/twig/src/Template.php:366)
  at Twig\Template->display(array('post' => object(Post)))
     (vendor/twig/twig/src/Template.php:381)
  at Twig\Template->render(array('post' => object(Post)))
     (vendor/twig/twig/src/TemplateWrapper.php:51)
  at Twig\TemplateWrapper->render(array('post' => object(Post)))
     (vendor/twig/twig/src/Environment.php:333)
  at Twig\Environment->render('blog/post_show.html.twig', array('post' => object(Post)))
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:472)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView('blog/post_show.html.twig', null, array('post' => object(Post)), 'render')
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:477)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender('blog/post_show.html.twig', null, array('post' => object(Post)), null, 'render')
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:281)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render('blog/post_show.html.twig', array('post' => object(Post)))
     (src/Controller/BlogController.php:97)
  at App\Controller\BlogController->postShow(object(Post))
     (vendor/symfony/http-kernel/HttpKernel.php:188)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1, object(ControllerArgumentsMetadata))
     (vendor/symfony/http-kernel/HttpKernel.php:79)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:143)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:32)
  at require_once('/home/masaepz/www/expense/vendor/autoload_runtime.php')
     (public/index.php:5)