Exceptions
Exception
Twig\Error\ RuntimeError
Show exception properties
Twig\Error\RuntimeError {#2332 -lineno: 42 -rawMessage: "Impossible to access an attribute ("contracts") on a null variable." -source: Twig\Source {#2238 -code: """ {% set user = app.user %}\n \n <div class="sidebar">\n \t<nav>\n \t\t<ul class="list-unstyled" id="evaluate">\n \t\t\t{# DASHBOARD #}\n \t\t\t<li class="{{ 'platform_index' in currentRoute ? "active" : "" }}">\n \t\t\t\t<a href="{{ path('platform_index') }}">{% include 'platform/layouts/svg/dashboard.html.twig' %} Tableau de bord</a>\n \t\t\t</li>\n \n \t\t\t<span class="divider" data-title="MyGFV"></span>\n \n \t\t\t{# GFV #}\n \t\t\t{% if is_granted('ROLE_PLATFORM_NOT_PROSPECT') %}\n \t\t\t\t<li class="{{ 'platform_gfv_' in currentRoute and 'gfv_config_' not in currentRoute ? "active" : "" }}">\n \t\t\t\t\t<a href="{{ path('platform_gfv_index') }}">{% include 'platform/layouts/svg/wine-glass.html.twig' %} {{ is_granted('ROLE_PLATFORM_ADMIN_LITE') ? 'Les GFVs by ' ~ (platform_options.platformTitle ?? 'GFV') : 'Vos GFVs by ' ~ (platform_options.platformTitle ?? 'GFV') }}</a>\n \t\t\t\t</li>\n \n \t\t\t\t{# AG #}\n \t\t\t\t<li class="{{ 'platform_ag_' in currentRoute ? "active" : "" }}">\n \t\t\t\t\t<a href="{{ path('platform_ag_index') }}">{% include 'platform/layouts/svg/urne.html.twig' %} Assemblées Générales</a>\n \t\t\t\t</li>\n \t\t\t{% endif %}\n \n \t\t\t{# SECONDARY MARKET #}\n \t\t\t<li class="{{ 'platform_secondary_market_' in currentRoute or 'platform_cession_' in currentRoute or 'platform_acquisition_' in currentRoute ? "active" : "" }}">\n \t\t\t\t<a href="{{ path('platform_secondary_market_index') }}">{% include 'platform/layouts/svg/exchange.html.twig' %} Marché secondaire</a>\n \t\t\t</li>\n \n \t\t\t{# EVENTS #}\n \t\t\t<li class="{{ 'platform_event_' in currentRoute ? "active" : "" }}">\n \t\t\t\t<a href="{{ path('platform_event_index') }}">{% include 'platform/layouts/svg/calendar.html.twig' %} Évènements {{ platform_options.platformTitle ?? 'plateforme' }}</a>\n \t\t\t</li>\n \n \t\t\t{% if (is_granted('ROLE_PLATFORM_ASSOCIATE') or is_granted('ROLE_PLATFORM_WINEMAKER') or is_granted('ROLE_PLATFORM_MANAGER')) and not is_granted('ROLE_PLATFORM_ADMIN_LITE') %}\n \t\t\t\t{# CREDITS #}\n \t\t\t\t<li class="<{{ 'platform_credit_' in currentRoute ? "active" : "" }}">\n \t\t\t\t\t<a href="{{ path('platform_credit_store_index') }}">{% include 'platform/layouts/svg/ticket.html.twig' %} Achat de crédits</a>\n \t\t\t\t</li>\n \t\t\t{% endif %}\n \n \t\t\t{% if is_granted('ROLE_PLATFORM_ADMIN_LITE') or user.contracts|length or is_granted('ROLE_PLATFORM_ASSOCIATE') or is_granted('ROLE_PLATFORM_WINEMAKER') %}\n \t\t\t\t<span class="divider" data-title="Accès rapide"></span>\n \t\t\t{% endif %}\n \n \t\t\t{# CONTRACTS #}\n \t\t\t{% if is_granted('ROLE_PLATFORM_ADMIN_LITE') or user.contracts|length %}\n \t\t\t\t<li class="{{ 'platform_contract_' in currentRoute ? "active" : "" }}">\n \t\t\t\t\t<a href="{{ path('platform_contract_index') }}">{% include 'platform/layouts/svg/contracts.html.twig' %} {{ is_granted('ROLE_PLATFORM_ADMIN_LITE') ? 'Contrats de souscription' : 'Vos contrats' }}</a>\n \t\t\t\t</li>\n \t\t\t{% endif %}\n \n \t\t\t{# DOTATIONS #}\n \t\t\t{% if is_granted('ROLE_PLATFORM_ASSOCIATE') or is_granted('ROLE_PLATFORM_WINEMAKER') or is_granted('ROLE_PLATFORM_ADMIN_LITE') %}\n \t\t\t\t<li class="{{ 'platform_dotation_' in currentRoute ? "active" : "" }}">\n \t\t\t\t\t<a href="{{ path('platform_dotation_index') }}">{% include 'platform/layouts/svg/wine-bottle.html.twig' %} {{ is_granted('ROLE_PLATFORM_ADMIN_LITE') ? 'Dotations' : 'Vos dotations' }}</a>\n \t\t\t\t</li>\n \t\t\t{% endif %}\n \n \t\t\t{% if is_granted('ROLE_PLATFORM_NOT_PROSPECT') %}\n \t\t\t\t<span class="divider" data-title="Contacts"></span>\n \t\t\t{% endif %}\n \n \t\t\t{# CGP #}\n \t\t\t{% if is_granted('ROLE_PLATFORM_ADMIN_LITE') or is_granted('ROLE_PLATFORM_ASSOCIATE') %}\n \t\t\t\t<li class="{{ 'platform_cgp_' in currentRoute ? "active" : "" }}">\n \t\t\t\t\t<a href="{{ path('platform_cgp_index') }}">{% include 'platform/layouts/svg/comments.html.twig' %} {{ is_granted('ROLE_PLATFORM_ADMIN_LITE') ? 'CGP' : 'Vos CGP' }}</a>\n \t\t\t\t</li>\n \t\t\t{% endif %}\n \n \t\t\t{# ASSOCIATES #}\n \t\t\t{% if is_granted('ROLE_PLATFORM_MANAGER') or is_granted('ROLE_PLATFORM_WINEMAKER') or is_granted('ROLE_PLATFORM_ADMIN_LITE') %}\n \t\t\t\t<li class="{{ 'platform_associate_' in currentRoute and 'documents' not in currentRoute ? "active" : "" }}">\n \t\t\t\t\t<a href="{{ path('platform_associate_index') }}">{% include 'platform/layouts/svg/ico-handshake.html.twig' %} {{ is_granted('ROLE_PLATFORM_ADMIN_LITE') ? 'Associés' : 'Vos associés' }}</a>\n \t\t\t\t</li>\n \t\t\t{% endif %}\n \n \t\t\t{% if is_granted('ROLE_PLATFORM_ADMIN_LITE') %}\n \t\t\t\t{# WINEMAKER AND MANAGER #}\n \t\t\t\t<li class="{{ 'platform_winemaker_and_manager_' in currentRoute ? "active" : "" }}">\n \t\t\t\t\t<a href="{{ path('platform_winemaker_and_manager_index') }}">{% include 'platform/layouts/svg/grape.html.twig' %} Viticulteurs et gérants</a>\n \t\t\t\t</li>\n \t\t\t\t{# PROSPECTS #}\n \t\t\t\t<li class="{{ 'platform_prospect_' in currentRoute ? "active" : "" }}">\n \t\t\t\t\t<a href="{{ path('platform_prospects_index') }}">{% include 'platform/layouts/svg/prospect.html.twig' %} Prospects</a>\n \t\t\t\t</li>\n \t\t\t{% endif %}\n \n \n \t\t\t{# DOCUMENTS #}\n \t\t\t{% if not is_granted('ROLE_PLATFORM_ADMIN_LITE') and is_granted('ROLE_PLATFORM_ASSOCIATE') %}\n \t\t\t\t<span class="divider" data-title="Documents"></span>\n \n \t\t\t\t{# IFU #}\n \t\t\t\t<li class="{{ 'platform_associate_documents_ifu' in currentRoute ? "active" : "" }}">\n \t\t\t\t\t<a href="{{ path('platform_associate_documents_ifu') }}">{% include 'platform/layouts/svg/invoice-dollar.html.twig' %} Vos IFU</a>\n \t\t\t\t</li>\n \t\t\t\t{# GFV DOCUMENTS #}\n \t\t\t\t{% for gfv in getGFVofAssociate(app.user) %}\n \t\t\t\t\t<li class="{{ 'platform_associate_documents_gfv' in currentRoute and app.request.get('id') == gfv.id ? "active" : "" }} document-link">\n \t\t\t\t\t\t<a href="{{ path('platform_associate_documents_gfv', {id: gfv.id}) }}">{% include 'platform/layouts/svg/invoice.html.twig' %} <span class="pl-1">Les documents du {{ gfv }}</span></a>\n \t\t\t\t\t</li>\n \t\t\t\t{% endfor %}\n \t\t\t{% endif %}\n \n \t\t\t<li class="sidebar-action">\n \t\t\t\t<button type="button">{% include 'platform/layouts/svg/arrow-left.html.twig' %} Réduire le menu</button>\n \t\t\t</li>\n \t\t</ul>\n \t</nav>\n </div>\n """ -name: "platform/layouts/sidebar.html.twig" -path: "/home/clients/82912c3db656d3934b07da7bcf73107e/sites/preprod.canovia.fr/templates/platform/layouts/sidebar.html.twig" } -phpFile: "/home/clients/82912c3db656d3934b07da7bcf73107e/sites/preprod.canovia.fr/vendor/twig/twig/src/Extension/CoreExtension.php" -phpLine: 1749 }
in
templates/platform/layouts/sidebar.html.twig
(line 42)
<li class="<{{ 'platform_credit_' in currentRoute ? "active" : "" }}"><a href="{{ path('platform_credit_store_index') }}">{% include 'platform/layouts/svg/ticket.html.twig' %} Achat de crédits</a></li>{% endif %}{% if is_granted('ROLE_PLATFORM_ADMIN_LITE') or user.contracts|length or is_granted('ROLE_PLATFORM_ASSOCIATE') or is_granted('ROLE_PLATFORM_WINEMAKER') %}<span class="divider" data-title="Accès rapide"></span>{% endif %}{# CONTRACTS #}{% if is_granted('ROLE_PLATFORM_ADMIN_LITE') or user.contracts|length %}
in
var/cache/dev/twig/4d/4d7c9e0e5242fb50e43dc5e29e538f33.php
::
getAttribute
(line 153)
}// line 41yield "\t\t\t";// line 42if (((($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PLATFORM_ADMIN_LITE") || Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 42, $this->source); })()), "contracts", [], "any", false, false, false, 42))) || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PLATFORM_ASSOCIATE")) || $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PLATFORM_WINEMAKER"))) {// line 43yield "\t\t\t\t<span class=\"divider\" data-title=\"Accès rapide\"></span>\t\t\t";}// line 45
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/57/57febcc506688e5117e8f1ff97993b16.php
->
yield
(line 264)
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar"));// line 37yield " ";yield from $this->load("platform/layouts/sidebar.html.twig", 37)->unwrap()->yield($context);// line 38yield " ";$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
in
vendor/twig/twig/src/Template.php
->
block_sidebar
(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/57/57febcc506688e5117e8f1ff97993b16.php
->
yieldBlock
(line 176)
yield " <div class=\"main-wrapper\"><!-- Sidebar --><div class=\"sidebar-wrapper\">";// line 36yield from $this->unwrap()->yieldBlock('sidebar', $context, $blocks);// line 39yield " </div><!-- Page Content --><main id=\"main\" class=\"";// line 41
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/eb/eb99614d940adbf368af2b90f10b43d0.php
->
yieldBlock
(line 91)
// line 29yield from $this->unwrap()->yieldBlock('body_attr', $context, $blocks);yield ">";// line 30yield from $this->unwrap()->yieldBlock('body', $context, $blocks);// line 31yield "";// line 32if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 32, $this->source); })()), "environment", [], "any", false, false, false, 32) === "prod")) {
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/57/57febcc506688e5117e8f1ff97993b16.php
->
yield
(line 65)
// line 3$context["documentationSlug"] = ((array_key_exists("documentationSlug", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["documentationSlug"]) || array_key_exists("documentationSlug", $context) ? $context["documentationSlug"] : (function () { throw new RuntimeError('Variable "documentationSlug" does not exist.', 3, $this->source); })()), "")) : (""));// line 1$this->parent = $this->load("platform/layouts/base_platform.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
var/cache/dev/twig/72/72784704bfd4791d80688b54414d0367.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", "platform/legal/mentions.html.twig"));$this->parent = $this->load("platform/layouts/platform_layout.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 452)
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 457)
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 257)
* 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('platform/legal/mentions.html.twig', array('content' => null))
in
src/Controller/Platform/LegalController.php
(line 18)
public function mentions(PlatformService $platformService): Response{$platformOptions = $platformService->getPlatformOptions();$content = $platformOptions?->getLegalNoticesContent();return $this->render('platform/legal/mentions.html.twig', ['content' => $content,]);}#[Route(path: '/cgu', name: 'platform_legal_terms', methods: ['GET'])]
in
vendor/symfony/http-kernel/HttpKernel.php
->
mentions
(line 181)
$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 208)
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 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/clients/82912c3db656d3934b07da7bcf73107e/sites/preprod.canovia.fr/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 14:04:32 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "ddfa2f"
},
"request_uri": "https://preprod.canovia.fr/_profiler/ddfa2f?panel=exception&type=request",
"method": "GET"
}
|
| INFO 14:04:32 | deprecation |
User Deprecated: Since symfony/framework-bundle 6.4: The "annotations.cached_reader" service is deprecated without replacement. {
"exception": {}
}
|
| INFO 14:04:32 | deprecation |
User Deprecated: Since symfony/framework-bundle 6.4: The "annotations.reader" service is deprecated without replacement. {
"exception": {}
}
|
| INFO 14:04:32 | deprecation |
User Deprecated: Since symfony/framework-bundle 6.4: The "annotations.cache_adapter" service is deprecated without replacement. {
"exception": {}
}
|
| INFO 14:04:32 | deprecation |
User Deprecated: Annotations support is deprecated, migrate your application to use attributes and pass an instance of Gedmo\Mapping\Driver\AttributeReader to the Gedmo\Mapping\MappedEventSubscriber::setAnnotationReader() method instead. (MappedEventSubscriber.php:196 called by getStofDoctrineExtensions_Listener_TranslatableService.php:28, https://github.com/doctrine-extensions/DoctrineExtensions/pull/2772, package gedmo/doctrine-extensions) {
"exception": {}
}
|
| INFO 14:04:32 | deprecation |
User Deprecated: Since symfony/validator 6.4: Method "Symfony\Component\Validator\ValidatorBuilder::setDoctrineAnnotationReader()" is deprecated without replacement. {
"exception": {}
}
|
| INFO 14:04:32 | deprecation |
User Deprecated: Since symfony/serializer 6.4: Passing a "Doctrine\Common\Annotations\PsrCachedReader" instance as argument 1 to "Symfony\Component\Serializer\Mapping\Loader\AttributeLoader::__construct()" is deprecated, pass null or omit the parameter instead. {
"exception": {}
}
|
| INFO 14:04:32 | deprecation |
User Deprecated: In ORM 3.0, the AttributeDriver will report fields for the classes where they are declared. This may uncover invalid mapping configurations. To opt into the new mode today, set the "reportFieldsWhereDeclared" constructor parameter to true. (AttributeDriver.php:77 called by App_KernelDevDebugContainer.php:4183, https://github.com/doctrine/orm/pull/10455, package doctrine/orm) {
"exception": {}
}
|
| INFO 14:04:32 | deprecation |
User Deprecated: The annotation mapping driver is deprecated and will be removed in Doctrine ORM 3.0, please migrate to the attribute or XML driver. (AnnotationDriver.php:65 called by App_KernelDevDebugContainer.php:4173, https://github.com/doctrine/orm/issues/10098, package doctrine/orm) {
"exception": {}
}
|
| INFO 14:04:32 | deprecation |
User Deprecated: Not enabling lazy ghost objects is deprecated and will not be supported in Doctrine ORM 3.0. Ensure Doctrine\ORM\Configuration::setLazyGhostObjectEnabled(true) is called to enable them. (ProxyFactory.php:166 called by EntityManager.php:177, https://github.com/doctrine/orm/pull/10837/, package doctrine/orm) {
"exception": {}
}
|
| INFO 14:04:32 | deprecation |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "Gedmo\Sluggable\SluggableListener" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {
"exception": {}
}
|
| INFO 14:04:32 | deprecation |
User Deprecated: Since symfony/doctrine-bridge 6.3: Registering "App\EventListener\ActionLogSuscriber" as a Doctrine subscriber is deprecated. Register it as a listener instead, using e.g. the #[AsDoctrineListener] or #[AsDocumentListener] attribute. {
"exception": {}
}
|
Stack Trace
|
RuntimeError
|
|---|
Twig\Error\RuntimeError:
Impossible to access an attribute ("contracts") on a null variable in "platform/layouts/sidebar.html.twig" at line 42.
at templates/platform/layouts/sidebar.html.twig:42
at Twig\Extension\CoreExtension::getAttribute(object(Environment), object(Source), null, 'contracts', array(), 'any', false, false, false, 42)
(var/cache/dev/twig/4d/4d7c9e0e5242fb50e43dc5e29e538f33.php:153)
at __TwigTemplate_e2b21a72c837410ed12e9e890f4d2c5c->doDisplay(array('content' => null, 'platform_options' => object(PlatformOptions), 'user_notifications' => null, 'user_message' => 0, 'builder_options' => object(BuilderOptions), 'file_manager_options' => object(FileManagerOptions), 'blog_options' => object(BlogOptions), 'cms_options' => object(CmsOptions), 'rgpd_options' => object(RgpdOptions), 'app' => object(AppVariable), 'host' => '127.0.0.1', 'documentationSlug' => '', 'currentRoute' => 'platform_legal_mentions', 'user' => null), array())
(vendor/twig/twig/src/Template.php:402)
at Twig\Template->yield(array('content' => null, 'platform_options' => object(PlatformOptions), 'user_notifications' => null, 'user_message' => 0, 'builder_options' => object(BuilderOptions), 'file_manager_options' => object(FileManagerOptions), 'blog_options' => object(BlogOptions), 'cms_options' => object(CmsOptions), 'rgpd_options' => object(RgpdOptions), 'app' => object(AppVariable), 'host' => '127.0.0.1', 'documentationSlug' => '', 'currentRoute' => 'platform_legal_mentions'))
(var/cache/dev/twig/57/57febcc506688e5117e8f1ff97993b16.php:264)
at __TwigTemplate_1a7cade760eea17cefadbe959e16d77e->block_sidebar(array('content' => null, 'platform_options' => object(PlatformOptions), 'user_notifications' => null, 'user_message' => 0, 'builder_options' => object(BuilderOptions), 'file_manager_options' => object(FileManagerOptions), 'blog_options' => object(BlogOptions), 'cms_options' => object(CmsOptions), 'rgpd_options' => object(RgpdOptions), 'app' => object(AppVariable), 'host' => '127.0.0.1', 'documentationSlug' => '', 'currentRoute' => 'platform_legal_mentions'), array('favicon' => array(object(__TwigTemplate_90f8ab77ee981004d0c80a17c1fd97a5), 'block_favicon'), 'meta' => array(object(__TwigTemplate_90f8ab77ee981004d0c80a17c1fd97a5), 'block_meta'), 'title' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_stylesheets'), 'body_attr' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_body_attr'), 'body' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_body'), 'javascripts' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_javascripts'), 'header' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_header'), 'sidebar' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_sidebar'), 'page_classes' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_page_classes'), 'breadcrumbs' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_breadcrumbs'), 'page_content' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_page_content')))
(vendor/twig/twig/src/Template.php:446)
at Twig\Template->yieldBlock('sidebar', array('content' => null, 'platform_options' => object(PlatformOptions), 'user_notifications' => null, 'user_message' => 0, 'builder_options' => object(BuilderOptions), 'file_manager_options' => object(FileManagerOptions), 'blog_options' => object(BlogOptions), 'cms_options' => object(CmsOptions), 'rgpd_options' => object(RgpdOptions), 'app' => object(AppVariable), 'host' => '127.0.0.1', 'documentationSlug' => '', 'currentRoute' => 'platform_legal_mentions'), array('favicon' => array(object(__TwigTemplate_90f8ab77ee981004d0c80a17c1fd97a5), 'block_favicon'), 'meta' => array(object(__TwigTemplate_90f8ab77ee981004d0c80a17c1fd97a5), 'block_meta'), 'title' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_stylesheets'), 'body_attr' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_body_attr'), 'body' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_body'), 'javascripts' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_javascripts'), 'header' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_header'), 'sidebar' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_sidebar'), 'page_classes' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_page_classes'), 'breadcrumbs' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_breadcrumbs'), 'page_content' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_page_content')))
(var/cache/dev/twig/57/57febcc506688e5117e8f1ff97993b16.php:176)
at __TwigTemplate_1a7cade760eea17cefadbe959e16d77e->block_body(array('content' => null, 'platform_options' => object(PlatformOptions), 'user_notifications' => null, 'user_message' => 0, 'builder_options' => object(BuilderOptions), 'file_manager_options' => object(FileManagerOptions), 'blog_options' => object(BlogOptions), 'cms_options' => object(CmsOptions), 'rgpd_options' => object(RgpdOptions), 'app' => object(AppVariable), 'host' => '127.0.0.1', 'documentationSlug' => '', 'currentRoute' => 'platform_legal_mentions'), array('favicon' => array(object(__TwigTemplate_90f8ab77ee981004d0c80a17c1fd97a5), 'block_favicon'), 'meta' => array(object(__TwigTemplate_90f8ab77ee981004d0c80a17c1fd97a5), 'block_meta'), 'title' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_stylesheets'), 'body_attr' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_body_attr'), 'body' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_body'), 'javascripts' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_javascripts'), 'header' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_header'), 'sidebar' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_sidebar'), 'page_classes' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_page_classes'), 'breadcrumbs' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_breadcrumbs'), 'page_content' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_page_content')))
(vendor/twig/twig/src/Template.php:446)
at Twig\Template->yieldBlock('body', array('content' => null, 'platform_options' => object(PlatformOptions), 'user_notifications' => null, 'user_message' => 0, 'builder_options' => object(BuilderOptions), 'file_manager_options' => object(FileManagerOptions), 'blog_options' => object(BlogOptions), 'cms_options' => object(CmsOptions), 'rgpd_options' => object(RgpdOptions), 'app' => object(AppVariable), 'host' => '127.0.0.1', 'documentationSlug' => '', 'currentRoute' => 'platform_legal_mentions'), array('favicon' => array(object(__TwigTemplate_90f8ab77ee981004d0c80a17c1fd97a5), 'block_favicon'), 'meta' => array(object(__TwigTemplate_90f8ab77ee981004d0c80a17c1fd97a5), 'block_meta'), 'title' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_stylesheets'), 'body_attr' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_body_attr'), 'body' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_body'), 'javascripts' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_javascripts'), 'header' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_header'), 'sidebar' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_sidebar'), 'page_classes' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_page_classes'), 'breadcrumbs' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_breadcrumbs'), 'page_content' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_page_content')))
(var/cache/dev/twig/eb/eb99614d940adbf368af2b90f10b43d0.php:91)
at __TwigTemplate_90f8ab77ee981004d0c80a17c1fd97a5->doDisplay(array('content' => null, 'platform_options' => object(PlatformOptions), 'user_notifications' => null, 'user_message' => 0, 'builder_options' => object(BuilderOptions), 'file_manager_options' => object(FileManagerOptions), 'blog_options' => object(BlogOptions), 'cms_options' => object(CmsOptions), 'rgpd_options' => object(RgpdOptions), 'app' => object(AppVariable), 'host' => '127.0.0.1', 'documentationSlug' => '', 'currentRoute' => 'platform_legal_mentions'), array('favicon' => array(object(__TwigTemplate_90f8ab77ee981004d0c80a17c1fd97a5), 'block_favicon'), 'meta' => array(object(__TwigTemplate_90f8ab77ee981004d0c80a17c1fd97a5), 'block_meta'), 'title' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_stylesheets'), 'body_attr' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_body_attr'), 'body' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_body'), 'javascripts' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_javascripts'), 'header' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_header'), 'sidebar' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_sidebar'), 'page_classes' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_page_classes'), 'breadcrumbs' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_breadcrumbs'), 'page_content' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_page_content')))
(vendor/twig/twig/src/Template.php:402)
at Twig\Template->yield(array('content' => null, 'platform_options' => object(PlatformOptions), 'user_notifications' => null, 'user_message' => 0, 'builder_options' => object(BuilderOptions), 'file_manager_options' => object(FileManagerOptions), 'blog_options' => object(BlogOptions), 'cms_options' => object(CmsOptions), 'rgpd_options' => object(RgpdOptions), 'app' => object(AppVariable), 'host' => '127.0.0.1', 'documentationSlug' => ''), array('favicon' => array(object(__TwigTemplate_90f8ab77ee981004d0c80a17c1fd97a5), 'block_favicon'), 'meta' => array(object(__TwigTemplate_90f8ab77ee981004d0c80a17c1fd97a5), 'block_meta'), 'title' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_title'), 'stylesheets' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_stylesheets'), 'body_attr' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_body_attr'), 'body' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_body'), 'javascripts' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_javascripts'), 'header' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_header'), 'sidebar' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_sidebar'), 'page_classes' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_page_classes'), 'breadcrumbs' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_breadcrumbs'), 'page_content' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_page_content')))
(var/cache/dev/twig/57/57febcc506688e5117e8f1ff97993b16.php:65)
at __TwigTemplate_1a7cade760eea17cefadbe959e16d77e->doDisplay(array('content' => null, 'platform_options' => object(PlatformOptions), 'user_notifications' => null, 'user_message' => 0, 'builder_options' => object(BuilderOptions), 'file_manager_options' => object(FileManagerOptions), 'blog_options' => object(BlogOptions), 'cms_options' => object(CmsOptions), 'rgpd_options' => object(RgpdOptions), 'app' => object(AppVariable), 'host' => '127.0.0.1', 'documentationSlug' => ''), array('title' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_title'), 'body_attr' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_body_attr'), 'body' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_body'), 'header' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_header'), 'sidebar' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_sidebar'), 'page_classes' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_page_classes'), 'breadcrumbs' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_breadcrumbs'), 'page_content' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_page_content'), 'javascripts' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_javascripts'), 'stylesheets' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_stylesheets')))
(vendor/twig/twig/src/Template.php:402)
at Twig\Template->yield(array('content' => null, 'platform_options' => object(PlatformOptions), 'user_notifications' => null, 'user_message' => 0, 'builder_options' => object(BuilderOptions), 'file_manager_options' => object(FileManagerOptions), 'blog_options' => object(BlogOptions), 'cms_options' => object(CmsOptions), 'rgpd_options' => object(RgpdOptions), 'app' => object(AppVariable), 'host' => '127.0.0.1'), array('title' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_title'), 'body_attr' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_body_attr'), 'body' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_body'), 'header' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_header'), 'sidebar' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_sidebar'), 'page_classes' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_page_classes'), 'breadcrumbs' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_breadcrumbs'), 'page_content' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_page_content'), 'javascripts' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_javascripts'), 'stylesheets' => array(object(__TwigTemplate_1a7cade760eea17cefadbe959e16d77e), 'block_stylesheets')))
(var/cache/dev/twig/72/72784704bfd4791d80688b54414d0367.php:55)
at __TwigTemplate_c1306513a9e7226b6e31279b9ab23868->doDisplay(array('content' => null, 'platform_options' => object(PlatformOptions), 'user_notifications' => null, 'user_message' => 0, 'builder_options' => object(BuilderOptions), 'file_manager_options' => object(FileManagerOptions), 'blog_options' => object(BlogOptions), 'cms_options' => object(CmsOptions), 'rgpd_options' => object(RgpdOptions), 'app' => object(AppVariable), 'host' => '127.0.0.1'), array('title' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_title'), 'breadcrumbs' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_breadcrumbs'), 'page_content' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_page_content')))
(vendor/twig/twig/src/Template.php:402)
at Twig\Template->yield(array('content' => null, 'platform_options' => object(PlatformOptions), 'user_notifications' => null, 'user_message' => 0, 'builder_options' => object(BuilderOptions), 'file_manager_options' => object(FileManagerOptions), 'blog_options' => object(BlogOptions), 'cms_options' => object(CmsOptions), 'rgpd_options' => object(RgpdOptions), 'app' => object(AppVariable), 'host' => '127.0.0.1'), array('title' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_title'), 'breadcrumbs' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_breadcrumbs'), 'page_content' => array(object(__TwigTemplate_c1306513a9e7226b6e31279b9ab23868), 'block_page_content')))
(vendor/twig/twig/src/Template.php:358)
at Twig\Template->display(array('content' => null))
(vendor/twig/twig/src/Template.php:373)
at Twig\Template->render(array('content' => null))
(vendor/twig/twig/src/TemplateWrapper.php:51)
at Twig\TemplateWrapper->render(array('content' => null))
(vendor/twig/twig/src/Environment.php:333)
at Twig\Environment->render('platform/legal/mentions.html.twig', array('content' => null))
(vendor/symfony/framework-bundle/Controller/AbstractController.php:452)
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView('platform/legal/mentions.html.twig', null, array('content' => null), 'render')
(vendor/symfony/framework-bundle/Controller/AbstractController.php:457)
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender('platform/legal/mentions.html.twig', null, array('content' => null), null, 'render')
(vendor/symfony/framework-bundle/Controller/AbstractController.php:257)
at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render('platform/legal/mentions.html.twig', array('content' => null))
(src/Controller/Platform/LegalController.php:18)
at App\Controller\Platform\LegalController->mentions(object(PlatformService))
(vendor/symfony/http-kernel/HttpKernel.php:181)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:208)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(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/clients/82912c3db656d3934b07da7bcf73107e/sites/preprod.canovia.fr/vendor/autoload_runtime.php')
(public/index.php:5)
|