Closed davidwebca closed 6 months ago
This is probably due to our efforts to tighten what kind of Twig is allowed in dynamic fields, as there's security implications to allowing any Twig to be included in there. Looks like we forgot about the t
filter!
This will be fixed upstream at our verbb-base helper, so will tag a new Formie release shortly. Otherwise, to get this early, run composer require verbb/base:2.0.5
.
Fixed in 2.1.7
Describe the bug
Hi!
I've lately updated a website with Craft 4's latest version and Formie's latest compatible version too. Somehow, I've lost the ability to translate both the subject of e-mail notifications (queue job fails) and e-mail contents (queue job also fails). I get the following error:
Error parsing template: “{{ 'Thanks for contacting us!'|t('formie') }}”: “Unknown "t" filter. Did you mean "date", "trim", "sort", "last", "title", "split", "batch", "first", "format", "filter", "length", "default", "striptags", "capitalize", "date_modify", "number_format", "convert_encoding"
Steps to reproduce
Form settings
Craft CMS version
4.8.2
Plugin version
2.1.6
Multi-site?
Yes
Additional context
Here's the list of plugins installed currently