We just upgraded our Piwik from 2.1.0 to 2.2.0.
After Upgrade the "All Websites Dashboard" doesn't list any website. A javascript error is thrown. Firebug stopps with Message "revenue is null" in plugins/MultiSites/angularjs/dashboard/dashboard-model.js:75 (see screenshot).
Chromium Console reports the following:
TypeError: Cannot read property 'length' of null
at http://mypiwik/index.php?module=Proxy&action=getCoreJs&cb=51c3b0643d6faafd63f78ae7ea23db85:1632:241
at Array.forEach (native)
at Object.r [as forEach] (http://mypiwik/index.php?module=Proxy&action=getCoreJs&cb=51c3b0643d6faafd63f78ae7ea23db85:223:280)
at http://mypiwik/index.php?module=Proxy&action=getCoreJs&cb=51c3b0643d6faafd63f78ae7ea23db85:1632:49
at Object.r [as forEach] (http://mypiwik/index.php?module=Proxy&action=getCoreJs&cb=51c3b0643d6faafd63f78ae7ea23db85:223:386)
at calculateMetricsForEachGroup (http://mypiwik/index.php?module=Proxy&action=getCoreJs&cb=51c3b0643d6faafd63f78ae7ea23db85:1632:10)
at createGroupsAndMoveSitesIntoRelatedGroup (http://mypiwik/index.php?module=Proxy&action=getCoreJs&cb=51c3b0643d6faafd63f78ae7ea23db85:1635:71)
at Object.model.updateWebsitesList (http://mypiwik/index.php?module=Proxy&action=getCoreJs&cb=51c3b0643d6faafd63f78ae7ea23db85:1637:235)
at http://mypiwik/index.php?module=Proxy&action=getCoreJs&cb=51c3b0643d6faafd63f78ae7ea23db85:1646:346
at B (http://mypiwik/index.php?module=Proxy&action=getCoreJs&cb=51c3b0643d6faafd63f78ae7ea23db85:310:5) index.php?module=Proxy&action=getCoreJs&cb=51c3b0643d6faafd63f78ae7ea23db85:301
This happens only, if one website has the piwik_site.group-field filled! Don't ask me why and where we use this field. I don't know it ;-) We have not one website using the ecommerce functionality.
We just upgraded our Piwik from 2.1.0 to 2.2.0.
After Upgrade the "All Websites Dashboard" doesn't list any website. A javascript error is thrown. Firebug stopps with Message "revenue is null" in plugins/MultiSites/angularjs/dashboard/dashboard-model.js:75 (see screenshot).
Chromium Console reports the following:
This happens only, if one website has the piwik_site.group-field filled! Don't ask me why and where we use this field. I don't know it ;-) We have not one website using the ecommerce functionality.