-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
When using a provider, Symfony 2.2 crashes
{% highlight 'php' ['geshi'] %}
test
{% endhighlight %}
outputs this:
ob_start(); // line 41
echo " test
";
$context['source_321381366344038'] = new Twig_Markup(ob_get_clean(), $this->env->getCharset());
$context['language_321381366344038'] = $this->getAttribute("php", "geshi", array(), "array"); // CRASHES HERE
$context['provider_321381366344038'] = null;
The error is:
Impossible to access a key ("geshi") on a "string" variable in ...twig
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels