Wp-calypso: Path /stats/day[/+undefinded] occurring thousands of times each month

Created on 3 Aug 2017  路  4Comments  路  Source: Automattic/wp-calypso

Paths such as the following are occurring thousands of times each month as logged by internal logs of calypso_page_view.

/stats/day/undefined/undefined/undefined/undefined/undefined/undefined/undefined/undefined/undefined/undefined/undefined/undefined/undefined/undefined/undefined/undefined/undefined/undefined/undefined/undefined/undefined/undefined

Why might this be?

Stats [Type] Bug

Most helpful comment

Just ran into this myself actually. I'm not sure what is causing it but it seems to happen every time I click on the "My Sites" button at the top left.

undefinedforalltime

All 4 comments

Just ran into this myself actually. I'm not sure what is causing it but it seems to happen every time I click on the "My Sites" button at the top left.

undefinedforalltime

@psealock Where does this stand now? Have the changes been reverted? I think the fix may be relevant to the tracking issues @donpark has been working on.

Hi @yanirs I need to further investigate this comment https://github.com/Automattic/wp-calypso/pull/17583#issuecomment-325583358

I need to figure out what the difference between currentUser.visible_site_count and

sites[ blog_id ].map( s => s.visible ).length

Then I will step through the code and understand why the above comment happens and how to fix it.

Was this page helpful?
0 / 5 - 0 ratings