https://artiemv2.wamrelease.net/login

Exceptions

Unable to find template "WAMUserBundle::layout.html.twig" (looked into: /var/www/artiemv2/releases/20230613132355/vendor/knplabs/knp-menu/src/Knp/Menu/Resources/views, /var/www/artiemv2/releases/20230613132355/templates, /var/www/artiemv2/releases/20230613132355/vendor/symfony/twig-bridge/Resources/views/Form) in @WAMUser/Security/login.html.twig at line 1.

Exception

Twig\Error\ LoaderError

  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('\\''/'$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('sha256'$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/Template.php -> loadTemplate (line 333)
  1.                 }
  2.                 return $this->env->loadClass($class$template$index);
  3.             }
  4.             return $this->env->loadTemplate($template$index);
  5.         } catch (Error $e) {
  6.             if (!$e->getSourceContext()) {
  7.                 $e->setSourceContext($templateName ? new Source(''$templateName) : $this->getSourceContext());
  8.             }
in vendor/twig/twig/src/Template.php -> doDisplay (line 405)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
in vendor/twig/twig/src/Template.php -> displayWithErrorHandling (line 378)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
in vendor/twig/twig/src/Template.php -> display (line 390)
  1.             ob_start();
  2.         } else {
  3.             ob_start(function () { return ''; });
  4.         }
  5.         try {
  6.             $this->display($context);
  7.         } catch (\Throwable $e) {
  8.             while (ob_get_level() > $level) {
  9.                 ob_end_clean();
  10.             }
  1.      */
  2.     public function render(array $context = []): string
  3.     {
  4.         // using func_get_args() allows to not expose the blocks argument
  5.         // as it should only be used by internal code
  6.         return $this->template->render($context, \func_get_args()[1] ?? []);
  7.     }
  8.     /**
  9.      * Displays the template.
  10.      *
  1.      * @throws SyntaxError  When an error occurred during compilation
  2.      * @throws RuntimeError When an error occurred during rendering
  3.      */
  4.     public function render($name, array $context = [])
  5.     {
  6.         return $this->load($name)->render($context);
  7.     }
  8.     /**
  9.      * Displays a template.
  10.      *
  1.         if (is_null($this->twig)) {
  2.             throw new \LogicException('Twig is not initialized yet. Did you forget to add '.
  3.                 RendererAwareInterface::class.' with autoconfigure or a setTwig method call?');
  4.         }
  5.         return $this->twig->render($template$context);
  6.     }
  7.     public function setTwig(Environment $twig): void
  8.     {
  9.         $this->twig $twig;
  1.     }
  2.     public function render(string $template, array $context = []): Response
  3.     {
  4.         return new Response(
  5.             $this->renderTemplate($template$context)
  6.         );
  7.     }
  8. }
  1.         $this->formType $formType;
  2.     }
  3.     public function __invoke()
  4.     {
  5.         return $this->render('@WAMUser/Security/login.html.twig');
  6.     }
  7.     public function form()
  8.     {
  9.         $form $this->createForm($this->formType, [
  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.     public function handle(Request $request$type HttpKernelInterface::MASTER_REQUEST$catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  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 26)
  1.     Request::setTrustedHosts([$trustedHosts]);
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'], $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Logs

Level Channel Message
INFO 20:53:24 php User Deprecated: The "Symfony\Component\Debug\DebugClassLoader" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\DebugClassLoader" instead.
{
    "exception": {}
}
INFO 20:53:24 php User Deprecated: The Symfony\Bundle\TwigBundle\Loader\FilesystemLoader class is deprecated since version 4.3 and will be removed in 5.0; use Twig notation for templates instead.
{
    "exception": {}
}
INFO 20:53:24 php User Deprecated: The Sonata\FormatterBundle\Formatter\FormatterInterface interface is deprecated since sonata-project/formatter-bundle 4.2, to be removed in 5.0. Use Formatter or ExtendableFormatter instead.
{
    "exception": {}
}
INFO 20:53:24 php User Deprecated: Creating Doctrine\ORM\Mapping\UnderscoreNamingStrategy without making it number aware is deprecated and will be removed in Doctrine ORM 3.0.
{
    "exception": {}
}
DEBUG 20:53:24 doctrine SELECT w0_.host AS host_0, w0_.schemes AS schemes_1, w0_.methods AS methods_2, w0_.defaults AS defaults_3, w0_.requirements AS requirements_4, w0_.options AS options_5, w0_.condition_expr AS condition_expr_6, w0_.variable_pattern AS variable_pattern_7, w0_.staticPrefix AS staticPrefix_8, w0_.id AS id_9, w0_.name AS name_10, w0_.position AS position_11, w0_.canonical_name AS canonical_name_12, w0_.tag AS tag_13, w0_.sitemapeable AS sitemapeable_14, w0_.type AS type_15, w0_.seo_meta_data AS seo_meta_data_16, w0_.content_class AS content_class_17, w0_.content_id AS content_id_18, w0_.redirect_target AS redirect_target_19, w0_.autoRoute AS autoRoute_20 FROM wam_routing_route w0_ WHERE (w0_.staticPrefix = ? AND w0_.type = ?) AND w0_.autoRoute IN ('0', '1')
[
    "/_profiler/134f88?panel=ex [...]",
    "cmf_routing_auto.redirect"
]
INFO 20:53:24 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "134f88"
    },
    "request_uri": "https://artiemv2.wamrelease.net/_profiler/134f88?panel=exception",
    "method": "GET"
}
INFO 20:53:24 php User Deprecated: The "templating.locator" service is deprecated since Symfony 4.3 and will be removed in 5.0.
{
    "exception": {}
}
INFO 20:53:24 php User Deprecated: The Symfony\Bundle\FrameworkBundle\Templating\Loader\TemplateLocator class is deprecated since version 4.3 and will be removed in 5.0; use Twig instead.
{
    "exception": {}
}
INFO 20:53:24 php User Deprecated: The "templating.name_parser" service is deprecated since Symfony 4.3 and will be removed in 5.0.
{
    "exception": {}
}
INFO 20:53:24 php User Deprecated: The Symfony\Bundle\FrameworkBundle\Templating\TemplateNameParser class is deprecated since version 4.3 and will be removed in 5.0; use Twig instead.
{
    "exception": {}
}
INFO 20:53:24 request Matched route "_profiler_exception_css".
{
    "route": "_profiler_exception_css",
    "route_parameters": {
        "_route": "_profiler_exception_css",
        "_controller": "web_profiler.controller.exception_panel::stylesheet",
        "token": "134f88"
    },
    "request_uri": "https://artiemv2.wamrelease.net/_profiler/134f88/exception.css",
    "method": "GET"
}
INFO 20:53:24 request Matched route "_profiler_search_bar".
{
    "route": "_profiler_search_bar",
    "route_parameters": {
        "_route": "_profiler_search_bar",
        "_controller": "web_profiler.controller.profiler::searchBarAction"
    },
    "request_uri": "https://artiemv2.wamrelease.net/_profiler/search_bar?panel=exception",
    "method": "GET"
}
INFO 20:53:24 request Matched route "_profiler_exception".
{
    "route": "_profiler_exception",
    "route_parameters": {
        "_route": "_profiler_exception",
        "_controller": "web_profiler.controller.exception_panel::body",
        "token": "134f88"
    },
    "request_uri": "https://artiemv2.wamrelease.net/_profiler/134f88/exception",
    "method": "GET"
}

Stack Trace

LoaderError

Twig\Error\LoaderError:
Unable to find template "WAMUserBundle::layout.html.twig" (looked into: /var/www/artiemv2/releases/20230613132355/vendor/knplabs/knp-menu/src/Knp/Menu/Resources/views, /var/www/artiemv2/releases/20230613132355/templates, /var/www/artiemv2/releases/20230613132355/vendor/symfony/twig-bridge/Resources/views/Form) in "@WAMUser/Security/login.html.twig" at line 1.

  at vendor/twig/twig/src/Loader/FilesystemLoader.php:250
  at Twig\Loader\FilesystemLoader->findTemplate('WAMUserBundle::layout.html.twig')
     (vendor/symfony/twig-bundle/Loader/FilesystemLoader.php:82)
  at Symfony\Bundle\TwigBundle\Loader\FilesystemLoader->findTemplate('WAMUserBundle::layout.html.twig')
     (vendor/twig/twig/src/Loader/FilesystemLoader.php:150)
  at Twig\Loader\FilesystemLoader->getCacheKey('WAMUserBundle::layout.html.twig')
     (vendor/twig/twig/src/Environment.php:299)
  at Twig\Environment->getTemplateClass('WAMUserBundle::layout.html.twig')
     (vendor/twig/twig/src/Environment.php:381)
  at Twig\Environment->loadTemplate('WAMUserBundle::layout.html.twig', null)
     (vendor/twig/twig/src/Template.php:333)
  at Twig\Template->loadTemplate('WAMUserBundle::layout.html.twig', '@WAMUser/Security/login.html.twig', 1)
     (vendor/twig/twig/src/Environment.php(418) : eval()'d code:47)
  at __TwigTemplate_5601d28d23f34061daa145f9ab224e4b7ae39d2bd42903fe6643bb9330c7ede6->doDisplay(array('wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'locales' => 'es', 'domain' => 'skeleton-sf4.local', 'disabled_locales' => array(), 'hubspot_project_id' => null, 'blog_locales' => array('es' => 'es', 'en' => 'en'), 'blog_enabled_locales' => array('es', 'en'), 'sonata_block' => object(GlobalVariables), 'sonata_config' => object(SonataConfiguration), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('es', 'en', 'de', 'fr'), 'privacy_menu_zone' => 'FORM_PRIVACY'), array('form' => array(object(__TwigTemplate_5601d28d23f34061daa145f9ab224e4b7ae39d2bd42903fe6643bb9330c7ede6), 'block_form')))
     (vendor/twig/twig/src/Template.php:405)
  at Twig\Template->displayWithErrorHandling(array('wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'locales' => 'es', 'domain' => 'skeleton-sf4.local', 'disabled_locales' => array(), 'hubspot_project_id' => null, 'blog_locales' => array('es' => 'es', 'en' => 'en'), 'blog_enabled_locales' => array('es', 'en'), 'sonata_block' => object(GlobalVariables), 'sonata_config' => object(SonataConfiguration), 'sonata_admin' => object(GlobalVariables), 'sonata_translation_locales' => array('es', 'en', 'de', 'fr'), 'privacy_menu_zone' => 'FORM_PRIVACY'), array('form' => array(object(__TwigTemplate_5601d28d23f34061daa145f9ab224e4b7ae39d2bd42903fe6643bb9330c7ede6), 'block_form')))
     (vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display(array())
     (vendor/twig/twig/src/Template.php:390)
  at Twig\Template->render(array(), array())
     (vendor/twig/twig/src/TemplateWrapper.php:45)
  at Twig\TemplateWrapper->render(array())
     (vendor/twig/twig/src/Environment.php:318)
  at Twig\Environment->render('@WAMUser/Security/login.html.twig', array())
     (vendor/wearemarketing/corebundle/Util/Traits/RendererTrait.php:22)
  at WAM\Bundle\UserBundle\Controller\User\LoginController->render('@WAMUser/Security/login.html.twig', array())
     (vendor/wearemarketing/corebundle/Controller/Traits/RendererControllerTrait.php:20)
  at WAM\Bundle\UserBundle\Controller\User\LoginController->render('@WAMUser/Security/login.html.twig')
     (vendor/wearemarketing/userbundle/Controller/User/LoginController.php:30)
  at WAM\Bundle\UserBundle\Controller\User\LoginController->__invoke()
     (vendor/symfony/http-kernel/HttpKernel.php:158)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (vendor/symfony/http-kernel/HttpKernel.php:80)
  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:26)