Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TwigBridge][Transchoice] set %count% from the current context.
- Loading branch information
Showing
2 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I had fatal error after this code changed:
{code}
ContextErrorException: Catchable Fatal Error: Argument 1 passed to Twig_Node_Expression_Array::addElement() must be an instance of Twig_Node_Expression, null given, called in /Users/LafaNetwork/projects/et/vendor/symfony/symfony/src/Symfony/Bridge/Twig/Node/TransNode.php on line 102 and defined in /Users/LafaNetwork/projects/et/vendor/twig/twig/lib/Twig/Node/Expression/Array.php line 54
{code}
and when I returned old code, it was worked again