We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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
The text was updated successfully, but these errors were encountered:
The workaround is to not put the provider inside an array like. So {% highlight 'php' 'geshi' %} works
Sorry, something went wrong.
No branches or pull requests
When using a provider, Symfony 2.2 crashes
outputs this:
The error is:
Impossible to access a key ("geshi") on a "string" variable in ...twig
The text was updated successfully, but these errors were encountered: