Exceptions
Exception
Twig\Error\ LoaderError
in
vendor/twig/twig/src/Loader/FilesystemLoader.php
(line 250)
in
vendor/symfony/twig-bundle/Loader/FilesystemLoader.php
->
findTemplate
(line 82)
in
vendor/twig/twig/src/Loader/FilesystemLoader.php
->
findTemplate
(line 150)
in
vendor/twig/twig/src/Environment.php
->
getCacheKey
(line 299)
in
vendor/twig/twig/src/Environment.php
->
getTemplateClass
(line 381)
in
vendor/twig/twig/src/Template.php
->
loadTemplate
(line 333)
in
vendor/twig/twig/src/Environment.php(418) : eval()'d code
->
loadTemplate
(line 47)
in
vendor/twig/twig/src/Template.php
->
doDisplay
(line 405)
in
vendor/twig/twig/src/Template.php
->
displayWithErrorHandling
(line 378)
in
vendor/twig/twig/src/Template.php
->
display
(line 390)
in
vendor/twig/twig/src/TemplateWrapper.php
->
render
(line 45)
in
vendor/twig/twig/src/Environment.php
->
render
(line 318)
in
vendor/wearemarketing/corebundle/Util/Traits/RendererTrait.php
->
render
(line 22)
if (is_null($this->twig)) {
throw new \LogicException('Twig is not initialized yet. Did you forget to add '.
RendererAwareInterface::class.' with autoconfigure or a setTwig method call?');
}
return $this->twig->render($template, $context);
}
public function setTwig(Environment $twig): void
{
$this->twig = $twig;
in
vendor/wearemarketing/corebundle/Controller/Traits/RendererControllerTrait.php
->
render
(line 20)
in
vendor/wearemarketing/userbundle/Controller/User/LoginController.php
->
render
(line 30)
in
vendor/symfony/http-kernel/HttpKernel.php
->
__invoke
(line 158)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 80)
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) {
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 201)
Logs
Level | Channel | Message |
---|---|---|
INFO 16:43:30 | php |
User Deprecated: The "Symfony\Component\Debug\DebugClassLoader" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\DebugClassLoader" instead. { "exception": {} } |
INFO 16:43:30 | 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 16:43:30 | 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 16:43:30 | 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 16:43:30 | 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/latest?ip=18.19 [...]", "cmf_routing_auto.redirect" ] |
INFO 16:43:30 | request |
Matched route "_profiler". { "route": "_profiler", "route_parameters": { "_route": "_profiler", "_controller": "web_profiler.controller.profiler::panelAction", "token": "latest" }, "request_uri": "https://artiemv2.wamrelease.net/_profiler/latest?ip=18.191.132.26", "method": "GET" } |
INFO 16:43:30 | php |
User Deprecated: The "templating.locator" service is deprecated since Symfony 4.3 and will be removed in 5.0. { "exception": {} } |
INFO 16:43:30 | 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 16:43:30 | php |
User Deprecated: The "templating.name_parser" service is deprecated since Symfony 4.3 and will be removed in 5.0. { "exception": {} } |
INFO 16:43:30 | 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 16:43:30 | request |
Matched route "_profiler_exception_css". { "route": "_profiler_exception_css", "route_parameters": { "_route": "_profiler_exception_css", "_controller": "web_profiler.controller.exception_panel::stylesheet", "token": "b3f8aa" }, "request_uri": "https://artiemv2.wamrelease.net/_profiler/b3f8aa/exception.css", "method": "GET" } |
INFO 16:43:30 | 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?ip=18.191.132.26", "method": "GET" } |
INFO 16:43:30 | request |
Matched route "_profiler_exception". { "route": "_profiler_exception", "route_parameters": { "_route": "_profiler_exception", "_controller": "web_profiler.controller.exception_panel::body", "token": "b3f8aa" }, "request_uri": "https://artiemv2.wamrelease.net/_profiler/b3f8aa/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) |