• Resolved Cameron Jones

    (@cameronjonesweb)


    Jetpack is breaking site health, throwing the below error in the console and preventing other checks such as in the theme from running.

    This occurs on a local development site, as such is not connected. I checked a live site that is connected and there was no issue, so that may be related.

    Occurs with Jetpack the only plugin active, TwentyTwenty theme active

    Uncaught TypeError: Cannot read property 'color' of undefined
        at eval (eval at v.template (load-scripts.php?c=1&load[chunk_0]=hoverIntent,common,hoverintent-js,admin-bar,clipboard,underscore,wp-util&ver=5.4.1:13), <anonymous>:9:20)
        at u (load-scripts.php?c=1&load[chunk_0]=hoverIntent,common,hoverintent-js,admin-bar,clipboard,underscore,wp-util&ver=5.4.1:13)
        at load-scripts.php?c=1&load[chunk_0]=hoverIntent,common,hoverintent-js,admin-bar,clipboard,underscore,wp-util&ver=5.4.1:15
        at l (site-health.min.js?ver=5.4.1:2)
        at site-health.min.js?ver=5.4.1:2
        at Function.each (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-progressbar&ver=5.4.1:2)
        at HTMLDocument.<anonymous> (site-health.min.js?ver=5.4.1:2)
        at i (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-progressbar&ver=5.4.1:2)
        at Object.fireWith [as resolveWith] (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-progressbar&ver=5.4.1:2)
        at Function.ready (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-progressbar&ver=5.4.1:2)
    • This topic was modified 4 years, 10 months ago by Cameron Jones.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support KokkieH

    (@kokkieh)

    Hi there,

    If this only happens on a local site, please make sure you have Jetpack configured to run in development mode. That should prevent any errors caused by Jetpack being unable to load resources that rely on a connection to WordPress.com:

    https://jetpack.com/support/development-mode/

    Thread Starter Cameron Jones

    (@cameronjonesweb)

    Thanks for the suggestion, but the error still occurs. It was in dev mode when I first encountered it

    Plugin Support KokkieH

    (@kokkieh)

    throwing the below error in the console

    Do you mean the console in the browser inspector?

    I just checked with a local installation (using MAMP), with Jetpack in dev mode, but I don’t see any problems on the Site Health screen, nor do I see any errors in the browser console, so it looks like this might be specific to your site.

    Please see if completely deleting the Jetpack folder and then re-installing the plugin makes any difference.

    Also check if disabling other plugins on the site makes any difference. The error message you posted doesn’t appear to mention Jetpack, so that’s something worth ruling out.

    Hi,
    I have exactly same issue on live website. Jetpack breaks Site Health. My wordpress and plugins updated. Site Helath page doesn’t work and I see similar javascript errors:

    VM3898:9 Uncaught TypeError: Cannot read property ‘color’ of undefined
    at eval (eval at v.template (underscore.min.js:2), <anonymous>:9:20)
    at u (underscore.min.js:2)
    at wp-util.min.js:2
    at l (site-health.min.js:2)
    at site-health.min.js:2
    at Function.each (jquery.js:2)
    at HTMLDocument.<anonymous> (site-health.min.js:2)
    at i (jquery.js:2)
    at Object.fireWith [as resolveWith] (jquery.js:2)
    at Function.ready (jquery.js:2)

    If I disable Jetpack it runs perfectly.

    I’m having the exact same issue. Does anyone know what to do here? I need to have Jetpack enabled in order to connect it with WooCommerce services.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Breaks site health checks, possibly when not connected’ is closed to new replies.