You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to implement this in Symfony 2.8 on PHP 7.0 and running against following error:
[Symfony\Component\Debug\Exception\FatalErrorException]
Error: Class Cocur\Slugify\Bridge\Twig\SlugifyExtension contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Twig_ExtensionInterface::getName)
If I manually add the getName() function to the class, it doesn't throw the error.
The text was updated successfully, but these errors were encountered:
Requirement for version 1 of twig was updated from 1.12 to 1.26 in order to support twig 2.
Make sure your project requires "twig/twig": "~1.26"
See PR #162 and twig PR 2148
I'm trying to implement this in Symfony 2.8 on PHP 7.0 and running against following error:
[Symfony\Component\Debug\Exception\FatalErrorException]
Error: Class Cocur\Slugify\Bridge\Twig\SlugifyExtension contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Twig_ExtensionInterface::getName)
If I manually add the getName() function to the class, it doesn't throw the error.
The text was updated successfully, but these errors were encountered: