Description
Impacted plugin
Jetpack
Quick summary
Hello! I'm going to work with screenshots as the site hasn't yet launched - I don't want the dev URL on a public repo. Feel free to find me in Slack for the URL (@kim in Automattic's Slack org)
The Jetpack Stats graph that shows results is showing a broken image. The issue was also present on kimclow.blog last week, however after reconnecting Jetpack that seemed to resolve the issue. We're unsure how to resolve it on this new site. The JP connection is active.
What's interesting is that if you view the site via Calypso, the graph works perfectly.
If you view it via WP Admin, it's broken.
Our devs took a quick look and said:
I figured out that the code not working is inside the function
stats_reports_page
in the Jetpack filemodules/stats.php
. By the looks of it, it might be a failed GET request todashboard.wordpress.com/wp-includes/charts/admin-bar-hours-scale-2x.php
but I’m not perfectly sure
Steps to reproduce
- Login to website via domain.com/wp-admin
- View the stats icon in the side menu and toolbar
A clear and concise description of what you expected to happen.
I expected the 48-hour graph to display regardless of which version of the backend you're working on.
What actually happened
We get a broken image next to the Statistics link when viewing the site via WP-admin.
Impact
One
Available workarounds?
There is no user impact
If the above answer is "Yes...", outline the workaround.
No response
Platform (Simple and/or Atomic)
Atomic
Logs or notes
Please ping me directly for the site URL
Metadata
Assignees
Labels
Type
Projects
Status
Triaged