Fatal error: Call to undefined method setUpSafeMode on oneclick update to 2.0.3

I’ve just tried to update to the latest version and I now get this error,

“Fatal error: Call to undefined method Piwik\FrontController::setUpSafeMode() in /home/tilescou/public_html/piwik/index.php on line 57”

Can anyone help?

make sure you uploaded all files, some files have not been updated from 2.0.3 it seems

I followed these instructions and overwrote the previous install.

go into the the directory that contains your existing “piwik/” installation

$ wget http://builds.piwik.org/latest.zip # download latest version
$ unzip -o latest.zip # extract it to “piwik/” directory
$ rm latest.zip # delete the archive and read below the next step

This is how the file should look like matomo/FrontController.php at master · matomo-org/matomo · GitHub

I think it must have been some kind of file copying problem. I’ve reinstalled from latest.zip to a new folder and it’s working fine.

Thanks for your help.