Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After upgrade to 3.1.0 getting "Oops… there was a problem during the request." in Visitors real time widget #12051

Closed
digihiveinc opened this issue Sep 13, 2017 · 4 comments
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.
Milestone

Comments

@digihiveinc
Copy link

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.
Screenshot: http://take.ms/cKY7e

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.
in
/var/www/vhosts/website.com/httpdocs/plugins/Live/templates/getLastVisitsStart.twig line 148`

@sgiehl
Copy link
Member

sgiehl commented Sep 13, 2017

Thanks for the report. This was already reported and fixed in #12037

@sgiehl sgiehl closed this as completed Sep 13, 2017
@sgiehl sgiehl added the duplicate For issues that already existed in our issue tracker and were reported previously. label Sep 13, 2017
@digihiveinc
Copy link
Author

The #12037 fix works well for "Visitors Real time" widget but it brakes All websites list: http://take.ms/JbS0K
which would normally look like so: http://take.ms/TZO2Y

@sgiehl
Copy link
Member

sgiehl commented Sep 14, 2017

Could you check if adding a second \ before the constant names solves your problem. eg constant('\\Piwik::...

@digihiveinc
Copy link
Author

@sgiehl
Adding the second \ helped. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.
Projects
None yet
Development

No branches or pull requests

3 participants