Exceptions
Exceptions 2
Twig\Error\ RuntimeError
Show exception properties
Twig\Error\RuntimeError {#2033 -lineno: 95 -rawMessage: "An exception has been thrown during the rendering of a template ("Entity of type 'App\Entity\Content' for IDs id(38766) was not found")." -source: Twig\Source {#2109 -code: """ {% extends 'base.html.twig' %}\n {% block breadcrumb %}\n <nav id="breadcrumb"><a href="{{ path('home') }}">{{ 'Home'|trans }}</a>\n <a href="{{ path(get_parameter('route.twig.path.news.listing')) }}">{{ 'News'|trans }}</a>\n {{ content.headline|raw }}\n </nav>\n {% endblock %}\n \n {% block body %}\n \n <div class="tools">\n {{ include('toolbar.html.twig', { 'content': content }) }}\n </div>\n \n <section class="article-news">\n \n <div class="row">\n <div class="offset-xxl-1 col-12 col-xxl-7">\n <article>\n {% if app.request.get('ok') %}\n {{ include('contact_ok.html.twig') }}\n {% elseif app.request.get('rec_ok') %}\n {{ include('recommend_ok.html.twig') }}\n {% endif %}\n <h1>{% if is_granted("ROLE_ADMIN") and content.fiReference is empty %}<a href="{{ path('admin_content_edit', {'id': content.id}) }}"><span class="icon-edit">EDIT</span></a>{% endif %}{{ content.headline|raw }}</h1>\n <div class="note">\n <p>{{ 'Last update:'|trans }} {{ content.modifiedDate|date("M j, Y") }}</p>\n {% if (content.author) %} <p>{{ 'Author: %author%'|trans({'%author%': content.author}) }}</p>{% endif %}\n {% if (content.fiObject == 2 or content.fiObject == 11) %}<p>{{ 'Advertorial'|trans }}</p>{% endif %}\n </div>\n \n <div class="sharing top">\n {{ include('toolbar.html.twig', { 'content': content }) }}\n </div>\n \n {% if (content.shortDescription is not empty) %}\n <p><strong>{{ content.shortDescription|raw }}</strong></p>\n {% endif %}\n \n {% for content_div in content.refContentDivs %}\n {{ include('content.html.twig', { 'content_div': content_div }) }}\n \n {% if not content.payedStatus and ('middlesizeBanner' in advertising|keys) and (advertising['middlesizeBanner'] is not empty) and loop.index == (content.refContentDivs|length / 2)|round %}\n {{ advertising['middlesizeBanner']|raw }}\n {% endif %}\n {% endfor %}\n </article>\n <div class="sharing bottom">\n {{ include('toolbar.html.twig', { 'content': content }) }}\n </div>\n {% if (app.request.get('ok') is empty and content.contactEmail is not empty) %}\n {{ include('contact_form.html.twig', { 'form_contact': form_contact }) }}\n {% endif %}\n </div>\n <div class="offset-xxl-0 col-12 col-xxl-3">\n <aside>\n {% if content.payedStatus %}\n {{ include('logo.html.twig', { 'content': content }) }}\n \n {% if content.contactCompany %}\n <address>\n <h4>{{ content.contactCompany }}</h4>\n {% if content.contactStreet %}\n <p>{{ content.contactStreet }}</p>\n {% endif %}\n {% if content.contactStreet2 %}\n <p>{{ content.contactStreet2 }}</p>\n {% endif %}\n {% if content.contactZipCity %}\n <p>{{ content.contactZipCity }}</p>\n {% endif %}\n {% if content.contactFiCountry %}\n <p>{{ content.contactFiCountry|get_static_country }}</p>\n {% endif %}\n </address>\n \n {% if content.contactPhone or content.contactFax or content.contactWebsite %}\n <address>\n {% if content.contactPhone %}\n <a href="{{ 'tel:'~ content.contactPhone }}"><span>{{ content.contactPhone }}</span></a>\n {% endif %}\n {% if content.contactFax %}\n <a href="{{ 'tel:'~ content.contactFax }}" class="fax"><span>{{ content.contactFax }}</span></a>\n {% endif %}\n {% if content.contactWebsite %}\n <a href="{{ 'tel:'~ content.contactWebsite }}" target="_blank"><span>{{ content.contactWebsite }}</span></a>\n {% endif %}\n </address>\n {% endif %}\n {% endif %}\n {% endif %}\n \n {% if(content.refContentRels|length > 0) %}\n {{ include('related_content.html.twig', { 'content': content }) }}\n {% elseif content.fiReference is not empty and content.refContentParent.refContentRels|length > 0 %}\n {{ include('related_content.html.twig', { 'content': content.refContentParent }) }}\n {% endif %}\n \n {% if (advertising is defined) and ('rectangle' in advertising|keys) and (advertising['rectangle'] is not empty) and (advertising['rectangle'][0] is not empty) %}\n {{ include('advertising_rectangle.html.twig', { 'rectangle': advertising['rectangle'][0] }) }}\n {% endif %}\n \n {% if(recent_content|length > 0) %}\n {{ include('recent_content.html.twig', { 'recent_content': recent_content }) }}\n {% endif %}\n \n {% if (advertising is defined) and ('rectangle' in advertising|keys) and (advertising['rectangle'] is not empty) and (advertising['rectangle'][1] is not empty) %}\n {{ include('advertising_rectangle.html.twig', { 'rectangle': advertising['rectangle'][1] }) }}\n {% endif %}\n </aside>\n </div>\n </div>\n </section>\n {% if (advertising is defined) and ('slide' in advertising|keys) and (advertising['slide'] is not empty) %}\n {{ include('advertising_slide.html.twig', {'advertising': advertising}) }}\n {% endif %}\n {% endblock %} """ -name: "news/detail.html.twig" -path: "/home/mobilityplaza-portal-dev/htdocs/portal-dev.mobilityplaza.org/public/mobilityplaza/templates/news/detail.html.twig" } -phpFile: "/home/mobilityplaza-portal-dev/htdocs/portal-dev.mobilityplaza.org/public/mobilityplaza/vendor/twig/twig/src/Template.php" -phpLine: 460 }
in
templates/news/detail.html.twig
(line 95)
{% endif %}{% endif %}{% if(content.refContentRels|length > 0) %}{{ include('related_content.html.twig', { 'content': content }) }}{% elseif content.fiReference is not empty and content.refContentParent.refContentRels|length > 0 %}{{ include('related_content.html.twig', { 'content': content.refContentParent }) }}{% endif %}{% if (advertising is defined) and ('rectangle' in advertising|keys) and (advertising['rectangle'] is not empty) and (advertising['rectangle'][0] is not empty) %}{{ include('advertising_rectangle.html.twig', { 'rectangle': advertising['rectangle'][0] }) }}
in
var/cache/dev/twig/b0/b0ca9ce9b8255adf3f2be9e20b7d5d47.php
->
yieldBlock
(line 223)
<main>";// line 74yield from $this->unwrap()->yieldBlock('body', $context, $blocks);// line 75yield " </main><section id=\"search-box\"><div class=\"container\"><h4>";
in
vendor/twig/twig/src/Template.php
->
doDisplay
(line 402)
{$context += $this->env->getGlobals();$blocks = array_merge($this->blocks, $blocks);try {yield from $this->doDisplay($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($this->getSourceContext());}
in
var/cache/dev/twig/55/5523ce201968ca2b22dfcd81ba68166e.php
->
yield
(line 54)
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "news/detail.html.twig"));$this->parent = $this->load("base.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 402)
{$context += $this->env->getGlobals();$blocks = array_merge($this->blocks, $blocks);try {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 358)
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 373)
ob_start();} else {ob_start(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 459)
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 464)
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 278)
* 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.*
$toolboxService->sendContact($content, $contentContact, $form);return $this->redirect($request->getUri() . '?ok=1');}$form_contact = $form->createView();return $this->render('news/detail.html.twig', ['content' => $content,'recent_content' => $recent_content,'form_contact' => $form_contact,'advertising' => $this->advertisingService->getAdvertising()]);
in
vendor/symfony/http-kernel/HttpKernel.php
->
detail
(line 183)
$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, $event);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 182)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in
vendor/autoload_runtime.php
->
run
(line 29)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/home/mobilityplaza-portal-dev/htdocs/portal-dev.mobilityplaza.org/public/mobilityplaza/vendor/autoload_runtime.php')
in
public/index.php
(line 5)
<?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\ORM\ EntityNotFoundException
in
vendor/doctrine/orm/src/EntityNotFoundException.php
(line 31)
foreach ($id as $key => $value) {$ids[] = $key . '(' . $value . ')';}return new self('Entity of type \'' . $className . '\'' . ($ids ? ' for IDs ' . implode(', ', $ids) : '') . ' was not found',);}/**
in
vendor/doctrine/orm/src/Proxy/ProxyFactory.php
::
fromClassNameAndIdentifier
(line 284)
{return static function (InternalProxy $proxy, array $identifier) use ($entityPersister, $classMetadata, $identifierFlattener): void {$original = $entityPersister->loadById($identifier);if ($original === null) {throw EntityNotFoundException::fromClassNameAndIdentifier($classMetadata->getName(),$identifierFlattener->flattenIdentifier($classMetadata, $identifier),);}
in
vendor/doctrine/orm/src/Proxy/ProxyFactory.php
::
{closure:Doctrine\ORM\Proxy\ProxyFactory::createLazyInitializer():280}
(line 359)
$identifierFields[$identifier] = $class->getPropertyAccessor($identifier);}$proxyFactory = Closure::bind(static function (array $identifier) use ($initializer, $skippedProperties, $identifierFields, $className): InternalProxy {$proxy = self::createLazyGhost(static function (InternalProxy $object) use ($initializer, $identifier): void {$initializer($object, $identifier);}, $skippedProperties);foreach ($identifierFields as $idField => $reflector) {if (! isset($identifier[$idField])) {throw ORMInvalidArgumentException::missingPrimaryKeyValue($className, $idField);
in
vendor/symfony/var-exporter/Internal/LazyObjectState.php
::
{closure:{closure:Doctrine\ORM\Proxy\ProxyFactory::getProxyFactory():357}:358}
(line 60)
try {if ($defaultProperties = array_diff_key(LazyObjectRegistry::$defaultProperties[$instance::class], $this->skippedProperties)) {PublicHydrator::hydrate($instance, $defaultProperties);}($this->initializer)($instance);} catch (\Throwable $e) {$this->status = self::STATUS_UNINITIALIZED_FULL;$this->reset($instance);throw $e;
in
vendor/symfony/var-exporter/LazyGhostTrait.php
->
initialize
(line 153)
}if (\PHP_VERSION_ID >= 80400 && !$notByRef && ($access >> 2) & \ReflectionProperty::IS_PRIVATE_SET) {$scope ??= $writeScope;}if ($property?->isInitialized($this) ?? LazyObjectState::STATUS_UNINITIALIZED_PARTIAL !== $state->initialize($this, $name, $writeScope ?? $scope)) {goto get_in_scope;}}}
$this->refContentDivs = $refContentDivs;}public function getRefContentRels(): ?Collection{return $this->refContentRels;}public function setRefContentRels(?Collection $refContentRels): void{$this->refContentRels = $refContentRels;
in
vendor/twig/twig/src/Extension/CoreExtension.php
->
getRefContentRels
(line 1909)
}// Some objects throw exceptions when they have __call, and the method we try// to call is not supported. If ignoreStrictCheck is true, we should return null.try {$ret = $object->$method(...$arguments);} catch (\BadMethodCallException $e) {if ($call && ($ignoreStrictCheck || !$env->isStrictVariables())) {return;}throw $e;
in
var/cache/dev/twig/55/5523ce201968ca2b22dfcd81ba68166e.php
::
getAttribute
(line 379)
yield " ";yield Twig\Extension\CoreExtension::include($this->env, $context, "related_content.html.twig", ["content" => (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 94, $this->source); })())]);yield "";} elseif (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, // line 95(isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 95, $this->source); })()), "fiReference", [], "any", false, false, false, 95)) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 95, $this->source); })()), "refContentParent", [], "any", false, false, false, 95), "refContentRels", [], "any", false, false, false, 95)) > 0))) {// line 96yield " ";yield Twig\Extension\CoreExtension::include($this->env, $context, "related_content.html.twig", ["content" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 96, $this->source); })()), "refContentParent", [], "any", false, false, false, 96)]);yield "";
in
vendor/twig/twig/src/Template.php
->
block_body
(line 446)
throw new \LogicException('A block must be a method on a \Twig\Template instance.');}if (null !== $template) {try {yield from $template->$block($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($template->getSourceContext());}
in
var/cache/dev/twig/b0/b0ca9ce9b8255adf3f2be9e20b7d5d47.php
->
yieldBlock
(line 223)
<main>";// line 74yield from $this->unwrap()->yieldBlock('body', $context, $blocks);// line 75yield " </main><section id=\"search-box\"><div class=\"container\"><h4>";
in
vendor/twig/twig/src/Template.php
->
doDisplay
(line 402)
{$context += $this->env->getGlobals();$blocks = array_merge($this->blocks, $blocks);try {yield from $this->doDisplay($context, $blocks);} catch (Error $e) {if (!$e->getSourceContext()) {$e->setSourceContext($this->getSourceContext());}
in
var/cache/dev/twig/55/5523ce201968ca2b22dfcd81ba68166e.php
->
yield
(line 54)
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "news/detail.html.twig"));$this->parent = $this->load("base.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 402)
{$context += $this->env->getGlobals();$blocks = array_merge($this->blocks, $blocks);try {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 358)
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 373)
ob_start();} else {ob_start(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 459)
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 464)
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 278)
* 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.*
$toolboxService->sendContact($content, $contentContact, $form);return $this->redirect($request->getUri() . '?ok=1');}$form_contact = $form->createView();return $this->render('news/detail.html.twig', ['content' => $content,'recent_content' => $recent_content,'form_contact' => $form_contact,'advertising' => $this->advertisingService->getAdvertising()]);
in
vendor/symfony/http-kernel/HttpKernel.php
->
detail
(line 183)
$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, $event);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 182)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in
vendor/autoload_runtime.php
->
run
(line 29)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/home/mobilityplaza-portal-dev/htdocs/portal-dev.mobilityplaza.org/public/mobilityplaza/vendor/autoload_runtime.php')
in
public/index.php
(line 5)
<?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 |
|---|---|---|
| INFO 23:06:45 | deprecation |
User Deprecated: The Liip\ImagineBundle\Templating\FilterTrait trait is deprecated since version 2.7 and will be removed in 3.0; use Twig instead. {
"exception": {}
}
|
| INFO 23:06:45 | deprecation |
User Deprecated: The Liip\ImagineBundle\Templating\FilterExtension class is deprecated since version 2.7 and will be removed in 3.0; configure "liip_imagine.twig.mode" to "lazy" instead. {
"exception": {}
}
|
| INFO 23:06:45 | deprecation |
User Deprecated: Class "Doctrine\ORM\Proxy\Autoloader" is deprecated. Use native lazy objects instead. (Autoloader.php:74 called by DoctrineBundle.php:130, https://github.com/doctrine/orm/pull/12005, package doctrine/orm) {
"exception": {}
}
|
| INFO 23:06:45 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "7c9189"
},
"request_uri": "https://portal-dev.mobilityplaza.org/_profiler/7c9189",
"method": "GET"
}
|
| INFO 23:06:45 | doctrine |
Connecting with parameters {params} {
"params": {
"use_savepoints": true,
"driver": "pdo_mysql",
"idle_connection_ttl": 600,
"host": "127.0.0.1",
"port": 3306,
"user": "mobilityplaza-portal",
"password": "<redacted>",
"driverOptions": [],
"defaultTableOptions": {
"collation": "utf8mb4_unicode_ci"
},
"dbname": "MobilityPlaza-Portal",
"serverVersion": "11.4.5-MariaDB",
"charset": "utf8mb4"
}
}
|
| DEBUG 23:06:45 | doctrine |
Executing statement: SELECT t0.id AS id_1, t0.ip AS ip_2 FROM check_ip_request t0 WHERE t0.ip = ? LIMIT 1 (parameters: {params}, types: {types}) {
"sql": "SELECT t0.id AS id_1, t0.ip AS ip_2 FROM check_ip_request t0 WHERE t0.ip = ? LIMIT 1",
"params": {
"1": "216.73.216.185"
},
"types": {
"1": 2
}
}
|
| DEBUG 23:06:45 | doctrine |
Executing query: SELECT t0.id AS id_1, t0.ip AS ip_2 FROM aws_ip t0 {
"sql": "SELECT t0.id AS id_1, t0.ip AS ip_2 FROM aws_ip t0"
}
|
| DEBUG 23:06:45 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
|
| DEBUG 23:06:45 | event |
Notified event "kernel.request" to listener "Symfony\UX\Turbo\Request\RequestListener::__invoke". {
"event": "kernel.request",
"listener": "Symfony\\UX\\Turbo\\Request\\RequestListener::__invoke"
}
|
| DEBUG 23:06:45 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
|
| DEBUG 23:06:45 | event |
Notified event "kernel.request" to listener "Symfony\Bridge\Doctrine\Middleware\IdleConnection\Listener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Bridge\\Doctrine\\Middleware\\IdleConnection\\Listener::onKernelRequest"
}
|
| DEBUG 23:06:45 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
|
| DEBUG 23:06:45 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
|
| DEBUG 23:06:45 | event |
Notified event "kernel.request" to listener "Symfony\Component\AssetMapper\AssetMapperDevServerSubscriber::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\AssetMapper\\AssetMapperDevServerSubscriber::onKernelRequest"
}
|
| DEBUG 23:06:45 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
|
| DEBUG 23:06:45 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
|
| DEBUG 23:06:45 | event |
Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
|
| DEBUG 23:06:45 | event |
Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator". {
"event": "kernel.request",
"listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
|
| DEBUG 23:06:45 | event |
Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest". {
"event": "kernel.request",
"listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
|
| DEBUG 23:06:45 | event |
Notified event "kernel.request" to listener "MobileDetectBundle\EventListener\RequestResponseListener::handleRequest". {
"event": "kernel.request",
"listener": "MobileDetectBundle\\EventListener\\RequestResponseListener::handleRequest"
}
|
| DEBUG 23:06:45 | event |
Notified event "kernel.request" to listener "App\EventListener\RequestListener::onKernelRequest". {
"event": "kernel.request",
"listener": "App\\EventListener\\RequestListener::onKernelRequest"
}
|
| DEBUG 23:06:45 | event |
Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". {
"event": "kernel.controller",
"listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
|
| DEBUG 23:06:45 | event |
Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController". {
"event": "kernel.controller",
"listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
|
| DEBUG 23:06:45 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsCsrfTokenValidAttributeListener::onKernelControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsCsrfTokenValidAttributeListener::onKernelControllerArguments"
}
|
| DEBUG 23:06:45 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsGrantedAttributeListener::onKernelControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\Security\\Http\\EventListener\\IsGrantedAttributeListener::onKernelControllerArguments"
}
|
| DEBUG 23:06:45 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener::onKernelControllerArguments"
}
|
| DEBUG 23:06:45 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\Controller\ArgumentResolver\RequestPayloadValueResolver::onKernelControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\RequestPayloadValueResolver::onKernelControllerArguments"
}
|
| DEBUG 23:06:45 | event |
Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments". {
"event": "kernel.controller_arguments",
"listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments"
}
|
| DEBUG 23:06:45 | doctrine |
Executing statement: SELECT t0.id AS id_1, t0.ip AS ip_2 FROM check_ip_request t0 WHERE t0.ip = ? LIMIT 1 (parameters: {params}, types: {types}) {
"sql": "SELECT t0.id AS id_1, t0.ip AS ip_2 FROM check_ip_request t0 WHERE t0.ip = ? LIMIT 1",
"params": {
"1": "216.73.216.185"
},
"types": {
"1": 2
}
}
|
| DEBUG 23:06:45 | doctrine |
Executing query: SELECT t0.id AS id_1, t0.ip AS ip_2 FROM aws_ip t0 {
"sql": "SELECT t0.id AS id_1, t0.ip AS ip_2 FROM aws_ip t0"
}
|
| DEBUG 23:06:45 | doctrine |
Executing statement: SELECT t0.id AS id_1, t0.ip AS ip_2 FROM check_ip_request t0 WHERE t0.ip = ? LIMIT 1 (parameters: {params}, types: {types}) {
"sql": "SELECT t0.id AS id_1, t0.ip AS ip_2 FROM check_ip_request t0 WHERE t0.ip = ? LIMIT 1",
"params": {
"1": "216.73.216.185"
},
"types": {
"1": 2
}
}
|
| DEBUG 23:06:45 | doctrine |
Executing query: SELECT t0.id AS id_1, t0.ip AS ip_2 FROM aws_ip t0 {
"sql": "SELECT t0.id AS id_1, t0.ip AS ip_2 FROM aws_ip t0"
}
|
Stack Traces 2
|
[2/2]
RuntimeError
|
|---|
Twig\Error\RuntimeError:
An exception has been thrown during the rendering of a template ("Entity of type 'App\Entity\Content' for IDs id(38766) was not found") in "news/detail.html.twig" at line 95.
at templates/news/detail.html.twig:95
at Twig\Template->yieldBlock()
(var/cache/dev/twig/b0/b0ca9ce9b8255adf3f2be9e20b7d5d47.php:223)
at __TwigTemplate_ee4d1280a7fde1d61cc23f9a40519499->doDisplay()
(vendor/twig/twig/src/Template.php:402)
at Twig\Template->yield()
(var/cache/dev/twig/55/5523ce201968ca2b22dfcd81ba68166e.php:54)
at __TwigTemplate_ce68fc1e4e75784c4f1d47278daea765->doDisplay()
(vendor/twig/twig/src/Template.php:402)
at Twig\Template->yield()
(vendor/twig/twig/src/Template.php:358)
at Twig\Template->display()
(vendor/twig/twig/src/Template.php:373)
at Twig\Template->render()
(vendor/twig/twig/src/TemplateWrapper.php:51)
at Twig\TemplateWrapper->render()
(vendor/twig/twig/src/Environment.php:333)
at Twig\Environment->render()
(vendor/symfony/framework-bundle/Controller/AbstractController.php:459)
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView()
(vendor/symfony/framework-bundle/Controller/AbstractController.php:464)
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender()
(vendor/symfony/framework-bundle/Controller/AbstractController.php:278)
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
(src/Controller/NewsController.php:126)
at App\Controller\NewsController->detail()
(vendor/symfony/http-kernel/HttpKernel.php:183)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:182)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:29)
at require_once('/home/mobilityplaza-portal-dev/htdocs/portal-dev.mobilityplaza.org/public/mobilityplaza/vendor/autoload_runtime.php')
(public/index.php:5)
|
|
[1/2]
EntityNotFoundException
|
|---|
Doctrine\ORM\EntityNotFoundException:
Entity of type 'App\Entity\Content' for IDs id(38766) was not found
at vendor/doctrine/orm/src/EntityNotFoundException.php:31
at Doctrine\ORM\EntityNotFoundException::fromClassNameAndIdentifier()
(vendor/doctrine/orm/src/Proxy/ProxyFactory.php:284)
at Doctrine\ORM\Proxy\ProxyFactory::{closure:Doctrine\ORM\Proxy\ProxyFactory::createLazyInitializer():280}()
(vendor/doctrine/orm/src/Proxy/ProxyFactory.php:359)
at Proxies\__CG__\App\Entity\Content::{closure:{closure:Doctrine\ORM\Proxy\ProxyFactory::getProxyFactory():357}:358}()
(vendor/symfony/var-exporter/Internal/LazyObjectState.php:60)
at Symfony\Component\VarExporter\Internal\LazyObjectState->initialize()
(vendor/symfony/var-exporter/LazyGhostTrait.php:153)
at Proxies\__CG__\App\Entity\Content->__get()
(src/Entity/Content.php:1100)
at App\Entity\Content->getRefContentRels()
(vendor/twig/twig/src/Extension/CoreExtension.php:1909)
at Twig\Extension\CoreExtension::getAttribute()
(var/cache/dev/twig/55/5523ce201968ca2b22dfcd81ba68166e.php:379)
at __TwigTemplate_ce68fc1e4e75784c4f1d47278daea765->block_body()
(vendor/twig/twig/src/Template.php:446)
at Twig\Template->yieldBlock()
(var/cache/dev/twig/b0/b0ca9ce9b8255adf3f2be9e20b7d5d47.php:223)
at __TwigTemplate_ee4d1280a7fde1d61cc23f9a40519499->doDisplay()
(vendor/twig/twig/src/Template.php:402)
at Twig\Template->yield()
(var/cache/dev/twig/55/5523ce201968ca2b22dfcd81ba68166e.php:54)
at __TwigTemplate_ce68fc1e4e75784c4f1d47278daea765->doDisplay()
(vendor/twig/twig/src/Template.php:402)
at Twig\Template->yield()
(vendor/twig/twig/src/Template.php:358)
at Twig\Template->display()
(vendor/twig/twig/src/Template.php:373)
at Twig\Template->render()
(vendor/twig/twig/src/TemplateWrapper.php:51)
at Twig\TemplateWrapper->render()
(vendor/twig/twig/src/Environment.php:333)
at Twig\Environment->render()
(vendor/symfony/framework-bundle/Controller/AbstractController.php:459)
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView()
(vendor/symfony/framework-bundle/Controller/AbstractController.php:464)
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender()
(vendor/symfony/framework-bundle/Controller/AbstractController.php:278)
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
(src/Controller/NewsController.php:126)
at App\Controller\NewsController->detail()
(vendor/symfony/http-kernel/HttpKernel.php:183)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:182)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:29)
at require_once('/home/mobilityplaza-portal-dev/htdocs/portal-dev.mobilityplaza.org/public/mobilityplaza/vendor/autoload_runtime.php')
(public/index.php:5)
|