- Issue created by @bendqh1
- Status changed to Closed: duplicate
about 1 year ago 11:15am 17 December 2023
I have setted a Context condition by role (admin) with reaction of using a theme different than the default one (Basic instead Olivero), and my problem is that it caused my website to partially crash; I as an admin get the following error in all pages:
An unexpected error occurred. Please try again later
From vendor/bin/drush watchdog:show
I got this pattern:
Twig\Error\SyntaxError: Unknown "endif" tag. in Twig\Parser->subparse() (line 37 of /home/USERNAME/WEB_APPLICATION_ROOT/example.com/web/themes/contrib/basic/templates/layout/html.html.twig)
A more broad discussion can be found here:
https://drupal.stackexchange.com/q/317934/112844
Thanks in advance for any help with this.
Closed: duplicate
3.0
Code