Piwik Error after 2.1 Upgrade


#1

I just upgraded from the previous version of PIWIK to the latest version. I am now getting the following error message:


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

Notice: Undefined index: ConfirmGrantSuperUserAccess in /home/pkstatinstall/core/Translate.php on line 158

Backtrace -->

#0 Piwik\Error::errorHandler(...) called at [/home/pkstatinstall/core/Translate.php:158]
#1 Piwik\Translate::getJavascriptTranslations(...) called at [/home/pkstatinstall/core/AssetManager.php:119]
#2 Piwik\AssetManager->getJsInclusionDirective(...) called at [/home/pkstatinstall/core/Twig.php:108]
#3 Piwik\{closure}(...) called at [:]
#4 call_user_func_array(...) called at [/home/pkstatinstall/tmp/templates_c/5d/05/f2b521172c7aa0443b0b849274c66b982e0ddcf64842956f238cdabba233.php:24]
#5 __TwigTemplate_5d05f2b521172c7aa0443b0b849274c66b982e0ddcf64842956f238cdabba233->doDisplay(...) called at [/home/pkstatinstall/vendor/twig/twig/lib/Twig/Template.php:276]
#6 Twig_Template->displayWithErrorHandling(...) called at [/home/pkstatinstall/vendor/twig/twig/lib/Twig/Template.php:250]
#7 Twig_Template->display(...) called at [/home/pkstatinstall/tmp/templates_c/dd/6f/0f4556eb9cd2af49b6efd247fd7e29b02859498ca1fd4a2acdc6277ae0b5.php:129]
#8 __TwigTemplate_dd6f0f4556eb9cd2af49b6efd247fd7e29b02859498ca1fd4a2acdc6277ae0b5->block_head(...) called at [/home/pkstatinstall/vendor/twig/twig/lib/Twig/Template.php:142]
#9 Twig_Template->displayBlock(...) called at [/home/pkstatinstall/tmp/templates_c/dd/6f/0f4556eb9cd2af49b6efd247fd7e29b02859498ca1fd4a2acdc6277ae0b5.php:29]
#10 __TwigTemplate_dd6f0f4556eb9cd2af49b6efd247fd7e29b02859498ca1fd4a2acdc6277ae0b5->doDisplay(...) called at [/home/pkstatinstall/vendor/twig/twig/lib/Twig/Template.php:276]
#11 Twig_Template->displayWithErrorHandling(...) called at [/home/pkstatinstall/vendor/twig/twig/lib/Twig/Template.php:250]
#12 Twig_Template->display(...) called at [/home/pkstatinstall/tmp/templates_c/43/61/6b18e745b1d5c66043b783f3d9eed8a19794cc64ca3168b0e3e952e87162.php:24]
#13 __TwigTemplate_43616b18e745b1d5c66043b783f3d9eed8a19794cc64ca3168b0e3e952e87162->doDisplay(...) called at [/home/pkstatinstall/vendor/twig/twig/lib/Twig/Template.php:276]
#14 Twig_Template->displayWithErrorHandling(...) called at [/home/pkstatinstall/vendor/twig/twig/lib/Twig/Template.php:250]
#15 Twig_Template->display(...) called at [/home/pkstatinstall/vendor/twig/twig/lib/Twig/Template.php:261]
#16 Twig_Template->render(...) called at [/home/pkstatinstall/vendor/twig/twig/lib/Twig/Environment.php:292]
#17 Twig_Environment->render(...) called at [/home/pkstatinstall/core/View.php:252]
#18 Piwik\View->renderTwigTemplate(...) called at [/home/pkstatinstall/core/View.php:247]
#19 Piwik\View->render(...) called at [/home/pkstatinstall/plugins/SitesManager/Controller.php:87]
#20 Piwik\Plugins\SitesManager\Controller->index(...) called at [:]
#21 call_user_func_array(...) called at [/home/pkstatinstall/core/FrontController.php:521]
#22 Piwik\FrontController->doDispatch(...) called at [/home/pkstatinstall/core/FrontController.php:84]
#23 Piwik\FrontController->dispatch(...) called at [/home/pkstatinstall/index.php:62]

Any ideas on how to fix it?


(Matthieu Aubry) #2

Looks like when you upgraded some files were not uploaded correctly. Reupload all files from piwik 2.1 (especially lang/* )


#3

I tried to do the auto upgrade and it seemed to have timed out but then was giving the error message above.

When I uploaded the files manually it works fine with no errors.

Thanks for the prompt reply!