Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Truncate Filter #299

Closed
bassrock opened this issue Mar 23, 2016 · 2 comments
Closed

Truncate Filter #299

bassrock opened this issue Mar 23, 2016 · 2 comments

Comments

@bassrock
Copy link

I am constantly getting this error when I clear cache or warmup the cache.

[assetic] The template "JMSTranslationBundle:Translate:messages.html.twig" contains an error: Unknown "truncate" filter. Did you mean "easyadmin_truncate" in "JMSTranslationBundle:Translate:messages.html.twig" at line 14?

Is there a known solution for this. I am on Simony 2.8.3 and the latest Twig.

@Nyholm
Copy link
Collaborator

Nyholm commented Mar 23, 2016

You get this error because you have not enabled twigs text extension. http://twig.sensiolabs.org/doc/extensions/text.html

We should see if there is a workaround so we do not have to use the truncate filter.

@benjamin-hubert
Copy link
Collaborator

I've just submitted #313 which is a proposition to get rid of the twig extension

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants