Symfony Exception

LoaderError InvalidArgumentException

HTTP 500 Internal Server Error

Unable to find template "legal/www.ghostery.com.html.twig" (looked into: /home/clinicaexcelan23/web/clinicaexcelan.com/public_html/templates, /home/clinicaexcelan23/web/clinicaexcelan.com/public_html/templates, /home/clinicaexcelan23/web/clinicaexcelan.com/public_html/vendor/symfony/twig-bridge/Resources/views/Form).

Exceptions 2

InvalidArgumentException

  1.         }
  2.         try {
  3.             return $this->environment->load((string) $name)->unwrap();
  4.         } catch (LoaderError $e) {
  5.             throw new \InvalidArgumentException($e->getMessage(), $e->getCode(), $e);
  6.         }
  7.     }
  8. }
  1.      *
  2.      * @throws Error if something went wrong like a thrown exception while rendering the template
  3.      */
  4.     public function render($name, array $parameters = [])
  5.     {
  6.         return $this->load($name)->render($parameters);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      *
  1.     protected function render(string $view, array $parameters = [], Response $response null): Response
  2.     {
  3.         if ($this->container->has('templating') && $this->container->get('templating')->supports($view)) {
  4.             @trigger_error('Using the "templating" service is deprecated since version 4.3 and will be removed in 5.0; use Twig instead.', \E_USER_DEPRECATED);
  5.             $content $this->container->get('templating')->render($view$parameters);
  6.         } elseif ($this->container->has('twig')) {
  7.             $content $this->container->get('twig')->render($view$parameters);
  8.         } else {
  9.             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".');
  10.         }
  1.     }
  2.     protected function render(string $view, array $parameters = [], Response $response null): Response
  3.     {
  4.         $this->addData($parameters);
  5.         return parent::render($view$this->getData(), $response);
  6.     }
  7.     /**
  8.      * @return bool
  9.      */
BaseController->render('legal/www.ghostery.com.html.twig', array('app_name' => 'Trendix App', 'principalMenu' => array(array('id' => 'dashboard', 'label' => 'Dashboard', 'icon' => 'home', 'route' => 'admin', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => 'posts', 'label' => 'Posts', 'icon' => 'assignment-o', 'route' => null, 'params' => array(), 'cond' => true, 'submenu' => array(array('id' => '', 'label' => 'Listado', 'icon' => null, 'route' => 'post_category_index', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nueva categoría de posts', 'icon' => null, 'route' => 'post_category_new', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nuevo post', 'icon' => null, 'route' => 'post_new', 'params' => array(), 'cond' => true, 'submenu' => array()))), array('id' => 'services', 'label' => 'Servicios', 'icon' => 'play-for-work', 'route' => null, 'params' => array(), 'cond' => true, 'submenu' => array(array('id' => '', 'label' => 'Listado', 'icon' => null, 'route' => 'service_index', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nuevo', 'icon' => null, 'route' => 'service_new', 'params' => array(), 'cond' => true, 'submenu' => array()))), array('id' => 'certifications', 'label' => 'Certificationes', 'icon' => 'certificate', 'route' => null, 'params' => array(), 'cond' => true, 'submenu' => array(array('id' => '', 'label' => 'Listado', 'icon' => null, 'route' => 'certifications_index', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nuevo', 'icon' => null, 'route' => 'certifications_new', 'params' => array(), 'cond' => true, 'submenu' => array()))), array('id' => 'setting', 'label' => 'Configuración', 'icon' => 'play-for-work', 'route' => 'setting_index', 'params' => array(), 'cond' => true, 'submenu' => array())), 'hideTitle' => null, 'titleLogo' => null, 'hideMenu' => false, 'registerButton' => null, 'locales' => array('en', 'es'), 'admin_theme' => 'green', 'base_template' => null, 'localeMenu' => null, '_locale' => 'en', 'localesUrls' => array('en-es' => 'http://www.clinicaexcelan.com/en/legal/www.ghostery.com', 'es-es' => 'http://www.clinicaexcelan.com/es/legal/www.ghostery.com'), 'services' => array(object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService)), 'ratingValue' => 0, 'bestRating' => 0, 'worstRating' => 0, 'ratingCount' => 0)) in src/Controller/DefaultController.php (line 240)
  1.         $session = new Session();
  2.         $this->addData('localeMenu'$session->get(self::LOCALE_MENU));
  3.         $session->set(self::LOCALE_MENUfalse);
  4.         $this->addData('_locale'$_locale);
  5.         return $this->render('legal/' $document '.html.twig'$this->getData());
  6.     }
  7.     /**
  8.      * @Route("/{_locale}/pdf/{document}", name="pdf_legal")
  9.      */
in vendor/symfony/http-kernel/HttpKernel.php->cookiesAction (line 169)
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle(object(Request)) in public/index.php (line 38)
  1.     Request::setTrustedHosts(explode(','$trustedHosts));
  2. }
  3. $kernel = new Kernel($env$debug);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Twig\Error\ LoaderError

Unable to find template "legal/www.ghostery.com.html.twig" (looked into: /home/clinicaexcelan23/web/clinicaexcelan.com/public_html/templates, /home/clinicaexcelan23/web/clinicaexcelan.com/public_html/templates, /home/clinicaexcelan23/web/clinicaexcelan.com/public_html/vendor/symfony/twig-bridge/Resources/views/Form).

  1.         if (!$throw) {
  2.             return false;
  3.         }
  4.         throw new LoaderError($this->errorCache[$name]);
  5.     }
  6.     private function normalizeName($name)
  7.     {
  8.         return preg_replace('#/{2,}#''/'str_replace('\\''/', (string) $name));
  1.             return $this->cache[$logicalName];
  2.         }
  3.         $file null;
  4.         try {
  5.             $file parent::findTemplate($logicalName);
  6.         } catch (LoaderError $e) {
  7.             $twigLoaderException $e;
  8.             // for BC
  9.             try {
  1.         return new Source(file_get_contents($path), $name$path);
  2.     }
  3.     public function getCacheKey($name)
  4.     {
  5.         if (null === ($path $this->findTemplate($name)) || false === $path) {
  6.             return '';
  7.         }
  8.         $len = \strlen($this->rootPath);
  9.         if (=== strncmp($this->rootPath$path$len)) {
  10.             return substr($path$len);
in vendor/twig/twig/src/Environment.php->getCacheKey (line 299)
  1.      *
  2.      * @internal
  3.      */
  4.     public function getTemplateClass($name$index null)
  5.     {
  6.         $key $this->getLoader()->getCacheKey($name).$this->optionsHash;
  7.         return $this->templateClassPrefix.hash(\PHP_VERSION_ID 80100 'sha256' 'xxh128'$key).(null === $index '' '___'.$index);
  8.     }
  9.     /**
in vendor/twig/twig/src/Environment.php->getTemplateClass (line 381)
  1.      *
  2.      * @internal
  3.      */
  4.     public function loadTemplate($name$index null)
  5.     {
  6.         return $this->loadClass($this->getTemplateClass($name), $name$index);
  7.     }
  8.     /**
  9.      * @internal
  10.      */
in vendor/twig/twig/src/Environment.php->loadTemplate (line 359)
  1.             @trigger_error('Passing a \Twig\Template instance to '.__METHOD__.' is deprecated since Twig 2.7.0, use \Twig\TemplateWrapper instead.', \E_USER_DEPRECATED);
  2.             return new TemplateWrapper($this$name);
  3.         }
  4.         return new TemplateWrapper($this$this->loadTemplate($name));
  5.     }
  6.     /**
  7.      * Loads a template internal representation.
  8.      *
  1.         if ($name instanceof Template) {
  2.             return $name;
  3.         }
  4.         try {
  5.             return $this->environment->load((string) $name)->unwrap();
  6.         } catch (LoaderError $e) {
  7.             throw new \InvalidArgumentException($e->getMessage(), $e->getCode(), $e);
  8.         }
  9.     }
  10. }
  1.      *
  2.      * @throws Error if something went wrong like a thrown exception while rendering the template
  3.      */
  4.     public function render($name, array $parameters = [])
  5.     {
  6.         return $this->load($name)->render($parameters);
  7.     }
  8.     /**
  9.      * {@inheritdoc}
  10.      *
  1.     protected function render(string $view, array $parameters = [], Response $response null): Response
  2.     {
  3.         if ($this->container->has('templating') && $this->container->get('templating')->supports($view)) {
  4.             @trigger_error('Using the "templating" service is deprecated since version 4.3 and will be removed in 5.0; use Twig instead.', \E_USER_DEPRECATED);
  5.             $content $this->container->get('templating')->render($view$parameters);
  6.         } elseif ($this->container->has('twig')) {
  7.             $content $this->container->get('twig')->render($view$parameters);
  8.         } else {
  9.             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".');
  10.         }
  1.     }
  2.     protected function render(string $view, array $parameters = [], Response $response null): Response
  3.     {
  4.         $this->addData($parameters);
  5.         return parent::render($view$this->getData(), $response);
  6.     }
  7.     /**
  8.      * @return bool
  9.      */
BaseController->render('legal/www.ghostery.com.html.twig', array('app_name' => 'Trendix App', 'principalMenu' => array(array('id' => 'dashboard', 'label' => 'Dashboard', 'icon' => 'home', 'route' => 'admin', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => 'posts', 'label' => 'Posts', 'icon' => 'assignment-o', 'route' => null, 'params' => array(), 'cond' => true, 'submenu' => array(array('id' => '', 'label' => 'Listado', 'icon' => null, 'route' => 'post_category_index', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nueva categoría de posts', 'icon' => null, 'route' => 'post_category_new', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nuevo post', 'icon' => null, 'route' => 'post_new', 'params' => array(), 'cond' => true, 'submenu' => array()))), array('id' => 'services', 'label' => 'Servicios', 'icon' => 'play-for-work', 'route' => null, 'params' => array(), 'cond' => true, 'submenu' => array(array('id' => '', 'label' => 'Listado', 'icon' => null, 'route' => 'service_index', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nuevo', 'icon' => null, 'route' => 'service_new', 'params' => array(), 'cond' => true, 'submenu' => array()))), array('id' => 'certifications', 'label' => 'Certificationes', 'icon' => 'certificate', 'route' => null, 'params' => array(), 'cond' => true, 'submenu' => array(array('id' => '', 'label' => 'Listado', 'icon' => null, 'route' => 'certifications_index', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nuevo', 'icon' => null, 'route' => 'certifications_new', 'params' => array(), 'cond' => true, 'submenu' => array()))), array('id' => 'setting', 'label' => 'Configuración', 'icon' => 'play-for-work', 'route' => 'setting_index', 'params' => array(), 'cond' => true, 'submenu' => array())), 'hideTitle' => null, 'titleLogo' => null, 'hideMenu' => false, 'registerButton' => null, 'locales' => array('en', 'es'), 'admin_theme' => 'green', 'base_template' => null, 'localeMenu' => null, '_locale' => 'en', 'localesUrls' => array('en-es' => 'http://www.clinicaexcelan.com/en/legal/www.ghostery.com', 'es-es' => 'http://www.clinicaexcelan.com/es/legal/www.ghostery.com'), 'services' => array(object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService)), 'ratingValue' => 0, 'bestRating' => 0, 'worstRating' => 0, 'ratingCount' => 0)) in src/Controller/DefaultController.php (line 240)
  1.         $session = new Session();
  2.         $this->addData('localeMenu'$session->get(self::LOCALE_MENU));
  3.         $session->set(self::LOCALE_MENUfalse);
  4.         $this->addData('_locale'$_locale);
  5.         return $this->render('legal/' $document '.html.twig'$this->getData());
  6.     }
  7.     /**
  8.      * @Route("/{_locale}/pdf/{document}", name="pdf_legal")
  9.      */
in vendor/symfony/http-kernel/HttpKernel.php->cookiesAction (line 169)
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle(object(Request)) in public/index.php (line 38)
  1.     Request::setTrustedHosts(explode(','$trustedHosts));
  2. }
  3. $kernel = new Kernel($env$debug);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Stack Traces 2

[2/2] InvalidArgumentException

InvalidArgumentException:
Unable to find template "legal/www.ghostery.com.html.twig" (looked into: /home/clinicaexcelan23/web/clinicaexcelan.com/public_html/templates, /home/clinicaexcelan23/web/clinicaexcelan.com/public_html/templates, /home/clinicaexcelan23/web/clinicaexcelan.com/public_html/vendor/symfony/twig-bridge/Resources/views/Form).

  at vendor/symfony/twig-bridge/TwigEngine.php:137
  at Symfony\Bridge\Twig\TwigEngine->load('legal/www.ghostery.com.html.twig')
     (vendor/symfony/twig-bridge/TwigEngine.php:54)
  at Symfony\Bridge\Twig\TwigEngine->render('legal/www.ghostery.com.html.twig', array('app_name' => 'Trendix App', 'principalMenu' => array(array('id' => 'dashboard', 'label' => 'Dashboard', 'icon' => 'home', 'route' => 'admin', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => 'posts', 'label' => 'Posts', 'icon' => 'assignment-o', 'route' => null, 'params' => array(), 'cond' => true, 'submenu' => array(array('id' => '', 'label' => 'Listado', 'icon' => null, 'route' => 'post_category_index', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nueva categoría de posts', 'icon' => null, 'route' => 'post_category_new', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nuevo post', 'icon' => null, 'route' => 'post_new', 'params' => array(), 'cond' => true, 'submenu' => array()))), array('id' => 'services', 'label' => 'Servicios', 'icon' => 'play-for-work', 'route' => null, 'params' => array(), 'cond' => true, 'submenu' => array(array('id' => '', 'label' => 'Listado', 'icon' => null, 'route' => 'service_index', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nuevo', 'icon' => null, 'route' => 'service_new', 'params' => array(), 'cond' => true, 'submenu' => array()))), array('id' => 'certifications', 'label' => 'Certificationes', 'icon' => 'certificate', 'route' => null, 'params' => array(), 'cond' => true, 'submenu' => array(array('id' => '', 'label' => 'Listado', 'icon' => null, 'route' => 'certifications_index', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nuevo', 'icon' => null, 'route' => 'certifications_new', 'params' => array(), 'cond' => true, 'submenu' => array()))), array('id' => 'setting', 'label' => 'Configuración', 'icon' => 'play-for-work', 'route' => 'setting_index', 'params' => array(), 'cond' => true, 'submenu' => array())), 'hideTitle' => null, 'titleLogo' => null, 'hideMenu' => false, 'registerButton' => null, 'locales' => array('en', 'es'), 'admin_theme' => 'green', 'base_template' => null, 'localeMenu' => null, '_locale' => 'en', 'localesUrls' => array('en-es' => 'http://www.clinicaexcelan.com/en/legal/www.ghostery.com', 'es-es' => 'http://www.clinicaexcelan.com/es/legal/www.ghostery.com'), 'services' => array(object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService)), 'ratingValue' => 0, 'bestRating' => 0, 'worstRating' => 0, 'ratingCount' => 0))
     (vendor/symfony/framework-bundle/Controller/ControllerTrait.php:233)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render('legal/www.ghostery.com.html.twig', array('app_name' => 'Trendix App', 'principalMenu' => array(array('id' => 'dashboard', 'label' => 'Dashboard', 'icon' => 'home', 'route' => 'admin', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => 'posts', 'label' => 'Posts', 'icon' => 'assignment-o', 'route' => null, 'params' => array(), 'cond' => true, 'submenu' => array(array('id' => '', 'label' => 'Listado', 'icon' => null, 'route' => 'post_category_index', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nueva categoría de posts', 'icon' => null, 'route' => 'post_category_new', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nuevo post', 'icon' => null, 'route' => 'post_new', 'params' => array(), 'cond' => true, 'submenu' => array()))), array('id' => 'services', 'label' => 'Servicios', 'icon' => 'play-for-work', 'route' => null, 'params' => array(), 'cond' => true, 'submenu' => array(array('id' => '', 'label' => 'Listado', 'icon' => null, 'route' => 'service_index', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nuevo', 'icon' => null, 'route' => 'service_new', 'params' => array(), 'cond' => true, 'submenu' => array()))), array('id' => 'certifications', 'label' => 'Certificationes', 'icon' => 'certificate', 'route' => null, 'params' => array(), 'cond' => true, 'submenu' => array(array('id' => '', 'label' => 'Listado', 'icon' => null, 'route' => 'certifications_index', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nuevo', 'icon' => null, 'route' => 'certifications_new', 'params' => array(), 'cond' => true, 'submenu' => array()))), array('id' => 'setting', 'label' => 'Configuración', 'icon' => 'play-for-work', 'route' => 'setting_index', 'params' => array(), 'cond' => true, 'submenu' => array())), 'hideTitle' => null, 'titleLogo' => null, 'hideMenu' => false, 'registerButton' => null, 'locales' => array('en', 'es'), 'admin_theme' => 'green', 'base_template' => null, 'localeMenu' => null, '_locale' => 'en', 'localesUrls' => array('en-es' => 'http://www.clinicaexcelan.com/en/legal/www.ghostery.com', 'es-es' => 'http://www.clinicaexcelan.com/es/legal/www.ghostery.com'), 'services' => array(object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService)), 'ratingValue' => 0, 'bestRating' => 0, 'worstRating' => 0, 'ratingCount' => 0), null)
     (vendor/trendix/admin-bundle/Controller/BaseController.php:278)
  at Trendix\AdminBundle\Controller\BaseController->render('legal/www.ghostery.com.html.twig', array('app_name' => 'Trendix App', 'principalMenu' => array(array('id' => 'dashboard', 'label' => 'Dashboard', 'icon' => 'home', 'route' => 'admin', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => 'posts', 'label' => 'Posts', 'icon' => 'assignment-o', 'route' => null, 'params' => array(), 'cond' => true, 'submenu' => array(array('id' => '', 'label' => 'Listado', 'icon' => null, 'route' => 'post_category_index', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nueva categoría de posts', 'icon' => null, 'route' => 'post_category_new', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nuevo post', 'icon' => null, 'route' => 'post_new', 'params' => array(), 'cond' => true, 'submenu' => array()))), array('id' => 'services', 'label' => 'Servicios', 'icon' => 'play-for-work', 'route' => null, 'params' => array(), 'cond' => true, 'submenu' => array(array('id' => '', 'label' => 'Listado', 'icon' => null, 'route' => 'service_index', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nuevo', 'icon' => null, 'route' => 'service_new', 'params' => array(), 'cond' => true, 'submenu' => array()))), array('id' => 'certifications', 'label' => 'Certificationes', 'icon' => 'certificate', 'route' => null, 'params' => array(), 'cond' => true, 'submenu' => array(array('id' => '', 'label' => 'Listado', 'icon' => null, 'route' => 'certifications_index', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nuevo', 'icon' => null, 'route' => 'certifications_new', 'params' => array(), 'cond' => true, 'submenu' => array()))), array('id' => 'setting', 'label' => 'Configuración', 'icon' => 'play-for-work', 'route' => 'setting_index', 'params' => array(), 'cond' => true, 'submenu' => array())), 'hideTitle' => null, 'titleLogo' => null, 'hideMenu' => false, 'registerButton' => null, 'locales' => array('en', 'es'), 'admin_theme' => 'green', 'base_template' => null, 'localeMenu' => null, '_locale' => 'en', 'localesUrls' => array('en-es' => 'http://www.clinicaexcelan.com/en/legal/www.ghostery.com', 'es-es' => 'http://www.clinicaexcelan.com/es/legal/www.ghostery.com'), 'services' => array(object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService)), 'ratingValue' => 0, 'bestRating' => 0, 'worstRating' => 0, 'ratingCount' => 0))
     (src/Controller/DefaultController.php:240)
  at App\Controller\DefaultController->cookiesAction('en', 'www.ghostery.com')
     (vendor/symfony/http-kernel/HttpKernel.php:169)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:81)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:201)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (public/index.php:38)

[1/2] LoaderError

Twig\Error\LoaderError:
Unable to find template "legal/www.ghostery.com.html.twig" (looked into: /home/clinicaexcelan23/web/clinicaexcelan.com/public_html/templates, /home/clinicaexcelan23/web/clinicaexcelan.com/public_html/templates, /home/clinicaexcelan23/web/clinicaexcelan.com/public_html/vendor/symfony/twig-bridge/Resources/views/Form).

  at vendor/twig/twig/src/Loader/FilesystemLoader.php:250
  at Twig\Loader\FilesystemLoader->findTemplate('legal/www.ghostery.com.html.twig')
     (vendor/symfony/twig-bundle/Loader/FilesystemLoader.php:82)
  at Symfony\Bundle\TwigBundle\Loader\FilesystemLoader->findTemplate('legal/www.ghostery.com.html.twig')
     (vendor/twig/twig/src/Loader/FilesystemLoader.php:150)
  at Twig\Loader\FilesystemLoader->getCacheKey('legal/www.ghostery.com.html.twig')
     (vendor/twig/twig/src/Environment.php:299)
  at Twig\Environment->getTemplateClass('legal/www.ghostery.com.html.twig')
     (vendor/twig/twig/src/Environment.php:381)
  at Twig\Environment->loadTemplate('legal/www.ghostery.com.html.twig')
     (vendor/twig/twig/src/Environment.php:359)
  at Twig\Environment->load('legal/www.ghostery.com.html.twig')
     (vendor/symfony/twig-bridge/TwigEngine.php:135)
  at Symfony\Bridge\Twig\TwigEngine->load('legal/www.ghostery.com.html.twig')
     (vendor/symfony/twig-bridge/TwigEngine.php:54)
  at Symfony\Bridge\Twig\TwigEngine->render('legal/www.ghostery.com.html.twig', array('app_name' => 'Trendix App', 'principalMenu' => array(array('id' => 'dashboard', 'label' => 'Dashboard', 'icon' => 'home', 'route' => 'admin', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => 'posts', 'label' => 'Posts', 'icon' => 'assignment-o', 'route' => null, 'params' => array(), 'cond' => true, 'submenu' => array(array('id' => '', 'label' => 'Listado', 'icon' => null, 'route' => 'post_category_index', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nueva categoría de posts', 'icon' => null, 'route' => 'post_category_new', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nuevo post', 'icon' => null, 'route' => 'post_new', 'params' => array(), 'cond' => true, 'submenu' => array()))), array('id' => 'services', 'label' => 'Servicios', 'icon' => 'play-for-work', 'route' => null, 'params' => array(), 'cond' => true, 'submenu' => array(array('id' => '', 'label' => 'Listado', 'icon' => null, 'route' => 'service_index', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nuevo', 'icon' => null, 'route' => 'service_new', 'params' => array(), 'cond' => true, 'submenu' => array()))), array('id' => 'certifications', 'label' => 'Certificationes', 'icon' => 'certificate', 'route' => null, 'params' => array(), 'cond' => true, 'submenu' => array(array('id' => '', 'label' => 'Listado', 'icon' => null, 'route' => 'certifications_index', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nuevo', 'icon' => null, 'route' => 'certifications_new', 'params' => array(), 'cond' => true, 'submenu' => array()))), array('id' => 'setting', 'label' => 'Configuración', 'icon' => 'play-for-work', 'route' => 'setting_index', 'params' => array(), 'cond' => true, 'submenu' => array())), 'hideTitle' => null, 'titleLogo' => null, 'hideMenu' => false, 'registerButton' => null, 'locales' => array('en', 'es'), 'admin_theme' => 'green', 'base_template' => null, 'localeMenu' => null, '_locale' => 'en', 'localesUrls' => array('en-es' => 'http://www.clinicaexcelan.com/en/legal/www.ghostery.com', 'es-es' => 'http://www.clinicaexcelan.com/es/legal/www.ghostery.com'), 'services' => array(object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService)), 'ratingValue' => 0, 'bestRating' => 0, 'worstRating' => 0, 'ratingCount' => 0))
     (vendor/symfony/framework-bundle/Controller/ControllerTrait.php:233)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render('legal/www.ghostery.com.html.twig', array('app_name' => 'Trendix App', 'principalMenu' => array(array('id' => 'dashboard', 'label' => 'Dashboard', 'icon' => 'home', 'route' => 'admin', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => 'posts', 'label' => 'Posts', 'icon' => 'assignment-o', 'route' => null, 'params' => array(), 'cond' => true, 'submenu' => array(array('id' => '', 'label' => 'Listado', 'icon' => null, 'route' => 'post_category_index', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nueva categoría de posts', 'icon' => null, 'route' => 'post_category_new', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nuevo post', 'icon' => null, 'route' => 'post_new', 'params' => array(), 'cond' => true, 'submenu' => array()))), array('id' => 'services', 'label' => 'Servicios', 'icon' => 'play-for-work', 'route' => null, 'params' => array(), 'cond' => true, 'submenu' => array(array('id' => '', 'label' => 'Listado', 'icon' => null, 'route' => 'service_index', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nuevo', 'icon' => null, 'route' => 'service_new', 'params' => array(), 'cond' => true, 'submenu' => array()))), array('id' => 'certifications', 'label' => 'Certificationes', 'icon' => 'certificate', 'route' => null, 'params' => array(), 'cond' => true, 'submenu' => array(array('id' => '', 'label' => 'Listado', 'icon' => null, 'route' => 'certifications_index', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nuevo', 'icon' => null, 'route' => 'certifications_new', 'params' => array(), 'cond' => true, 'submenu' => array()))), array('id' => 'setting', 'label' => 'Configuración', 'icon' => 'play-for-work', 'route' => 'setting_index', 'params' => array(), 'cond' => true, 'submenu' => array())), 'hideTitle' => null, 'titleLogo' => null, 'hideMenu' => false, 'registerButton' => null, 'locales' => array('en', 'es'), 'admin_theme' => 'green', 'base_template' => null, 'localeMenu' => null, '_locale' => 'en', 'localesUrls' => array('en-es' => 'http://www.clinicaexcelan.com/en/legal/www.ghostery.com', 'es-es' => 'http://www.clinicaexcelan.com/es/legal/www.ghostery.com'), 'services' => array(object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService)), 'ratingValue' => 0, 'bestRating' => 0, 'worstRating' => 0, 'ratingCount' => 0), null)
     (vendor/trendix/admin-bundle/Controller/BaseController.php:278)
  at Trendix\AdminBundle\Controller\BaseController->render('legal/www.ghostery.com.html.twig', array('app_name' => 'Trendix App', 'principalMenu' => array(array('id' => 'dashboard', 'label' => 'Dashboard', 'icon' => 'home', 'route' => 'admin', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => 'posts', 'label' => 'Posts', 'icon' => 'assignment-o', 'route' => null, 'params' => array(), 'cond' => true, 'submenu' => array(array('id' => '', 'label' => 'Listado', 'icon' => null, 'route' => 'post_category_index', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nueva categoría de posts', 'icon' => null, 'route' => 'post_category_new', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nuevo post', 'icon' => null, 'route' => 'post_new', 'params' => array(), 'cond' => true, 'submenu' => array()))), array('id' => 'services', 'label' => 'Servicios', 'icon' => 'play-for-work', 'route' => null, 'params' => array(), 'cond' => true, 'submenu' => array(array('id' => '', 'label' => 'Listado', 'icon' => null, 'route' => 'service_index', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nuevo', 'icon' => null, 'route' => 'service_new', 'params' => array(), 'cond' => true, 'submenu' => array()))), array('id' => 'certifications', 'label' => 'Certificationes', 'icon' => 'certificate', 'route' => null, 'params' => array(), 'cond' => true, 'submenu' => array(array('id' => '', 'label' => 'Listado', 'icon' => null, 'route' => 'certifications_index', 'params' => array(), 'cond' => true, 'submenu' => array()), array('id' => '', 'label' => 'Nuevo', 'icon' => null, 'route' => 'certifications_new', 'params' => array(), 'cond' => true, 'submenu' => array()))), array('id' => 'setting', 'label' => 'Configuración', 'icon' => 'play-for-work', 'route' => 'setting_index', 'params' => array(), 'cond' => true, 'submenu' => array())), 'hideTitle' => null, 'titleLogo' => null, 'hideMenu' => false, 'registerButton' => null, 'locales' => array('en', 'es'), 'admin_theme' => 'green', 'base_template' => null, 'localeMenu' => null, '_locale' => 'en', 'localesUrls' => array('en-es' => 'http://www.clinicaexcelan.com/en/legal/www.ghostery.com', 'es-es' => 'http://www.clinicaexcelan.com/es/legal/www.ghostery.com'), 'services' => array(object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService), object(ClinicService)), 'ratingValue' => 0, 'bestRating' => 0, 'worstRating' => 0, 'ratingCount' => 0))
     (src/Controller/DefaultController.php:240)
  at App\Controller\DefaultController->cookiesAction('en', 'www.ghostery.com')
     (vendor/symfony/http-kernel/HttpKernel.php:169)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:81)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (vendor/symfony/http-kernel/Kernel.php:201)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (public/index.php:38)