<link rel=\"stylesheet\" href=\"https://unpkg.com/leaflet@1.9.4/dist/leaflet.css\" integrity=\"sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=\" crossorigin=\"\" />
<script src=\"https://unpkg.com/leaflet@1.9.4/dist/leaflet.js\" integrity=\"sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=\" crossorigin=\"\"></script>
";
// line 13
$this->displayBlock('seo', $context, $blocks);
// line 26
echo " ";
$this->displayBlock('meta', $context, $blocks);
// line 27
echo " ";
// line 2
$macros["m"] = $this->macros["m"] = $this->loadTemplate("app/_inc/macros.html.twig", "app/chantiers/show.html.twig", 2)->unwrap();
// line 1
$this->parent = $this->loadTemplate("base.html.twig", "app/chantiers/show.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
* @final since version 3.4
*/
protected function render($view, array $parameters = [], Response $response = null)
{
if ($this->container->has('templating')) {
$content = $this->container->get('templating')->render($view, $parameters);
} elseif ($this->container->has('twig')) {
$content = $this->container->get('twig')->render($view, $parameters);
} else {
throw new \LogicException('You can not use the "render" method if the Templating Component or the Twig Bundle are not available. Try running "composer require symfony/twig-bundle".');
}
return $this->render('app/chantiers/show.html.twig', [
"site" => $site,
"oSites" => $oSites,
"allSites" => $allSites,
"gallery" => $gallery,
"lots" => $lots
]);
}
/**
* @Route("/{_locale}/realisations", name="realisations", requirements={"_locale" = "en|fr"}, options={"sitemap": true, "priority": 1, "changefreq": "yearly"})
$this->dispatcher->dispatch(KernelEvents::CONTROLLER_ARGUMENTS, $event);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = \call_user_func_array($controller, $arguments);
// view
if (!$response instanceof Response) {
$event = new GetResponseForControllerResultEvent($this, $request, $type, $response);
$this->dispatcher->dispatch(KernelEvents::VIEW, $event);
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
$variables = array_flip($variables);
$mergedParams = array_replace($defaults, $this->context->getParameters(), $parameters);
// all params must be given
if ($diff = array_diff_key($variables, $mergedParams)) {
throw new MissingMandatoryParametersException(sprintf('Some mandatory parameters are missing ("%s") to generate a URL for route "%s".', implode('", "', array_keys($diff)), $name));
}
$url = '';
$optional = true;
$message = 'Parameter "{parameter}" for route "{route}" must match "{expected}" ("{given}" given) to generate a corresponding URL.';
throw new RouteNotFoundException(sprintf('Unable to generate a URL for the named route "%s" as such route does not exist.', $name));
}
list($variables, $defaults, $requirements, $tokens, $hostTokens, $requiredSchemes) = self::$declaredRoutes[$name];
return $this->doGenerate($variables, $defaults, $requirements, $tokens, $parameters, $name, $referenceType, $hostTokens, $requiredSchemes);
}
}
foreach ($seoRoute->getMetas() as $meta) {
$html .= '<meta name="' . $meta->getName() . '" content="' . $meta->translate($locale)->getContent() . '">';
}
$html .= '<meta property="og:title" content="' . $seoRoute->translate($locale)->getTitle() . '" />';
$html .= '<meta property="og:type" content="website" />';
$html .= '<meta property="og:url" content="' . $this->router->generate($routeName, [], UrlGeneratorInterface::ABSOLUTE_URL) . '" />';
$html .= '<meta property="og:image" content="' . $this->router->generate('app_default_index', [], UrlGeneratorInterface::ABSOLUTE_URL) . 'img/federaly-grp-og.jpg" />';
}
}
return $html;
}
// 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;
(isset($context["product"]) || array_key_exists("product", $context))) ? ((isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 16, $this->source); })())) : ((( // line 17
(isset($context["category"]) || array_key_exists("category", $context))) ? ((isset($context["category"]) || array_key_exists("category", $context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.', 17, $this->source); })())) : ((( // line 18
(isset($context["article"]) || array_key_exists("article", $context))) ? ((isset($context["article"]) || array_key_exists("article", $context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.', 18, $this->source); })())) : ((( // line 19
(isset($context["page"]) || array_key_exists("page", $context))) ? ((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 19, $this->source); })())) : ((( // line 20
(isset($context["job"]) || array_key_exists("job", $context))) ? ((isset($context["job"]) || array_key_exists("job", $context) ? $context["job"] : (function () { throw new RuntimeError('Variable "job" does not exist.', 20, $this->source); })())) : ((( // line 21
(isset($context["gallery"]) || array_key_exists("gallery", $context))) ? ((isset($context["gallery"]) || array_key_exists("gallery", $context) ? $context["gallery"] : (function () { throw new RuntimeError('Variable "gallery" does not exist.', 21, $this->source); })())) : (null))))))))))))], "method", false, false, false, 15);
// line 23
echo "
";
}
// line 25
<link rel=\"stylesheet\" href=\"https://unpkg.com/leaflet@1.9.4/dist/leaflet.css\" integrity=\"sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=\" crossorigin=\"\" />
<script src=\"https://unpkg.com/leaflet@1.9.4/dist/leaflet.js\" integrity=\"sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=\" crossorigin=\"\"></script>
";
// line 13
$this->displayBlock('seo', $context, $blocks);
// line 26
echo " ";
$this->displayBlock('meta', $context, $blocks);
// line 27
echo " ";
// line 2
$macros["m"] = $this->macros["m"] = $this->loadTemplate("app/_inc/macros.html.twig", "app/chantiers/show.html.twig", 2)->unwrap();
// line 1
$this->parent = $this->loadTemplate("base.html.twig", "app/chantiers/show.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
* @final since version 3.4
*/
protected function render($view, array $parameters = [], Response $response = null)
{
if ($this->container->has('templating')) {
$content = $this->container->get('templating')->render($view, $parameters);
} elseif ($this->container->has('twig')) {
$content = $this->container->get('twig')->render($view, $parameters);
} else {
throw new \LogicException('You can not use the "render" method if the Templating Component or the Twig Bundle are not available. Try running "composer require symfony/twig-bundle".');
}
return $this->render('app/chantiers/show.html.twig', [
"site" => $site,
"oSites" => $oSites,
"allSites" => $allSites,
"gallery" => $gallery,
"lots" => $lots
]);
}
/**
* @Route("/{_locale}/realisations", name="realisations", requirements={"_locale" = "en|fr"}, options={"sitemap": true, "priority": 1, "changefreq": "yearly"})
$this->dispatcher->dispatch(KernelEvents::CONTROLLER_ARGUMENTS, $event);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = \call_user_func_array($controller, $arguments);
// view
if (!$response instanceof Response) {
$event = new GetResponseForControllerResultEvent($this, $request, $type, $response);
$this->dispatcher->dispatch(KernelEvents::VIEW, $event);
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
No log messages
[2/2] RuntimeError |
---|
Twig\Error\RuntimeError: An exception has been thrown during the rendering of a template ("Some mandatory parameters are missing ("id", "slug") to generate a URL for route "chantier_show"."). at app/Resources/views/base.html.twig:21 at Twig\Template->displayBlock('seo', array('site' => object(Site), 'oSites' => array(), 'allSites' => array(object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site)), 'gallery' => null, 'lots' => array(), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'app' => object(AppVariable), 'seo' => object(Seo), 'checkroute' => object(CheckRoute), 'colorAdmin' => '#e62984', 'darkTheme' => false, 'matomoSiteId' => '668', 'googleAnalyticsId' => 'G-Q6XEGQC9F5', 'coord' => array('mail' => 'contact@federaly.fr', 'phone' => '04 78 51 91 93', 'address' => '646 rue Juliette Récamier 69970 Chaponnay', 'googlemaps' => null), 'social' => array('facebook' => 'http://', 'twitter' => 'http://', 'instagram' => 'http://', 'linkedin' => 'http://', 'pinterest' => 'http://', 'youtube' => null), 'legal' => array('siret' => '81785853300026', 'naf' => '4110A', 'directeur' => 'directeur//'), 'path' => 'chantier_show'), array('seo' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_seo'), 'meta' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_meta'), 'libcss' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_libcss'), 'css' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_css'), 'header' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_header'), 'content' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_content'), 'footer' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_footer'), 'libjs' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_libjs'), 'js' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_js'))) (var/cache/prod/twig/7a/7afc5535a426a8b4f75ff3f31c7a06a2e5d8419e1f49ee2641c78f1660377970.php:77) at __TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b->doDisplay(array('site' => object(Site), 'oSites' => array(), 'allSites' => array(object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site)), 'gallery' => null, 'lots' => array(), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'app' => object(AppVariable), 'seo' => object(Seo), 'checkroute' => object(CheckRoute), 'colorAdmin' => '#e62984', 'darkTheme' => false, 'matomoSiteId' => '668', 'googleAnalyticsId' => 'G-Q6XEGQC9F5', 'coord' => array('mail' => 'contact@federaly.fr', 'phone' => '04 78 51 91 93', 'address' => '646 rue Juliette Récamier 69970 Chaponnay', 'googlemaps' => null), 'social' => array('facebook' => 'http://', 'twitter' => 'http://', 'instagram' => 'http://', 'linkedin' => 'http://', 'pinterest' => 'http://', 'youtube' => null), 'legal' => array('siret' => '81785853300026', 'naf' => '4110A', 'directeur' => 'directeur//'), 'path' => 'chantier_show'), array('seo' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_seo'), 'meta' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_meta'), 'libcss' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_libcss'), 'css' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_css'), 'header' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_header'), 'content' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_content'), 'footer' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_footer'), 'libjs' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_libjs'), 'js' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_js'))) (vendor/twig/twig/src/Template.php:407) at Twig\Template->displayWithErrorHandling(array('site' => object(Site), 'oSites' => array(), 'allSites' => array(object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site)), 'gallery' => null, 'lots' => array(), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'app' => object(AppVariable), 'seo' => object(Seo), 'checkroute' => object(CheckRoute), 'colorAdmin' => '#e62984', 'darkTheme' => false, 'matomoSiteId' => '668', 'googleAnalyticsId' => 'G-Q6XEGQC9F5', 'coord' => array('mail' => 'contact@federaly.fr', 'phone' => '04 78 51 91 93', 'address' => '646 rue Juliette Récamier 69970 Chaponnay', 'googlemaps' => null), 'social' => array('facebook' => 'http://', 'twitter' => 'http://', 'instagram' => 'http://', 'linkedin' => 'http://', 'pinterest' => 'http://', 'youtube' => null), 'legal' => array('siret' => '81785853300026', 'naf' => '4110A', 'directeur' => 'directeur//')), array('seo' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_seo'), 'meta' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_meta'), 'libcss' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_libcss'), 'css' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_css'), 'header' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_header'), 'content' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_content'), 'footer' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_footer'), 'libjs' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_libjs'), 'js' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_js'))) (vendor/twig/twig/src/Template.php:380) at Twig\Template->display(array('site' => object(Site), 'oSites' => array(), 'allSites' => array(object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site)), 'gallery' => null, 'lots' => array(), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'app' => object(AppVariable), 'seo' => object(Seo), 'checkroute' => object(CheckRoute), 'colorAdmin' => '#e62984', 'darkTheme' => false, 'matomoSiteId' => '668', 'googleAnalyticsId' => 'G-Q6XEGQC9F5', 'coord' => array('mail' => 'contact@federaly.fr', 'phone' => '04 78 51 91 93', 'address' => '646 rue Juliette Récamier 69970 Chaponnay', 'googlemaps' => null), 'social' => array('facebook' => 'http://', 'twitter' => 'http://', 'instagram' => 'http://', 'linkedin' => 'http://', 'pinterest' => 'http://', 'youtube' => null), 'legal' => array('siret' => '81785853300026', 'naf' => '4110A', 'directeur' => 'directeur//')), array('content' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_content'), 'js' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_js'))) (var/cache/prod/twig/84/84e91be562027cd566130aee803df9df6bb7cc9d27cef8e6e80e70286d5b9d17.php:49) at __TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852->doDisplay(array('site' => object(Site), 'oSites' => array(), 'allSites' => array(object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site)), 'gallery' => null, 'lots' => array(), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'app' => object(AppVariable), 'seo' => object(Seo), 'checkroute' => object(CheckRoute), 'colorAdmin' => '#e62984', 'darkTheme' => false, 'matomoSiteId' => '668', 'googleAnalyticsId' => 'G-Q6XEGQC9F5', 'coord' => array('mail' => 'contact@federaly.fr', 'phone' => '04 78 51 91 93', 'address' => '646 rue Juliette Récamier 69970 Chaponnay', 'googlemaps' => null), 'social' => array('facebook' => 'http://', 'twitter' => 'http://', 'instagram' => 'http://', 'linkedin' => 'http://', 'pinterest' => 'http://', 'youtube' => null), 'legal' => array('siret' => '81785853300026', 'naf' => '4110A', 'directeur' => 'directeur//')), array('content' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_content'), 'js' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_js'))) (vendor/twig/twig/src/Template.php:407) at Twig\Template->displayWithErrorHandling(array('site' => object(Site), 'oSites' => array(), 'allSites' => array(object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site)), 'gallery' => null, 'lots' => array(), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'app' => object(AppVariable), 'seo' => object(Seo), 'checkroute' => object(CheckRoute), 'colorAdmin' => '#e62984', 'darkTheme' => false, 'matomoSiteId' => '668', 'googleAnalyticsId' => 'G-Q6XEGQC9F5', 'coord' => array('mail' => 'contact@federaly.fr', 'phone' => '04 78 51 91 93', 'address' => '646 rue Juliette Récamier 69970 Chaponnay', 'googlemaps' => null), 'social' => array('facebook' => 'http://', 'twitter' => 'http://', 'instagram' => 'http://', 'linkedin' => 'http://', 'pinterest' => 'http://', 'youtube' => null), 'legal' => array('siret' => '81785853300026', 'naf' => '4110A', 'directeur' => 'directeur//')), array('content' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_content'), 'js' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_js'))) (vendor/twig/twig/src/Template.php:380) at Twig\Template->display(array('site' => object(Site), 'oSites' => array(), 'allSites' => array(object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site)), 'gallery' => null, 'lots' => array())) (vendor/twig/twig/src/Template.php:392) at Twig\Template->render(array('site' => object(Site), 'oSites' => array(), 'allSites' => array(object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site)), 'gallery' => null, 'lots' => array())) (vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php:50) at Symfony\Bridge\Twig\TwigEngine->render('app/chantiers/show.html.twig', array('site' => object(Site), 'oSites' => array(), 'allSites' => array(object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site)), 'gallery' => null, 'lots' => array())) (vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php:286) at Symfony\Bundle\FrameworkBundle\Controller\Controller->render('app/chantiers/show.html.twig', array('site' => object(Site), 'oSites' => array(), 'allSites' => array(object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site)), 'gallery' => null, 'lots' => array())) (src/AppBundle/Controller/DefaultController.php:529) at AppBundle\Controller\DefaultController->chantierShowAction(object(Request), '76') (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (web/app.php:23) |
[1/2] MissingMandatoryParametersException |
---|
Symfony\Component\Routing\Exception\MissingMandatoryParametersException: Some mandatory parameters are missing ("id", "slug") to generate a URL for route "chantier_show". at vendor/symfony/symfony/src/Symfony/Component/Routing/Generator/UrlGenerator.php:136 at Symfony\Component\Routing\Generator\UrlGenerator->doGenerate(array('_locale' => 0, 'id' => 1, 'slug' => 2), array('_controller' => 'AppBundle\\Controller\\DefaultController::chantierShowAction'), array('_locale' => 'en|fr'), array(array('variable', '/', '[^/]++', 'slug'), array('variable', '/', '[^/]++', 'id'), array('text', '/chantier'), array('variable', '/', 'en|fr', '_locale')), array(), 'chantier_show', 0, array(), array()) (var/cache/prod/appProdDebugProjectContainerUrlGenerator.php:176) at appProdDebugProjectContainerUrlGenerator->generate('chantier_show', array(), 0) (vendor/symfony/symfony/src/Symfony/Component/Routing/Router.php:240) at Symfony\Component\Routing\Router->generate('chantier_show', array(), 0) (src/AppBundle/Service/Seo.php:79) at AppBundle\Service\Seo->generate('chantier_show', object(Site), 'fr', null) (vendor/twig/twig/src/Extension/CoreExtension.php:1499) at twig_get_attribute(object(Environment), object(Source), object(Seo), 'generate', array('chantier_show', object(Site), 'fr', null), 'method', false, false, false, 15) (var/cache/prod/twig/7a/7afc5535a426a8b4f75ff3f31c7a06a2e5d8419e1f49ee2641c78f1660377970.php:167) at __TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b->block_seo(array('site' => object(Site), 'oSites' => array(), 'allSites' => array(object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site)), 'gallery' => null, 'lots' => array(), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'app' => object(AppVariable), 'seo' => object(Seo), 'checkroute' => object(CheckRoute), 'colorAdmin' => '#e62984', 'darkTheme' => false, 'matomoSiteId' => '668', 'googleAnalyticsId' => 'G-Q6XEGQC9F5', 'coord' => array('mail' => 'contact@federaly.fr', 'phone' => '04 78 51 91 93', 'address' => '646 rue Juliette Récamier 69970 Chaponnay', 'googlemaps' => null), 'social' => array('facebook' => 'http://', 'twitter' => 'http://', 'instagram' => 'http://', 'linkedin' => 'http://', 'pinterest' => 'http://', 'youtube' => null), 'legal' => array('siret' => '81785853300026', 'naf' => '4110A', 'directeur' => 'directeur//'), 'path' => 'chantier_show'), array('seo' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_seo'), 'meta' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_meta'), 'libcss' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_libcss'), 'css' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_css'), 'header' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_header'), 'content' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_content'), 'footer' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_footer'), 'libjs' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_libjs'), 'js' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_js'))) (vendor/twig/twig/src/Template.php:184) at Twig\Template->displayBlock('seo', array('site' => object(Site), 'oSites' => array(), 'allSites' => array(object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site)), 'gallery' => null, 'lots' => array(), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'app' => object(AppVariable), 'seo' => object(Seo), 'checkroute' => object(CheckRoute), 'colorAdmin' => '#e62984', 'darkTheme' => false, 'matomoSiteId' => '668', 'googleAnalyticsId' => 'G-Q6XEGQC9F5', 'coord' => array('mail' => 'contact@federaly.fr', 'phone' => '04 78 51 91 93', 'address' => '646 rue Juliette Récamier 69970 Chaponnay', 'googlemaps' => null), 'social' => array('facebook' => 'http://', 'twitter' => 'http://', 'instagram' => 'http://', 'linkedin' => 'http://', 'pinterest' => 'http://', 'youtube' => null), 'legal' => array('siret' => '81785853300026', 'naf' => '4110A', 'directeur' => 'directeur//'), 'path' => 'chantier_show'), array('seo' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_seo'), 'meta' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_meta'), 'libcss' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_libcss'), 'css' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_css'), 'header' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_header'), 'content' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_content'), 'footer' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_footer'), 'libjs' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_libjs'), 'js' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_js'))) (var/cache/prod/twig/7a/7afc5535a426a8b4f75ff3f31c7a06a2e5d8419e1f49ee2641c78f1660377970.php:77) at __TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b->doDisplay(array('site' => object(Site), 'oSites' => array(), 'allSites' => array(object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site)), 'gallery' => null, 'lots' => array(), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'app' => object(AppVariable), 'seo' => object(Seo), 'checkroute' => object(CheckRoute), 'colorAdmin' => '#e62984', 'darkTheme' => false, 'matomoSiteId' => '668', 'googleAnalyticsId' => 'G-Q6XEGQC9F5', 'coord' => array('mail' => 'contact@federaly.fr', 'phone' => '04 78 51 91 93', 'address' => '646 rue Juliette Récamier 69970 Chaponnay', 'googlemaps' => null), 'social' => array('facebook' => 'http://', 'twitter' => 'http://', 'instagram' => 'http://', 'linkedin' => 'http://', 'pinterest' => 'http://', 'youtube' => null), 'legal' => array('siret' => '81785853300026', 'naf' => '4110A', 'directeur' => 'directeur//'), 'path' => 'chantier_show'), array('seo' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_seo'), 'meta' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_meta'), 'libcss' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_libcss'), 'css' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_css'), 'header' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_header'), 'content' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_content'), 'footer' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_footer'), 'libjs' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_libjs'), 'js' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_js'))) (vendor/twig/twig/src/Template.php:407) at Twig\Template->displayWithErrorHandling(array('site' => object(Site), 'oSites' => array(), 'allSites' => array(object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site)), 'gallery' => null, 'lots' => array(), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'app' => object(AppVariable), 'seo' => object(Seo), 'checkroute' => object(CheckRoute), 'colorAdmin' => '#e62984', 'darkTheme' => false, 'matomoSiteId' => '668', 'googleAnalyticsId' => 'G-Q6XEGQC9F5', 'coord' => array('mail' => 'contact@federaly.fr', 'phone' => '04 78 51 91 93', 'address' => '646 rue Juliette Récamier 69970 Chaponnay', 'googlemaps' => null), 'social' => array('facebook' => 'http://', 'twitter' => 'http://', 'instagram' => 'http://', 'linkedin' => 'http://', 'pinterest' => 'http://', 'youtube' => null), 'legal' => array('siret' => '81785853300026', 'naf' => '4110A', 'directeur' => 'directeur//')), array('seo' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_seo'), 'meta' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_meta'), 'libcss' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_libcss'), 'css' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_css'), 'header' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_header'), 'content' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_content'), 'footer' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_footer'), 'libjs' => array(object(__TwigTemplate_d73d83ff785f9a4f576c234b8a4e66502218088b36be041acea6457f5ff1d09b), 'block_libjs'), 'js' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_js'))) (vendor/twig/twig/src/Template.php:380) at Twig\Template->display(array('site' => object(Site), 'oSites' => array(), 'allSites' => array(object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site)), 'gallery' => null, 'lots' => array(), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'app' => object(AppVariable), 'seo' => object(Seo), 'checkroute' => object(CheckRoute), 'colorAdmin' => '#e62984', 'darkTheme' => false, 'matomoSiteId' => '668', 'googleAnalyticsId' => 'G-Q6XEGQC9F5', 'coord' => array('mail' => 'contact@federaly.fr', 'phone' => '04 78 51 91 93', 'address' => '646 rue Juliette Récamier 69970 Chaponnay', 'googlemaps' => null), 'social' => array('facebook' => 'http://', 'twitter' => 'http://', 'instagram' => 'http://', 'linkedin' => 'http://', 'pinterest' => 'http://', 'youtube' => null), 'legal' => array('siret' => '81785853300026', 'naf' => '4110A', 'directeur' => 'directeur//')), array('content' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_content'), 'js' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_js'))) (var/cache/prod/twig/84/84e91be562027cd566130aee803df9df6bb7cc9d27cef8e6e80e70286d5b9d17.php:49) at __TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852->doDisplay(array('site' => object(Site), 'oSites' => array(), 'allSites' => array(object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site)), 'gallery' => null, 'lots' => array(), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'app' => object(AppVariable), 'seo' => object(Seo), 'checkroute' => object(CheckRoute), 'colorAdmin' => '#e62984', 'darkTheme' => false, 'matomoSiteId' => '668', 'googleAnalyticsId' => 'G-Q6XEGQC9F5', 'coord' => array('mail' => 'contact@federaly.fr', 'phone' => '04 78 51 91 93', 'address' => '646 rue Juliette Récamier 69970 Chaponnay', 'googlemaps' => null), 'social' => array('facebook' => 'http://', 'twitter' => 'http://', 'instagram' => 'http://', 'linkedin' => 'http://', 'pinterest' => 'http://', 'youtube' => null), 'legal' => array('siret' => '81785853300026', 'naf' => '4110A', 'directeur' => 'directeur//')), array('content' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_content'), 'js' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_js'))) (vendor/twig/twig/src/Template.php:407) at Twig\Template->displayWithErrorHandling(array('site' => object(Site), 'oSites' => array(), 'allSites' => array(object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site)), 'gallery' => null, 'lots' => array(), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'app' => object(AppVariable), 'seo' => object(Seo), 'checkroute' => object(CheckRoute), 'colorAdmin' => '#e62984', 'darkTheme' => false, 'matomoSiteId' => '668', 'googleAnalyticsId' => 'G-Q6XEGQC9F5', 'coord' => array('mail' => 'contact@federaly.fr', 'phone' => '04 78 51 91 93', 'address' => '646 rue Juliette Récamier 69970 Chaponnay', 'googlemaps' => null), 'social' => array('facebook' => 'http://', 'twitter' => 'http://', 'instagram' => 'http://', 'linkedin' => 'http://', 'pinterest' => 'http://', 'youtube' => null), 'legal' => array('siret' => '81785853300026', 'naf' => '4110A', 'directeur' => 'directeur//')), array('content' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_content'), 'js' => array(object(__TwigTemplate_6cb506b83e71b91144c800661ce2c0466cc1da1d23a2c584d3e0a23b5609a852), 'block_js'))) (vendor/twig/twig/src/Template.php:380) at Twig\Template->display(array('site' => object(Site), 'oSites' => array(), 'allSites' => array(object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site)), 'gallery' => null, 'lots' => array())) (vendor/twig/twig/src/Template.php:392) at Twig\Template->render(array('site' => object(Site), 'oSites' => array(), 'allSites' => array(object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site)), 'gallery' => null, 'lots' => array())) (vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php:50) at Symfony\Bridge\Twig\TwigEngine->render('app/chantiers/show.html.twig', array('site' => object(Site), 'oSites' => array(), 'allSites' => array(object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site)), 'gallery' => null, 'lots' => array())) (vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php:286) at Symfony\Bundle\FrameworkBundle\Controller\Controller->render('app/chantiers/show.html.twig', array('site' => object(Site), 'oSites' => array(), 'allSites' => array(object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site), object(Site)), 'gallery' => null, 'lots' => array())) (src/AppBundle/Controller/DefaultController.php:529) at AppBundle\Controller\DefaultController->chantierShowAction(object(Request), '76') (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (web/app.php:23) |