in Issues/Bugs by wojzo (120 points)

Hello

I created a template on OpenCart 3.0.3.9
Once installed shows an error

( ! ) Fatal error: Uncaught Twig\Error\SyntaxError: Unexpected token "name" of value "if" ("end of statement block" expected) in "wojzo/template/common/footer.twig" at line 6. in D:\wamp64\storage\vendor\twig\twig\src\TokenStream.php on line 76

( ! ) Twig\Error\SyntaxError: Unexpected token "name" of value "if" ("end of statement block" expected) in "wojzo/template/common/footer.twig" at line 6. in D:\wamp64\storage\vendor\twig\twig\src\TokenStream.php on line 76

footer.twig line 6 is

{% for key, value in  attribute(_context, 'footer_pos_above' ~ i) if not key % 2 %}

Does anyone know how to solve this?

========================================================================

1 Answer

by lisa-west (35.1k points)
Please open a support ticket at templatetoaster.com/support, our support team will guide you accordingly.
by wojzo (120 points)
Thank you, I sent it
Interested in localizing/Translating TemplateToaster Software in your native language in exchange of a Pro License ? Contact Us
...