Call to undefined method Twig_TokenStream::nextIf in core/View/RenderTokenParser.php line 43 #4669

anonymous-piwik-user opened this Issue Feb 11, 2014 · 2 comments

2 participants


I get this error from Master 95c5a97 (2.0.4-B12) when I visit the Dashboard using the Dashboard link in the top-nav menu. Multisite module still works fine.

A fatal error occurred
The following error just broke Piwik (v2.0.4-b12):
Call to undefined method Twig_TokenStream::nextIf()
/opt/piwik/core/View/RenderTokenParser.php line 43
If this error continues to happen, there is a good chance to fix this issue by disabling one or more of the Third-Party plugins. You can enable them again in the Plugins or Themes page under settings at any time.

We appreciate if you send the error report to the Piwik team

My Dashboard links to:


My System is :

  • Linux neon 3.12.6-x86_64
  • PHP 5.4.13--pl0-gentoo
  • lighttpd/1.4.32 (ssl)
  • mysql Ver 14.14 Distrib 5.1.70

Also on


Piwik Open Source Analytics member

In 1371f63: Fixes #4669 do not use newer nextIf method in rendertokenparser.

@anonymous-piwik-user anonymous-piwik-user added this to the 2.1 - Piwik 2.1 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment