Get the following error trying to get to the website…
Invalid argument supplied for foreach()
in ‘/home/palwalrus/piwik.walrus-workz.com/core/Config.php’ at the line 290
#0 Piwik_ErrorHandler(…) called at [/home/palwalrus/piwik.walrus-workz.com/core/Config.php:290] #1 Piwik_Config->cacheConfigArray(…) called at [/home/palwalrus/piwik.walrus-workz.com/core/Config.php:334] #2 Piwik_Config->__get(…) called at [/home/palwalrus/piwik.walrus-workz.com/core/Session.php:31] #3 Piwik_Session::isFileBasedSessions(…) called at [/home/palwalrus/piwik.walrus-workz.com/core/FrontController.php:238] #4 Piwik_FrontController->init(…) called at [/home/palwalrus/piwik.walrus-workz.com/index.php:52]
I checked the config/config.ini.php and it is the same I have had since original install, it was not replaced by this upgrade. I looked at the global.ini.php and that had changed but been backed up, so I renamed the new version and put the old one back and got the same error.
Invalid argument supplied for foreach()
in ‘/home/palwalrus/piwik.walrus-workz.com/core/Config.php’ at the line 290
#0 Piwik_ErrorHandler(…) called at [/home/palwalrus/piwik.walrus-workz.com/core/Config.php:290] #1 Piwik_Config->cacheConfigArray(…) called at [/home/palwalrus/piwik.walrus-workz.com/core/Config.php:334] #2 Piwik_Config->__get(…) called at [/home/palwalrus/piwik.walrus-workz.com/core/Session.php:31] #3 Piwik_Session::isFileBasedSessions(…) called at [/home/palwalrus/piwik.walrus-workz.com/core/FrontController.php:238] #4 Piwik_FrontController->init(…) called at [/home/palwalrus/piwik.walrus-workz.com/index.php:52]
Copied that across and that then indicated that the global.ini was corrupted, got that back from a backup I had taken and all is working now. Not sure how the files were corrupted but seem to be working now, although there seems to be no data in the database for the last four days.