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

Warning message: Key "totalUniquePageViews" for array does not exist. #15698

Closed
mattab opened this issue Mar 16, 2020 · 3 comments
Closed

Warning message: Key "totalUniquePageViews" for array does not exist. #15698

mattab opened this issue Mar 16, 2020 · 3 comments
Labels
answered For when a question was asked and we referred to forum or answered it.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Mar 16, 2020

From email report:

I have replaced all of the files with the latest ones from the matomo.zip downloaded straight from the website, and the issue continues.

Key "totalUniquePageViews" for array with keys "visitorId, hasMoreVisits, totalVisits, totalVisitDuration, totalGoalConversions, totalConversionsByGoal, totalEvents, hasLatLong, lastVisits, nextVisitorId, previousVisitorId, totalVisitDurationPretty, userId, firstVisit, lastVisit, visitsAggregated, devices, continents, countries, customVariables" does not exist.
in Z:\XAMPP\htdocs\matomo\plugins\Live\templates_profileSummary.twig line 2

@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Mar 16, 2020
@mattab mattab added this to the 3.13.4 milestone Mar 16, 2020
@tsteur tsteur modified the milestones: 3.13.4, 3.13.5 Mar 16, 2020
@sgiehl
Copy link
Member

sgiehl commented Mar 18, 2020

Can't see a case where that could happen. It's actually the first variable used in that template. But it's always initialized for a profile within the Actions plugin.
Did he maybe disable the Actions plugin? 🤔

@SeiRruf
Copy link

SeiRruf commented Mar 20, 2020

Can't see a case where that could happen. It's actually the first variable used in that template. But it's always initialized for a profile within the Actions plugin.
Did he maybe disable the Actions plugin? 🤔

I am the one in question here. I would never willingly disable a plugin of sort, but after seeing your reply (and being unable to fix it myself) I went ahead and checked. Sure enough, somehow, the Actions Plugin was not active. I with all honestly have no idea how this happened, but I re-enabled it and whella, issue fixed! (it's also worth mentioning I was going to write in about why all of my tracking suddenly had 0 actions... I still have no clue how the plugin was disabled. I am the only admin and I haven't touched the plugins page).

I think in the future, instead of throwing an error, the platform should alert that a required plugin is not installed. This would have been a ton more helpful instead of allowing individual plugins to be removed, when other plugins rely on them.

Thank you very much for the help!!! Stay safe out there. (:

@tsteur tsteur closed this as completed Mar 20, 2020
@tsteur
Copy link
Member

tsteur commented Mar 20, 2020

Thanks for letting us know @SeiRruf Stay safe.

@tsteur tsteur added answered For when a question was asked and we referred to forum or answered it. and removed Bug For errors / faults / flaws / inconsistencies etc. labels Mar 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

4 participants