Exceptions
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 }
in
templates/blog/post_show.html.twig
(line 42)
</p>{% endif %}</div><h3><twig:ux:icon name="tabler:messages"/> {{ 'post.num_comments'|trans({count: post.comments|length}) }}</h3>{% for comment in post.comments %}<div class="row post-comment"><a name="comment_{{ comment.id }}"></a>
in
var/cache/dev/twig/05/050337db882ba964a11bafa757fca841.php
->
yieldBlock
(line 320)
yield Twig\Extension\CoreExtension::include($this->env, $context, "default/_flash_messages.html.twig");yield "";// line 59yield from $this->unwrap()->yieldBlock('main', $context, $blocks);// line 60yield " </div>\t\t\t\t</div>\t\t
in
vendor/twig/twig/src/Template.php
->
block_body
(line 456)
}if (null !== $template) {try {$template->ensureSecurityChecked();yield from $template->$block($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($template->getSourceContext());}
in
var/cache/dev/twig/05/050337db882ba964a11bafa757fca841.php
->
yieldBlock
(line 107)
yield from $this->unwrap()->yieldBlock('header', $context, $blocks);// line 53yield "\t\t <div class=\"container body-container\">";// line 54yield from $this->unwrap()->yieldBlock('body', $context, $blocks);// line 65yield "\t\t\t</div>\t\t\t\t ";// line 67
in
vendor/twig/twig/src/Template.php
->
doDisplay
(line 411)
$context += $this->env->getGlobals();$blocks = array_merge($this->blocks, $blocks);try {$this->ensureSecurityChecked();yield from $this->doDisplay($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($this->getSourceContext());}
in
var/cache/dev/twig/c7/c7b819c7961a1d884b5ca6b2f07b2a59.php
->
yield
(line 55)
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "blog/post_show.html.twig"));$this->parent = $this->load("baseblog.html.twig", 1);yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
in
vendor/twig/twig/src/Template.php
->
doDisplay
(line 411)
$context += $this->env->getGlobals();$blocks = array_merge($this->blocks, $blocks);try {$this->ensureSecurityChecked();yield from $this->doDisplay($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($this->getSourceContext());}
in
vendor/twig/twig/src/Template.php
->
yield
(line 366)
return $this->blocks;}public function display(array $context, array $blocks = []): void{foreach ($this->yield($context, $blocks) as $data) {echo $data;}}public function render(array $context): string
in
vendor/twig/twig/src/Template.php
->
display
(line 381)
ob_start();} else {ob_start(static function () { return ''; });}try {$this->display($context);} catch (\Throwable $e) {while (ob_get_level() > $level) {ob_end_clean();}
in
vendor/twig/twig/src/TemplateWrapper.php
->
render
(line 51)
yield from $this->template->yieldBlock($name, $context);}public function render(array $context = []): string{return $this->template->render($context);}/*** @return void*/
in
vendor/twig/twig/src/Environment.php
->
render
(line 333)
* @throws SyntaxError When an error occurred during compilation* @throws RuntimeError When an error occurred during rendering*/public function render($name, array $context = []): string{return $this->load($name)->render($context);}/*** Displays a template.*
in
vendor/symfony/framework-bundle/Controller/AbstractController.php
->
render
(line 472)
if (null !== $block) {return $this->container->get('twig')->load($view)->renderBlock($block, $parameters);}return $this->container->get('twig')->render($view, $parameters);}private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response{$content = $this->doRenderView($view, $block, $parameters, $method);
in
vendor/symfony/framework-bundle/Controller/AbstractController.php
->
doRenderView
(line 477)
return $this->container->get('twig')->render($view, $parameters);}private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response{$content = $this->doRenderView($view, $block, $parameters, $method);$response ??= new Response();if (200 === $response->getStatusCode()) {foreach ($parameters as $v) {if ($v instanceof FormInterface && $v->isSubmitted() && !$v->isValid()) {
in
vendor/symfony/framework-bundle/Controller/AbstractController.php
->
doRender
(line 281)
* If an invalid form is found in the list of parameters, a 422 status code is returned.* Forms found in parameters are auto-cast to form views.*/protected function render(string $view, array $parameters = [], ?Response $response = null): Response{return $this->doRender($view, null, $parameters, $response, __FUNCTION__);}/*** Renders a block in a view.*
AbstractController->render('blog/post_show.html.twig', array('post' => object(Post)))
in
src/Controller/BlogController.php
(line 97)
// See https://symfony.com/doc/current/templates.html#the-dump-twig-utilities//// You can also leverage Symfony's 'dd()' function that dumps and// stops the executionreturn $this->render('blog/post_show.html.twig', ['post' => $post]);}/*** NOTE: The #[MapEntity] mapping is required because the route parameter* (postSlug) doesn't match any of the Doctrine entity properties (slug).
in
vendor/symfony/http-kernel/HttpKernel.php
->
postShow
(line 188)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();// call controller$response = $controller(...$arguments);// viewif (!$response instanceof Response) {$event = new ViewEvent($this, $request, $type, $response, $controllerMetadata);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 79)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type, $controllerMetadata);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 143)
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 34)
) {}public function run(): int{$response = $this->kernel->handle($this->request);$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {fastcgi_finish_request();
in
vendor/autoload_runtime.php
->
run
(line 32)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Doctrine\DBAL\Exception\ InvalidFieldNameException
1557,1569,1586 => new UniqueConstraintViolationException($exception, $query),1054,1166,1611 => new InvalidFieldNameException($exception, $query),1052,1060,1110 => new NonUniqueFieldNameException($exception, $query),1064,1149,
in
vendor/doctrine/dbal/src/Connection.php
->
convert
(line 1460)
private function handleDriverException(Driver\Exception $driverException,?Query $query,): DriverException {$this->exceptionConverter ??= $this->driver->getExceptionConverter();$exception = $this->exceptionConverter->convert($driverException, $query);if ($exception instanceof ConnectionLost) {$this->close();}
in
vendor/doctrine/dbal/src/Connection.php
->
handleDriverException
(line 1396)
Driver\Exception $e,string $sql,array $params = [],array $types = [],): DriverException {return $this->handleDriverException($e, new Query($sql, $params, $types));}/** @internal */final public function convertException(Driver\Exception $e): DriverException{
in
vendor/doctrine/dbal/src/Connection.php
->
convertExceptionDuringQuery
(line 809)
$result = $connection->query($sql);}return new Result($result, $this);} catch (Driver\Exception $e) {throw $this->convertExceptionDuringQuery($e, $sql, $params, $types);}}/*** Executes a caching query.
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
executeQuery
(line 1872)
}$sql = $this->getSelectSQL($criteria, $assoc, null, $limit, $offset);[$params, $types] = $this->expandToManyParameters($parameters);return $this->conn->executeQuery($sql, $params, $types);}/*** {@inheritDoc}*/
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
getOneToManyStatement
(line 1817)
AssociationMapping $assoc,object $sourceEntity,PersistentCollection $collection,): mixed {assert($assoc instanceof OneToManyAssociationMapping);$stmt = $this->getOneToManyStatement($assoc, $sourceEntity);return $this->loadCollectionFromStatement($assoc, $stmt, $collection);}/** Builds criteria and execute SQL statement to fetch the one to many entities from. */
in
vendor/doctrine/orm/src/UnitOfWork.php
->
loadOneToManyCollection
(line 2733)
$assoc = $collection->getMapping();$persister = $this->getEntityPersister($assoc->targetEntity);switch ($assoc->type()) {case ClassMetadata::ONE_TO_MANY:$persister->loadOneToManyCollection($assoc, $collection->getOwner(), $collection);break;case ClassMetadata::MANY_TO_MANY:$persister->loadManyToManyCollection($assoc, $collection->getOwner(), $collection);break;
in
vendor/doctrine/orm/src/PersistentCollection.php
->
loadCollection
(line 636)
if ($this->isDirty) {$newlyAddedDirtyObjects = $this->unwrap()->toArray();}$this->unwrap()->clear();$this->getUnitOfWork()->loadCollection($this);$this->takeSnapshot();if ($newlyAddedDirtyObjects) {$this->restoreNewObjectsInDirtyCollection($newlyAddedDirtyObjects);}
in
vendor/doctrine/orm/src/PersistentCollection.php
->
doInitialize
(line 186)
{if ($this->initialized || ! $this->association) {return;}$this->doInitialize();$this->initialized = true;}/**
in
vendor/doctrine/collections/src/AbstractLazyCollection.php
->
initialize
(line 41)
* @return int*/#[ReturnTypeWillChange]public function count(){$this->initialize();return $this->collection->count();}/**
in
vendor/doctrine/orm/src/PersistentCollection.php
->
count
(line 391)
$persister = $this->getUnitOfWork()->getCollectionPersister($this->association);return $persister->count($this) + ($this->isDirty ? $this->unwrap()->count() : 0);}return parent::count();}public function set(string|int $key, mixed $value): void{parent::set($key, $value);
in
vendor/twig/twig/src/Extension/CoreExtension.php
->
count
(line 1278)
if (\is_scalar($thing)) {return mb_strlen($thing, $charset);}if ($thing instanceof \Countable || \is_array($thing) || $thing instanceof \SimpleXMLElement) {return \count($thing);}if ($thing instanceof \Traversable) {return iterator_count($thing);}
in
var/cache/dev/twig/c7/c7b819c7961a1d884b5ca6b2f07b2a59.php
::
length
(line 171)
<h3>";// line 42yield $this->env->getRuntime('Symfony\UX\TwigComponent\Twig\ComponentRuntime')->render("ux:icon", ["name" => "tabler:messages"]);yield " ";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);yield "</h3>";// line 45
in
vendor/twig/twig/src/Template.php
->
block_main
(line 456)
}if (null !== $template) {try {$template->ensureSecurityChecked();yield from $template->$block($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($template->getSourceContext());}
in
var/cache/dev/twig/05/050337db882ba964a11bafa757fca841.php
->
yieldBlock
(line 320)
yield Twig\Extension\CoreExtension::include($this->env, $context, "default/_flash_messages.html.twig");yield "";// line 59yield from $this->unwrap()->yieldBlock('main', $context, $blocks);// line 60yield " </div>\t\t\t\t</div>\t\t
in
vendor/twig/twig/src/Template.php
->
block_body
(line 456)
}if (null !== $template) {try {$template->ensureSecurityChecked();yield from $template->$block($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($template->getSourceContext());}
in
var/cache/dev/twig/05/050337db882ba964a11bafa757fca841.php
->
yieldBlock
(line 107)
yield from $this->unwrap()->yieldBlock('header', $context, $blocks);// line 53yield "\t\t <div class=\"container body-container\">";// line 54yield from $this->unwrap()->yieldBlock('body', $context, $blocks);// line 65yield "\t\t\t</div>\t\t\t\t ";// line 67
in
vendor/twig/twig/src/Template.php
->
doDisplay
(line 411)
$context += $this->env->getGlobals();$blocks = array_merge($this->blocks, $blocks);try {$this->ensureSecurityChecked();yield from $this->doDisplay($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($this->getSourceContext());}
in
var/cache/dev/twig/c7/c7b819c7961a1d884b5ca6b2f07b2a59.php
->
yield
(line 55)
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "blog/post_show.html.twig"));$this->parent = $this->load("baseblog.html.twig", 1);yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
in
vendor/twig/twig/src/Template.php
->
doDisplay
(line 411)
$context += $this->env->getGlobals();$blocks = array_merge($this->blocks, $blocks);try {$this->ensureSecurityChecked();yield from $this->doDisplay($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($this->getSourceContext());}
in
vendor/twig/twig/src/Template.php
->
yield
(line 366)
return $this->blocks;}public function display(array $context, array $blocks = []): void{foreach ($this->yield($context, $blocks) as $data) {echo $data;}}public function render(array $context): string
in
vendor/twig/twig/src/Template.php
->
display
(line 381)
ob_start();} else {ob_start(static function () { return ''; });}try {$this->display($context);} catch (\Throwable $e) {while (ob_get_level() > $level) {ob_end_clean();}
in
vendor/twig/twig/src/TemplateWrapper.php
->
render
(line 51)
yield from $this->template->yieldBlock($name, $context);}public function render(array $context = []): string{return $this->template->render($context);}/*** @return void*/
in
vendor/twig/twig/src/Environment.php
->
render
(line 333)
* @throws SyntaxError When an error occurred during compilation* @throws RuntimeError When an error occurred during rendering*/public function render($name, array $context = []): string{return $this->load($name)->render($context);}/*** Displays a template.*
in
vendor/symfony/framework-bundle/Controller/AbstractController.php
->
render
(line 472)
if (null !== $block) {return $this->container->get('twig')->load($view)->renderBlock($block, $parameters);}return $this->container->get('twig')->render($view, $parameters);}private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response{$content = $this->doRenderView($view, $block, $parameters, $method);
in
vendor/symfony/framework-bundle/Controller/AbstractController.php
->
doRenderView
(line 477)
return $this->container->get('twig')->render($view, $parameters);}private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response{$content = $this->doRenderView($view, $block, $parameters, $method);$response ??= new Response();if (200 === $response->getStatusCode()) {foreach ($parameters as $v) {if ($v instanceof FormInterface && $v->isSubmitted() && !$v->isValid()) {
in
vendor/symfony/framework-bundle/Controller/AbstractController.php
->
doRender
(line 281)
* If an invalid form is found in the list of parameters, a 422 status code is returned.* Forms found in parameters are auto-cast to form views.*/protected function render(string $view, array $parameters = [], ?Response $response = null): Response{return $this->doRender($view, null, $parameters, $response, __FUNCTION__);}/*** Renders a block in a view.*
AbstractController->render('blog/post_show.html.twig', array('post' => object(Post)))
in
src/Controller/BlogController.php
(line 97)
// See https://symfony.com/doc/current/templates.html#the-dump-twig-utilities//// You can also leverage Symfony's 'dd()' function that dumps and// stops the executionreturn $this->render('blog/post_show.html.twig', ['post' => $post]);}/*** NOTE: The #[MapEntity] mapping is required because the route parameter* (postSlug) doesn't match any of the Doctrine entity properties (slug).
in
vendor/symfony/http-kernel/HttpKernel.php
->
postShow
(line 188)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();// call controller$response = $controller(...$arguments);// viewif (!$response instanceof Response) {$event = new ViewEvent($this, $request, $type, $response, $controllerMetadata);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 79)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type, $controllerMetadata);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 143)
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 34)
) {}public function run(): int{$response = $this->kernel->handle($this->request);$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {fastcgi_finish_request();
in
vendor/autoload_runtime.php
->
run
(line 32)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Doctrine\DBAL\Driver\PDO\ Exception
in
vendor/doctrine/dbal/src/Driver/PDO/Exception.php
(line 24)
} else {$code = $exception->getCode();$sqlState = null;}return new self($exception->getMessage(), $sqlState, $code, $exception);}}
in
vendor/doctrine/dbal/src/Driver/PDO/Statement.php
::
new
(line 57)
public function execute(): Result{try {$this->stmt->execute();} catch (PDOException $exception) {throw Exception::new($exception);}return new Result($this->stmt);}
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php
->
execute
(line 24)
$this->wrappedStatement->bindValue($param, $value, $type);}public function execute(): Result{return $this->wrappedStatement->execute();}}
in
vendor/doctrine/dbal/src/Logging/Statement.php
->
execute
(line 46)
'sql' => $this->sql,'params' => $this->params,'types' => $this->types,]);return parent::execute();}}
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php
->
execute
(line 24)
$this->wrappedStatement->bindValue($param, $value, $type);}public function execute(): Result{return $this->wrappedStatement->execute();}}
in
vendor/symfony/doctrine-bridge/Middleware/Debug/Statement.php
->
execute
(line 58)
$this->stopwatch?->start('doctrine', 'doctrine');$query->start();try {return parent::execute();} finally {$query->stop();$this->stopwatch?->stop('doctrine');}}
in
vendor/doctrine/dbal/src/Connection.php
->
execute
(line 802)
$stmt = $connection->prepare($sql);$this->bindParameters($stmt, $params, $types);$result = $stmt->execute();} else {$result = $connection->query($sql);}return new Result($result, $this);
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
executeQuery
(line 1872)
}$sql = $this->getSelectSQL($criteria, $assoc, null, $limit, $offset);[$params, $types] = $this->expandToManyParameters($parameters);return $this->conn->executeQuery($sql, $params, $types);}/*** {@inheritDoc}*/
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
getOneToManyStatement
(line 1817)
AssociationMapping $assoc,object $sourceEntity,PersistentCollection $collection,): mixed {assert($assoc instanceof OneToManyAssociationMapping);$stmt = $this->getOneToManyStatement($assoc, $sourceEntity);return $this->loadCollectionFromStatement($assoc, $stmt, $collection);}/** Builds criteria and execute SQL statement to fetch the one to many entities from. */
in
vendor/doctrine/orm/src/UnitOfWork.php
->
loadOneToManyCollection
(line 2733)
$assoc = $collection->getMapping();$persister = $this->getEntityPersister($assoc->targetEntity);switch ($assoc->type()) {case ClassMetadata::ONE_TO_MANY:$persister->loadOneToManyCollection($assoc, $collection->getOwner(), $collection);break;case ClassMetadata::MANY_TO_MANY:$persister->loadManyToManyCollection($assoc, $collection->getOwner(), $collection);break;
in
vendor/doctrine/orm/src/PersistentCollection.php
->
loadCollection
(line 636)
if ($this->isDirty) {$newlyAddedDirtyObjects = $this->unwrap()->toArray();}$this->unwrap()->clear();$this->getUnitOfWork()->loadCollection($this);$this->takeSnapshot();if ($newlyAddedDirtyObjects) {$this->restoreNewObjectsInDirtyCollection($newlyAddedDirtyObjects);}
in
vendor/doctrine/orm/src/PersistentCollection.php
->
doInitialize
(line 186)
{if ($this->initialized || ! $this->association) {return;}$this->doInitialize();$this->initialized = true;}/**
in
vendor/doctrine/collections/src/AbstractLazyCollection.php
->
initialize
(line 41)
* @return int*/#[ReturnTypeWillChange]public function count(){$this->initialize();return $this->collection->count();}/**
in
vendor/doctrine/orm/src/PersistentCollection.php
->
count
(line 391)
$persister = $this->getUnitOfWork()->getCollectionPersister($this->association);return $persister->count($this) + ($this->isDirty ? $this->unwrap()->count() : 0);}return parent::count();}public function set(string|int $key, mixed $value): void{parent::set($key, $value);
in
vendor/twig/twig/src/Extension/CoreExtension.php
->
count
(line 1278)
if (\is_scalar($thing)) {return mb_strlen($thing, $charset);}if ($thing instanceof \Countable || \is_array($thing) || $thing instanceof \SimpleXMLElement) {return \count($thing);}if ($thing instanceof \Traversable) {return iterator_count($thing);}
in
var/cache/dev/twig/c7/c7b819c7961a1d884b5ca6b2f07b2a59.php
::
length
(line 171)
<h3>";// line 42yield $this->env->getRuntime('Symfony\UX\TwigComponent\Twig\ComponentRuntime')->render("ux:icon", ["name" => "tabler:messages"]);yield " ";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);yield "</h3>";// line 45
in
vendor/twig/twig/src/Template.php
->
block_main
(line 456)
}if (null !== $template) {try {$template->ensureSecurityChecked();yield from $template->$block($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($template->getSourceContext());}
in
var/cache/dev/twig/05/050337db882ba964a11bafa757fca841.php
->
yieldBlock
(line 320)
yield Twig\Extension\CoreExtension::include($this->env, $context, "default/_flash_messages.html.twig");yield "";// line 59yield from $this->unwrap()->yieldBlock('main', $context, $blocks);// line 60yield " </div>\t\t\t\t</div>\t\t
in
vendor/twig/twig/src/Template.php
->
block_body
(line 456)
}if (null !== $template) {try {$template->ensureSecurityChecked();yield from $template->$block($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($template->getSourceContext());}
in
var/cache/dev/twig/05/050337db882ba964a11bafa757fca841.php
->
yieldBlock
(line 107)
yield from $this->unwrap()->yieldBlock('header', $context, $blocks);// line 53yield "\t\t <div class=\"container body-container\">";// line 54yield from $this->unwrap()->yieldBlock('body', $context, $blocks);// line 65yield "\t\t\t</div>\t\t\t\t ";// line 67
in
vendor/twig/twig/src/Template.php
->
doDisplay
(line 411)
$context += $this->env->getGlobals();$blocks = array_merge($this->blocks, $blocks);try {$this->ensureSecurityChecked();yield from $this->doDisplay($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($this->getSourceContext());}
in
var/cache/dev/twig/c7/c7b819c7961a1d884b5ca6b2f07b2a59.php
->
yield
(line 55)
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "blog/post_show.html.twig"));$this->parent = $this->load("baseblog.html.twig", 1);yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
in
vendor/twig/twig/src/Template.php
->
doDisplay
(line 411)
$context += $this->env->getGlobals();$blocks = array_merge($this->blocks, $blocks);try {$this->ensureSecurityChecked();yield from $this->doDisplay($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($this->getSourceContext());}
in
vendor/twig/twig/src/Template.php
->
yield
(line 366)
return $this->blocks;}public function display(array $context, array $blocks = []): void{foreach ($this->yield($context, $blocks) as $data) {echo $data;}}public function render(array $context): string
in
vendor/twig/twig/src/Template.php
->
display
(line 381)
ob_start();} else {ob_start(static function () { return ''; });}try {$this->display($context);} catch (\Throwable $e) {while (ob_get_level() > $level) {ob_end_clean();}
in
vendor/twig/twig/src/TemplateWrapper.php
->
render
(line 51)
yield from $this->template->yieldBlock($name, $context);}public function render(array $context = []): string{return $this->template->render($context);}/*** @return void*/
in
vendor/twig/twig/src/Environment.php
->
render
(line 333)
* @throws SyntaxError When an error occurred during compilation* @throws RuntimeError When an error occurred during rendering*/public function render($name, array $context = []): string{return $this->load($name)->render($context);}/*** Displays a template.*
in
vendor/symfony/framework-bundle/Controller/AbstractController.php
->
render
(line 472)
if (null !== $block) {return $this->container->get('twig')->load($view)->renderBlock($block, $parameters);}return $this->container->get('twig')->render($view, $parameters);}private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response{$content = $this->doRenderView($view, $block, $parameters, $method);
in
vendor/symfony/framework-bundle/Controller/AbstractController.php
->
doRenderView
(line 477)
return $this->container->get('twig')->render($view, $parameters);}private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response{$content = $this->doRenderView($view, $block, $parameters, $method);$response ??= new Response();if (200 === $response->getStatusCode()) {foreach ($parameters as $v) {if ($v instanceof FormInterface && $v->isSubmitted() && !$v->isValid()) {
in
vendor/symfony/framework-bundle/Controller/AbstractController.php
->
doRender
(line 281)
* If an invalid form is found in the list of parameters, a 422 status code is returned.* Forms found in parameters are auto-cast to form views.*/protected function render(string $view, array $parameters = [], ?Response $response = null): Response{return $this->doRender($view, null, $parameters, $response, __FUNCTION__);}/*** Renders a block in a view.*
AbstractController->render('blog/post_show.html.twig', array('post' => object(Post)))
in
src/Controller/BlogController.php
(line 97)
// See https://symfony.com/doc/current/templates.html#the-dump-twig-utilities//// You can also leverage Symfony's 'dd()' function that dumps and// stops the executionreturn $this->render('blog/post_show.html.twig', ['post' => $post]);}/*** NOTE: The #[MapEntity] mapping is required because the route parameter* (postSlug) doesn't match any of the Doctrine entity properties (slug).
in
vendor/symfony/http-kernel/HttpKernel.php
->
postShow
(line 188)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();// call controller$response = $controller(...$arguments);// viewif (!$response instanceof Response) {$event = new ViewEvent($this, $request, $type, $response, $controllerMetadata);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 79)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type, $controllerMetadata);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 143)
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 34)
) {}public function run(): int{$response = $this->kernel->handle($this->request);$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {fastcgi_finish_request();
in
vendor/autoload_runtime.php
->
run
(line 32)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
PDOException
in
vendor/doctrine/dbal/src/Driver/PDO/Statement.php
(line 55)
}public function execute(): Result{try {$this->stmt->execute();} catch (PDOException $exception) {throw Exception::new($exception);}return new Result($this->stmt);
in
vendor/doctrine/dbal/src/Driver/PDO/Statement.php
->
execute
(line 55)
}public function execute(): Result{try {$this->stmt->execute();} catch (PDOException $exception) {throw Exception::new($exception);}return new Result($this->stmt);
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php
->
execute
(line 24)
$this->wrappedStatement->bindValue($param, $value, $type);}public function execute(): Result{return $this->wrappedStatement->execute();}}
in
vendor/doctrine/dbal/src/Logging/Statement.php
->
execute
(line 46)
'sql' => $this->sql,'params' => $this->params,'types' => $this->types,]);return parent::execute();}}
in
vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php
->
execute
(line 24)
$this->wrappedStatement->bindValue($param, $value, $type);}public function execute(): Result{return $this->wrappedStatement->execute();}}
in
vendor/symfony/doctrine-bridge/Middleware/Debug/Statement.php
->
execute
(line 58)
$this->stopwatch?->start('doctrine', 'doctrine');$query->start();try {return parent::execute();} finally {$query->stop();$this->stopwatch?->stop('doctrine');}}
in
vendor/doctrine/dbal/src/Connection.php
->
execute
(line 802)
$stmt = $connection->prepare($sql);$this->bindParameters($stmt, $params, $types);$result = $stmt->execute();} else {$result = $connection->query($sql);}return new Result($result, $this);
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
executeQuery
(line 1872)
}$sql = $this->getSelectSQL($criteria, $assoc, null, $limit, $offset);[$params, $types] = $this->expandToManyParameters($parameters);return $this->conn->executeQuery($sql, $params, $types);}/*** {@inheritDoc}*/
in
vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php
->
getOneToManyStatement
(line 1817)
AssociationMapping $assoc,object $sourceEntity,PersistentCollection $collection,): mixed {assert($assoc instanceof OneToManyAssociationMapping);$stmt = $this->getOneToManyStatement($assoc, $sourceEntity);return $this->loadCollectionFromStatement($assoc, $stmt, $collection);}/** Builds criteria and execute SQL statement to fetch the one to many entities from. */
in
vendor/doctrine/orm/src/UnitOfWork.php
->
loadOneToManyCollection
(line 2733)
$assoc = $collection->getMapping();$persister = $this->getEntityPersister($assoc->targetEntity);switch ($assoc->type()) {case ClassMetadata::ONE_TO_MANY:$persister->loadOneToManyCollection($assoc, $collection->getOwner(), $collection);break;case ClassMetadata::MANY_TO_MANY:$persister->loadManyToManyCollection($assoc, $collection->getOwner(), $collection);break;
in
vendor/doctrine/orm/src/PersistentCollection.php
->
loadCollection
(line 636)
if ($this->isDirty) {$newlyAddedDirtyObjects = $this->unwrap()->toArray();}$this->unwrap()->clear();$this->getUnitOfWork()->loadCollection($this);$this->takeSnapshot();if ($newlyAddedDirtyObjects) {$this->restoreNewObjectsInDirtyCollection($newlyAddedDirtyObjects);}
in
vendor/doctrine/orm/src/PersistentCollection.php
->
doInitialize
(line 186)
{if ($this->initialized || ! $this->association) {return;}$this->doInitialize();$this->initialized = true;}/**
in
vendor/doctrine/collections/src/AbstractLazyCollection.php
->
initialize
(line 41)
* @return int*/#[ReturnTypeWillChange]public function count(){$this->initialize();return $this->collection->count();}/**
in
vendor/doctrine/orm/src/PersistentCollection.php
->
count
(line 391)
$persister = $this->getUnitOfWork()->getCollectionPersister($this->association);return $persister->count($this) + ($this->isDirty ? $this->unwrap()->count() : 0);}return parent::count();}public function set(string|int $key, mixed $value): void{parent::set($key, $value);
in
vendor/twig/twig/src/Extension/CoreExtension.php
->
count
(line 1278)
if (\is_scalar($thing)) {return mb_strlen($thing, $charset);}if ($thing instanceof \Countable || \is_array($thing) || $thing instanceof \SimpleXMLElement) {return \count($thing);}if ($thing instanceof \Traversable) {return iterator_count($thing);}
in
var/cache/dev/twig/c7/c7b819c7961a1d884b5ca6b2f07b2a59.php
::
length
(line 171)
<h3>";// line 42yield $this->env->getRuntime('Symfony\UX\TwigComponent\Twig\ComponentRuntime')->render("ux:icon", ["name" => "tabler:messages"]);yield " ";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);yield "</h3>";// line 45
in
vendor/twig/twig/src/Template.php
->
block_main
(line 456)
}if (null !== $template) {try {$template->ensureSecurityChecked();yield from $template->$block($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($template->getSourceContext());}
in
var/cache/dev/twig/05/050337db882ba964a11bafa757fca841.php
->
yieldBlock
(line 320)
yield Twig\Extension\CoreExtension::include($this->env, $context, "default/_flash_messages.html.twig");yield "";// line 59yield from $this->unwrap()->yieldBlock('main', $context, $blocks);// line 60yield " </div>\t\t\t\t</div>\t\t
in
vendor/twig/twig/src/Template.php
->
block_body
(line 456)
}if (null !== $template) {try {$template->ensureSecurityChecked();yield from $template->$block($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($template->getSourceContext());}
in
var/cache/dev/twig/05/050337db882ba964a11bafa757fca841.php
->
yieldBlock
(line 107)
yield from $this->unwrap()->yieldBlock('header', $context, $blocks);// line 53yield "\t\t <div class=\"container body-container\">";// line 54yield from $this->unwrap()->yieldBlock('body', $context, $blocks);// line 65yield "\t\t\t</div>\t\t\t\t ";// line 67
in
vendor/twig/twig/src/Template.php
->
doDisplay
(line 411)
$context += $this->env->getGlobals();$blocks = array_merge($this->blocks, $blocks);try {$this->ensureSecurityChecked();yield from $this->doDisplay($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($this->getSourceContext());}
in
var/cache/dev/twig/c7/c7b819c7961a1d884b5ca6b2f07b2a59.php
->
yield
(line 55)
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "blog/post_show.html.twig"));$this->parent = $this->load("baseblog.html.twig", 1);yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
in
vendor/twig/twig/src/Template.php
->
doDisplay
(line 411)
$context += $this->env->getGlobals();$blocks = array_merge($this->blocks, $blocks);try {$this->ensureSecurityChecked();yield from $this->doDisplay($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($this->getSourceContext());}
in
vendor/twig/twig/src/Template.php
->
yield
(line 366)
return $this->blocks;}public function display(array $context, array $blocks = []): void{foreach ($this->yield($context, $blocks) as $data) {echo $data;}}public function render(array $context): string
in
vendor/twig/twig/src/Template.php
->
display
(line 381)
ob_start();} else {ob_start(static function () { return ''; });}try {$this->display($context);} catch (\Throwable $e) {while (ob_get_level() > $level) {ob_end_clean();}
in
vendor/twig/twig/src/TemplateWrapper.php
->
render
(line 51)
yield from $this->template->yieldBlock($name, $context);}public function render(array $context = []): string{return $this->template->render($context);}/*** @return void*/
in
vendor/twig/twig/src/Environment.php
->
render
(line 333)
* @throws SyntaxError When an error occurred during compilation* @throws RuntimeError When an error occurred during rendering*/public function render($name, array $context = []): string{return $this->load($name)->render($context);}/*** Displays a template.*
in
vendor/symfony/framework-bundle/Controller/AbstractController.php
->
render
(line 472)
if (null !== $block) {return $this->container->get('twig')->load($view)->renderBlock($block, $parameters);}return $this->container->get('twig')->render($view, $parameters);}private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response{$content = $this->doRenderView($view, $block, $parameters, $method);
in
vendor/symfony/framework-bundle/Controller/AbstractController.php
->
doRenderView
(line 477)
return $this->container->get('twig')->render($view, $parameters);}private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response{$content = $this->doRenderView($view, $block, $parameters, $method);$response ??= new Response();if (200 === $response->getStatusCode()) {foreach ($parameters as $v) {if ($v instanceof FormInterface && $v->isSubmitted() && !$v->isValid()) {
in
vendor/symfony/framework-bundle/Controller/AbstractController.php
->
doRender
(line 281)
* If an invalid form is found in the list of parameters, a 422 status code is returned.* Forms found in parameters are auto-cast to form views.*/protected function render(string $view, array $parameters = [], ?Response $response = null): Response{return $this->doRender($view, null, $parameters, $response, __FUNCTION__);}/*** Renders a block in a view.*
AbstractController->render('blog/post_show.html.twig', array('post' => object(Post)))
in
src/Controller/BlogController.php
(line 97)
// See https://symfony.com/doc/current/templates.html#the-dump-twig-utilities//// You can also leverage Symfony's 'dd()' function that dumps and// stops the executionreturn $this->render('blog/post_show.html.twig', ['post' => $post]);}/*** NOTE: The #[MapEntity] mapping is required because the route parameter* (postSlug) doesn't match any of the Doctrine entity properties (slug).
in
vendor/symfony/http-kernel/HttpKernel.php
->
postShow
(line 188)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();// call controller$response = $controller(...$arguments);// viewif (!$response instanceof Response) {$event = new ViewEvent($this, $request, $type, $response, $controllerMetadata);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 79)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type, $controllerMetadata);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 143)
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 34)
) {}public function run(): int{$response = $this->kernel->handle($this->request);$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {fastcgi_finish_request();
in
vendor/autoload_runtime.php
->
run
(line 32)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Logs
| Level | Channel | Message |
|---|---|---|
| DEBUG 13:32:16 | 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:32:16 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "72a920"
},
"request_uri": "http://masaepiano.com/_profiler/72a920",
"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)
|