Context module and Basic template integration problem.

Created on 16 December 2023, 7 months ago
Updated 17 December 2023, 7 months ago

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.

πŸ› Bug report
Status

Closed: duplicate

Version

3.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024