We’ve been using Piwik for the past year or so without any issues.
This morning when logging on we get the following error:
[13-Oct-2014 10:13:40 America/Los_Angeles] PHP Fatal error: Namespace declaration statement has to be the very first statement in the script in ***/piwik/core/Piwik.php on line 9
I’ve replaced this file from the standard Piwki download but not we’re getting errors with all the widgets when logging on. The “Visitors in Real Time” widget works but all of others say:
“Oops… there was a problem during the request. Maybe the server had a temporary issue, or maybe you requested a report with too much data. Please try again. If this error occurs repeatedly please %scontact your Piwik administrator%s for assistance.”
Would anybody know what caused this?