Skip to content

Visitor profile: Key "totalEvents" for array with keys "..." does not exist #13171

@dw

Description

@dw

Hi there,

Running latest Matomo with (as far as I can tell) all the standard plug-ins enabled produced this for maybe 70% of clicks on the "View visitor profile" icon of the "Visitors in Real-time" dashboard widget. This has been broken for many months across many releases, I just decided to look into it today.

The AJAX call fails with HTTP 500, and the pop-up modal just displays a constant modal. Opening the AJAX URL directly reveals the error.

The URL is:

/piwik/index.php?date=today&module=Live&action=getVisitorProfilePopup&visitorId=...&idSite=6&period=day

The error text is:

A fatal error occurred

The following error just broke Matomo (v3.5.1):

Key "totalEvents" for array with keys "visitorId, totalVisits, totalVisitDuration, totalActions, 
totalOutlinks, totalDownloads, totalSearches, totalPageViews, totalUniquePageViews, 
totalRevisitedPages, totalPageViewsWithTiming, searches, totalGoalConversions, 
totalConversionsByGoal, hasLatLong, lastVisits, nextVisitorId, previousVisitorId, 
totalVisitDurationPretty, userId, firstVisit, lastVisit, visitsAggregated, visitedPages, 
averagePageGenerationTime, devices, continents, countries" does not exist.

in

/home/www/piwik/plugins/Live/templates/_profileSummary.twig line 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    not-in-changelogFor issues or pull requests that should not be included in our release changelog on matomo.org.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions