New Error

Have been using Piwik for over a year with no problems. Today I get the following error:

Invalid argument supplied for foreach()
in ‘~/piwik/core/Config.php’ at the line 296

#0 Piwik_ErrorHandler(…) called at [~/piwik/core/Config.php:296]
#1 Piwik_Config->cacheConfigArray(…) called at [~/piwik/core/Config.php:340]
#2 Piwik_Config->__get(…) called at [~/piwik/core/Session.php:37]
#3 Piwik_Session::isFileBasedSessions(…) called at [~/piwik/core/FrontController.php:244]
#4 Piwik_FrontController->init(…) called at [~/piwik/index.php:58]

Any suggestions.

Replace config/global.ini.php with the one from the latest ZIP package?

Okay now just a blank page.


Thanks for the help. I had to complete a reinstall last night but connected to old data base and only lost about 6 hours worth of data.