• Resolved Jes2000

    (@jes2000)


    Within the last few weeks I’ve noticed the Jetpack stats widget is not loading. The preloader icon keeps spinning into infinity. This also prevents me from clicking the notifications icon. However, when I go to the Jetpack dashboard, the stats load just fine and I can click on the notifications icon just fine. The notifications icon works fine everywhere except the wp-admin dashboard. Also, these two problems are not present in troubleshoot mode.

    I am on WordPress 5.4 and Jetpack 8.4.2. I use Chrome, but I’m also having this problem with Safari. I searched for this problem before creating this post and saw a few threads from February and a year ago. I do not have SiteKit installed, and I have disabled Markdown and still have this problem.

    Anyone have ideas?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support supernovia

    (@supernovia)

    Hi, you’re referring to the Stats by Jetpack section on the dashboard, correct? If you view your JavaScript console, do you see any errors there? And if so could you share them here?

    Thread Starter Jes2000

    (@jes2000)

    Hi, yes, that’s what I’m referring to. There’s a lot going on in the console, it seems. Here’s what I got:

    This one sounds like it may be related to a Chrome Extension called Tampermonkey.
    Uncaught TypeError: Cannot redefine property: ysmm
    at Function.defineProperty (<anonymous>)
    at <anonymous>:2:8
    at Window.eval (userscript.html?id=8678a28d-e173-4a84-b716-472ca1327bd4:68)
    at <anonymous>:3:75
    at eval (userscript.html?id=8678a28d-e173-4a84-b716-472ca1327bd4:2)
    at eval (userscript.html?id=8678a28d-e173-4a84-b716-472ca1327bd4:3)
    at Object.eval (userscript.html?id=8678a28d-e173-4a84-b716-472ca1327bd4:70)
    at eval (userscript.html?id=8678a28d-e173-4a84-b716-472ca1327bd4:72)
    at eval (<anonymous>)
    at <anonymous>:3:75

    Uncaught TypeError: Cannot read property ‘site_health_complete_pass’ of undefined
    at a (health-check.js?ver=1.4.4:8)
    at HTMLDocument.<anonymous> (health-check.js?ver=1.4.4:8)
    at i (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:2)
    at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:2)
    at Function.ready (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:2)
    at HTMLDocument.J (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.4:2)

    Error handling response: SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at chrome-extension://jipinfggejlkpkomnccoocbdndjalicp/detect.js:43:25

    DevTools failed to load SourceMap: Could not load content for chrome-extension://hdokiejnpimakedhajhdlcegeplioahd/sourcemaps/onloadwff.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME
    DevTools failed to load SourceMap: Could not load content for https://www.jes2gstories.com/wp-content/plugins/jetpack/css/dashboard-widget.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
    pixel.wp.com/g.gif?v=wpcom2&x_grav-hover=hover,fetch&rand=0.12402709462639283-1587648091643:1 GET https://pixel.wp.com/g.gif?v=wpcom2&x_grav-hover=hover,fetch&rand=0.12402709462639283-1587648091643 net::ERR_BLOCKED_BY_CLIENT
    Image (async)
    send_stats @ gprofiles.js?ver=202017:1
    pixel.wp.com/g.gif?v=wpcom2&x_grav-hover=hover&rand=0.4926804087613559-1587648436642:1 GET https://pixel.wp.com/g.gif?v=wpcom2&x_grav-hover=hover&rand=0.4926804087613559-1587648436642 net::ERR_BLOCKED_BY_CLIENT

    Plugin Support supernovia

    (@supernovia)

    Got it, if you temporarily disable each extension, does the stats module work again?

    If it is Tampermonkey, given the variety of scripts that could be in there, I’d recommend just briefly disabling it when you want to view stats in the dashboard, or adjusting the script so it works there.

    Thread Starter Jes2000

    (@jes2000)

    Tampermonkey has no scripts related to WordPress and has worked just fine up until now, so I don’t think this is related. To be sure, however, I disabled it as you suggested and still have the same problem.

    I’m not a coder and all of these errors are Greek to me, but I saw something about Site Health. I disabled that plugin, and everything is back to normal. I see it was updated two weeks ago which was about when I noticed this problem began.

    I had the same problem and can confirm that deactivating the “Health Check” plugin (https://www.ads-software.com/plugins/health-check/) solves the problem. Is it correct to assume that this plugin is superfluous now that Site Health has been integrated into WordPress itself?

    Can also confirm that this solved this issue for me thank you @antermoia. I was able to find this but painstakingly working through the plugins in Troubleshooting modes on Site Health. I wish I had found your post sooner ??

    Thank you @antermoia it resolved it for me too.

    I deactivated “Health Check & Troubleshooting”

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Stats widget doesn’t load on wp-admin dashboard’ is closed to new replies.