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

Twig issue - Catchable fatal error: Argument 1 passed to Twig_Filter #40

Closed
hermans opened this issue Oct 16, 2017 · 1 comment
Closed

Comments

@hermans
Copy link

hermans commented Oct 16, 2017

Hi,
I use php 5.6 and get error in Twig when try to render page.

Catchable fatal error: Argument 1 passed to Twig_Filter::__construct() must be an instance of string, string given, called in system/vendor/twig/twig/lib/Twig/Extension/Core.php on line 139 and defined in system/vendor/twig/twig/lib/Twig/Filter.php on line 35

@hermans
Copy link
Author

hermans commented Oct 16, 2017

I managed to fix it myself and need to use "slim / twig-view": "^ 1.0"

@hermans hermans closed this as completed Oct 16, 2017
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

1 participant