Hi,
That code is wrong and I’m not sure why there’s extra stuff inside of it. I checked both Timber and our Gantry 5 framework and this is what the code looks like inside our stuff :
function twig_join_filter($value, $glue = '')
{
if ($value instanceof Traversable) {
$value = iterator_to_array($value, false);
}
return implode($glue, (array) $value);
}
and on your site you can see wrong syntax and extra things like $env, $thing :
function twig_join_filter($value, $glue = '') $env, $thing)
This can be a bad data that happened during interrupted update etc. Please delete and re-download Gantry once again.
Thanks!
So as you can see
If I delete and re-download Gantry plugin once again, will the theme changes get affected?
All changes and configurations are stored inside of theme. If you re-download plugin you should be just fine. As always we recommend to make a backup – just in case 😉
Thanks!! It worked! 😀 Now back to my initial issue. Yesterday I found that layouts get stretched(full width), many of changes lost and If I do any changes on layouts, styles etc from back end it is not reflecting on front end. Any help appreciated.
Great! Can you please post this issue in Gantry 5 plugin forum ? We don’t want to clutter the Timber support forums 😉