• Resolved dvalilis

    (@dvalilis)


    My website is https://dtcleaningsolutions.gr/

    I can’t generate critical CSS. I keep getting an error message. It was ok when i first downloaded the plugin before about a week. Now for some days it keeps giving me the error.
    Error message: “Cannot read properties of undefined (reading ‘generateCriticalCSS’)”

    What should i do?

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

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

    (@alinclamba)

    Hi @dvalilis,

    Thanks for reaching out with your issue.

    Could you please check for any errors in your browser’s console while attempting to regenerate Critical CSS using Jetpack Boost? Here’s how to do it:

    1. Go to Jetpack → Boost in your WordPress dashboard.
    2. Open your browser’s console. If you’re using Chrome, press Ctrl + Shift + J on Windows/Linux or Cmd + Option + J on Mac.
    3. Ensure the Critical CSS feature is active, then press ‘Regenerate’ and observe.

    If any errors pop up in the console, kindly capture a screenshot. You can use tools like Snipboard (https://snipboard.io/) or Imgur (https://imgur.com) to snapshot and share the image. Please paste the screenshot link in your response.

    We appreciate your cooperation!

    Plugin Support Stef (a11n)

    (@erania-pinnera)

    Hey @dvalilis,

    Do you have updates about that? We usually close inactive threads after one week of no movement, but we want to make sure we’re all set before marking it as solved. Thanks!

    Thread Starter dvalilis

    (@dvalilis)

    Hi @alinclamba , thank you for your response. Here is the link of the screenshot https://imgur.com/a/dulS45B.

    Looking forward to your response.

    Plugin Author Pete (a11n)

    (@dilirity)

    @dvalilis thank you for the screenshot!

    Sorry to ask you again, but could you write CriticalCSSGenerator in the console and give us a screenshot of the whole line that shows up?

    This will not share anything sensitive, it will just give us information about the code we use to generate critical css with.

    Plugin Support Alin (a11n)

    (@alinclamba)

    Hi @dvalilis,

    I’m excited to share some fantastic news with you! ??

    After a thorough investigation, we identified that the issue causing Jetpack Boost to fail during Critical CSS generation was linked to the ShopEngine plugin active on your site. We contacted the plugin’s developers, and they’ve already released an updated version with a fix.

    Please go ahead and update the ShopEngine plugin. Once updated, try regenerating the Critical CSS in Jetpack → Boost.

    Best!

    Thread Starter dvalilis

    (@dvalilis)

    Hi @alinclamba,

    the issue is fixed indeed. Thank you very much!

    Awesome! Glad to hear it. Please post again if anything else comes up.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Jetpack Boost Critical CSS failed to generate’ is closed to new replies.