Skip to content

Upgrade Twig to 1.13.1#91

Open
itskingori wants to merge 4 commits intokolber:masterfrom
itskingori:master
Open

Upgrade Twig to 1.13.1#91
itskingori wants to merge 4 commits intokolber:masterfrom
itskingori:master

Conversation

@itskingori
Copy link
Copy Markdown
Contributor

- Not sure if this is recommended though, I just know it gets rid of
the error
- Occurs if one has something like this {% set page = get('/pages') %}
@mjau-mjau
Copy link
Copy Markdown

Did you manage to upgrade twig? I am missing several functionality from newer TWIG

@itskingori
Copy link
Copy Markdown
Contributor Author

@suncat100 Yes I was and have been using it on my site without any hiccups. Have a look at my fork which has the changes (I did send a pull request hence this thread). The commits are listed above.

This was in response to an issue filed (#77) but I guess @kolber hasn't had the chance to have a look at it yet.

The only thing that I'd caution you against is a bunch of lines I commented out because they caused a "Attribute callable does not exist for Node" error ... I can't explain why this gets rid of the error since I don't have the context of Stacey's inner workings.

Please note that I submitted this about 3 months ago and haven't updated my fork with the upstream and I can see he has submitted more commits since then.

@mjau-mjau
Copy link
Copy Markdown

@itsmrwave nice1 I will look into it ...

@o-l-e
Copy link
Copy Markdown

o-l-e commented Dec 12, 2014

Hey @kolber hope you are all good!

Would it be possible to merge this pull, if it looks ok?
We are a gang trying to get the Stacey snippets page going, and some of the snippets require some of the filters in a later version of Twig :)

Sorry for nagging at you.

Discussion going on here: #97
Snippets (join in people) here: https://github.com/kolber/Stacey-Snippets

o-l-e pushed a commit to o-l-e/stacey that referenced this pull request Feb 19, 2015
- From this pull kolber#91
+ Specified variables for search in app/cache.inc.php on line 71/72
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

Successfully merging this pull request may close these issues.

3 participants