Uncaught PHP Exception Twig\Error\SyntaxError: "Unexpected character "&"

Created on 17 August 2025, about 2 months ago

Problem/Motivation

After file upload WSOD and empty response.
Uncaught PHP Exception Twig\Error\SyntaxError: "Unclosed comment in "__string_template__52f1201eb491a1375cf43bf30c7d6081" at line 1." at vendor/twig/twig/src/Lexer.php line 486
Uncaught PHP Exception Twig\Error\SyntaxError: "Unexpected character "&" in "__string_template__b63e27944893063f3ccd0c71f08382cc" at line 39." at vendor/twig/twig/src/Lexer.php line 398

Steps to reproduce

It's randomly available, but to mimic this issue your generated fiu-id should have special characters like '&' or % etc...

Proposed resolution

patch attached.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇦🇲Armenia gfarishyan

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

Comments & Activities

Production build 0.71.5 2024