spacelss Twig tag no longer exists

Created on 8 November 2022, about 2 years ago
Updated 31 January 2023, almost 2 years ago

Problem/Motivation

I am working on a site using the following set up...

Drupal Version: 10.0.0-beta2
Web Server: Apache/2.4.33 (Win64) OpenSSL/1.0.2u mod_fcgid/2.3.9
Database: MySQL  5.7.24
PHP: 8.1.0
Front end theme  - a custom subtheme Bootstrap5 (2.02)

I am attempting to install Seeds Toolbar admin as my backend theme but I hit a WSOD with...

Uncaught PHP Exception Twig\Error\SyntaxError: "Unexpected "spaceless" tag (expecting closing tag for the "for" tag defined near line 31)." at ...
\web\modules\contrib\seeds_toolbar\templates\seeds-toolbar.html.twig line 35

I think that the Twig template needs updating to work with the Twig shipped with Drupal 10

This may help:

https://www.drupal.org/project/drupal/issues/3094850 📌 Remove usage of spaceless tag in Twig templates Closed: outdated

Hope that's useful.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Miscellaneous

Created by

🇬🇧United Kingdom SirClickALot Somerset

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024