After upgrade to 3.1.0 getting "Oops… there was a problem during the request." in Visitors real time widget
This only happens when there are currently or recently were some visitors online.
If there were no recent visitors to the site the widget works fine. Screenshot: http://take.ms/NlGNX
`A fatal error occurred
The following error just broke Piwik (v3.1.0):
Key "icon" for array with keys "type, url, pageTitle, pageIdAction, idpageview, serverTimePretty, timeSpentRef, pageId, contentName, contentPiece, contentTarget, contentInteraction, interactionPosition, timestamp" does not exist.
/var/www/vhosts/website.com/httpdocs/plugins/Live/templates/getLastVisitsStart.twig line 148`
Thanks for the report. This was already reported and fixed in #12037
Could you check if adding a second
\ before the constant names solves your problem. eg