Skip to content

Call to undefined function twig_lower_filter() #4999

@mattab

Description

@mattab

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.

Metadata

Metadata

Assignees

Labels

BugFor errors / faults / flaws / inconsistencies etc.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions