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

Call to undefined function twig_lower_filter() #4999

Closed
mattab opened this issue Apr 16, 2014 · 2 comments
Closed

Call to undefined function twig_lower_filter() #4999

mattab opened this issue Apr 16, 2014 · 2 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Apr 16, 2014

This error is due to logic in twig at: https://github.com/fabpot/Twig/blob/master/lib/Twig/Extension/Core.php#L1187

The |lower filter is only added to twig if the PHP mbstring extension is enabled.

mbstring is a non-default extension. This means it is not enabled by default. You must explicitly enable the module with the configure option.
http://www.php.net/manual/en/mbstring.installation.php

The fix for this bug is to enable mbstring.

@mattab
Copy link
Member Author

mattab commented Apr 17, 2014

In 7b739c2: Fixes #4999 Add mbstring to the list of "required extension" in the system check

@mattab mattab added this to the 2.x - The Great Piwik 2.x Backlog milestone Jul 8, 2014
@mattab mattab self-assigned this Jul 8, 2014
@tsteur tsteur mentioned this issue Sep 2, 2015
11 tasks
@karussell
Copy link

I got the same error after upgrading from ubuntu 14.4 to 16.4 and php5 to php7 and just as a reference for others can be easily fixed via:

sudo apt-get install php7.0-mbstring

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants