• Resolved mountainit

    (@mountainit)


    Our clients website fritskuiper.nl gets te following error when wanting to visit the post statistics on the woocommerce productpage.

    Failed to load resource: the server responded with a status of 404 ()
    widgets.wp.com/odyssey-stats/v1/6ebbf50047cbbbe53b89.css:1 Failed to load resource: the server responded with a status of 404 ()
    build.min.js?minify=false:128 Uncaught (in promise) ChunkLoadError: Loading chunk 1963 failed.
    (error: https://widgets.wp.com/odyssey-stats/v1/async-load-calypso-my-sites-stats-stats-post-detail-9d7292271a61b1297c45.js?minify=false)
    at webpack_require.f.j (build.min.js?minify=false:128:79620)
    at build.min.js?minify=false:128:71215
    at Array.reduce ()
    at webpack_require.e (build.min.js?minify=false:128:71175)
    at qo (build.min.js?minify=false:128:198383)
    at Re.require (build.min.js?minify=false:128:117632)
    at Re.componentDidMount (build.min.js?minify=false:128:117363)
    at Zr (react-dom.min.js:10:80710)
    at Gr (react-dom.min.js:10:80485)
    at Xr (react-dom.min.js:10:80019)

    the jetpack statistics page does work, just not the statistics for the product posts.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Alin (a11n)

    (@alinclamba)

    Hi @mountainit,

    From the error messages you’re seeing, it looks like certain resources needed for the Jetpack stats page are not loading. The 404 errors indicate that the files 6ebbf50047cbbbe53b89.css and async-load-calypso-my-sites-stats-stats-post-detail-9d7292271a61b1297c45.js are not found on the server.

    A common cause of 404 errors is if the required resources are deleted or moved from the server. It could also be a problem related to server configurations.

    I’d start by reinstalling and reconnecting Jetpack plugin as indicated here: https://jetpack.com/support/reconnecting-reinstalling-jetpack/

    Doing so you will get the latest version of Jetpack plugin too, as I can see at this moment is an outdated version used.

    Please give this a try and let us know how it goes.

    Thread Starter mountainit

    (@mountainit)

    Hey Alin,

    thanks for the response, i tried reinstalling/ reconnecting but the page-stats are still not loading. the console does show the same errors

    widgets.wp.com/odyssey-stats/v1/async-load-calypso-my-sites-stats-stats-post-detail-9d7292271a61b1297c45.js?minify=false:1 Failed to load resource: the server responded with a status of 404 ()
    widgets.wp.com/odyssey-stats/v1/6ebbf50047cbbbe53b89.css:1 Failed to load resource: the server responded with a status of 404 ()
    build.min.js?minify=false:128 Uncaught (in promise) ChunkLoadError: Loading chunk 1963 failed.
    (error: https://widgets.wp.com/odyssey-stats/v1/async-load-calypso-my-sites-stats-stats-post-detail-9d7292271a61b1297c45.js?minify=false)
    at webpack_require.f.j (build.min.js?minify=false:128:79620)
    at build.min.js?minify=false:128:71215
    at Array.reduce ()
    at webpack_require.e (build.min.js?minify=false:128:71175)
    at qo (build.min.js?minify=false:128:198383)
    at Re.require (build.min.js?minify=false:128:117632)
    at Re.componentDidMount (build.min.js?minify=false:128:117363)
    at Zr (react-dom.min.js:10:80710)
    at Gr (react-dom.min.js:10:80485)
    at Xr (react-dom.min.js:10:80019)
    DevTools failed to load source map: Could not load content for chrome-extension://bmnlcjabgnpnenekpadlanbbkooimhnj/browser-polyfill.js.map: System error: net::ERR_BLOCKED_BY_CLIENT
    Plugin Support Animesh Gaurav (a11n)

    (@bizanimesh)

    Hey @mountainit – we are currently investigating the error you reported with our team. However, please note that due to the weekend, it may take us some time to get in touch with them.

    Rest assured that we are actively working on resolving the issue and finding a solution for you. As soon as we have any updates or information from our team, we will promptly get back to you and keep you informed of the progress.

    There might also be a chance that your theme or one of your plugins is conflicting, so in the meantime, could you please troubleshoot using the health check plugin.

    With this plugin, you can troubleshoot the live site without disturbing the site for visitors. Here is how to enable troubleshooting mode in the health check plugin.

    After enabling troubleshooting mode:

    • Please make sure only the Jetpack plugin is active, and other plugins are deactivated.
    • Please make sure to install a default WordPress theme like Twenty Twenty-Two, so that the Health Check plugin (mentioned above) can switch to the Twenty Twenty-Two theme while troubleshooting.

    After all these processes, please check if the error message is still there?

    Let us know how it went. ??

    Thread Starter mountainit

    (@mountainit)

    Hey Animesh,

    Thank you for your help, after debugging we found a function in the child-theme functions.php that caused the problem. The function was used for “Remove WP version from enqueued scripts”, i do not think we need it anymore so removing it wont give any problems.

    Excellent, glad to hear you found the custom code that was conflicting with Jetpack. I’m going to mark this thread as resolved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘post stat failed to load resource’ is closed to new replies.