-
Hello, I am currently collaborating with a colleague on the development of a project, and we have run into a problem with the compilation of Twig templates. The specific issue we are facing is related to an "Unexpected character" error during the compilation process. The error message states: "Unexpected character '$' in "__string_template__606cb734c9c6c020d558f57e2523cf80" at line 1."
We have reviewed the Twig template for any syntax errors or incorrect usage, but couldn't identify any obvious mistakes. It's just a one line. Thank you for your attention to this matter. We greatly appreciate your expertise and prompt assistance in resolving this issue. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
There is no "$" for variables in twig, just use |
Beta Was this translation helpful? Give feedback.
-
@mjauvin , oh my! |
Beta Was this translation helpful? Give feedback.
There is no "$" for variables in twig, just use
{{ message }}