org.jtwig.exception.ParseException

Wrong if syntax Explanation: Input position (line 1, pos 7): {% if recipient.attr != "" %}{{ recipient.attr }}{% else %}no or empty attribute{% endif %} ^

Samebug tips0

There are no available Samebug tips.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via GitHub by stefanmeissner
    ,
  • via GitHub by thomas-p-wilson
    ,
  • Stack trace

    • org.jtwig.exception.ParseException: Wrong if syntax Explanation: Input position (line 1, pos 7): {% if recipient.attr != "" %}{{ recipient.attr }}{% else %}no or empty attribute{% endif %} ^ at org.jtwig.extension.core.tokenparsers.IfStatementParser$$parboiled.rule(Unknown Source) at org.jtwig.parser.parboiled.JtwigContentParser$$parboiled.tokenParsers(Unknown Source) at org.jtwig.parser.parboiled.JtwigContentParser$$parboiled.content(Unknown Source) at org.jtwig.parser.parboiled.JtwigContentParser$$parboiled.start(Unknown Source) at org.jtwig.Environment.parse(Environment.java:93)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    No Bugmate found.