Twig\Error\SyntaxError: A hash value must be followed by a comma. Unexpected token "name" of value "status_headings" ("punctuation" expected with value ","). in Twig\TokenStream->expect() line 31

Created on 10 August 2024, 3 months ago
Updated 25 August 2024, 3 months ago

After creating a subtheme on D11 get this error:

<code>Twig\Error\SyntaxError: A hash value must be followed by a comma. Unexpected token "name" of value "status_headings" ("punctuation" expected with value ","). in Twig\TokenStream->expect() (line 31 /web/themes/contrib/bootstrap_barrio/templates/misc/status-messages--alerts.html.twig).

Proposed solution in /web/themes/contrib/bootstrap_barrio/templates/misc/status-messages--alerts.html.twig add commas:

{{ include('bootstrap_barrio:alert',
  { message_list: message_list,
    status_headings: status_headings,
    attributes: attributes,
  })
}}
🐛 Bug report
Status

Fixed

Version

5.5

Component

Code

Created by

🇷🇺Russia kazah

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

Comments & Activities

Production build 0.71.5 2024