Error after Update to 1.11.1: Undefined index: topMenu in tmp/templates_c/%%25^25A^25A8A371%%top_bar_top_menu.tpl.php on line 6

After an update to Piwik 1.11.1 I get an error in Setting -> Language


There is an error. Please report the message (Piwik 1.11.1) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).

Notice: Undefined index: topMenu in /usr/DEFAULT/htdocs/tmp/templates_c/%%25^25A^25A8A371%%top_bar_top_menu.tpl.php on line 6

Backtrace -->

#0 Piwik_ErrorHandler(...) called at [/usr/DEFAULT/htdocs/tmp/templates_c/%%25^25A^25A8A371%%top_bar_top_menu.tpl.php:6]
#1 include(...) called at [/usr/DEFAULT/htdocs/libs/Smarty/Smarty.class.php:1869]
#2 Smarty->_smarty_include(...) called at [/usr/DEFAULT/htdocs/tmp/templates_c/%%A5^A51^A51D6D8B%%top_bar.tpl.php:8]
#3 include(...) called at [/usr/DEFAULT/htdocs/libs/Smarty/Smarty.class.php:1869]
#4 Smarty->_smarty_include(...) called at [/usr/DEFAULT/htdocs/tmp/templates_c/%%38^383^383EA889%%header.tpl.php:49]
#5 include(...) called at [/usr/DEFAULT/htdocs/libs/Smarty/Smarty.class.php:1869]
#6 Smarty->_smarty_include(...) called at [/usr/DEFAULT/htdocs/tmp/templates_c/%%07^077^07747836%%languages.tpl.php:8]
#7 include(...) called at [/usr/DEFAULT/htdocs/libs/Smarty/Smarty.class.php:1263]
#8 Smarty->fetch(...) called at [/usr/DEFAULT/htdocs/core/View.php:127]
#9 Piwik_View->render(...) called at [/usr/DEFAULT/htdocs/plugins/TranslationsAdmin/Controller.php:377]
#10 Piwik_TranslationsAdmin_Controller->languages(...) called at [:]
#11 call_user_func_array(...) called at [/usr/DEFAULT/htdocs/core/FrontController.php:136]

The TranslationsAdmin plugins isn’t part of the standard Piwik distribution.

You might want to update: Plugin: Translate Piwik in your own language with this easy to use plugin · Issue #5591 · matomo-org/matomo · GitHub or if you want to help translate Piwik register at http://translations.piwik.org

This could also be cache related so clean tmp/assets and tmp/template_c

Thanks Fabian!
Error still appears. I’ve decided to deactivate this plugin temporary.

This is the right thing to do, to disable this plugin completely!

please help, how to disable plugin translation

Go to settings and and click on Plugins > Installed. You can deactivate the plugin there.

Hi,
we had the same problem with the ldaplogin module, the solution was to add the line $this->setGeneralVariablesView($view);
into the Controller.php file:

    function admin($ajaxSuccess = null, $ajaxError = null)
    {
            $view = Piwik_View::factory('LoginLdap');
            $this->setGeneralVariablesView($view);

Thank you very much, the code solved the problem.