• Resolved directforpets

    (@directforpets)


    I keep getting the below message, please help.

    Failed to generate Critical CSS

    Hmm, looks like something went wrong. We’re still seeing an unexpected error. Please reach out to our support to get help.

Viewing 1 replies (of 1 total)
  • Plugin Author Adnan Haque (a11n)

    (@adnan007)

    Hi @directforpets !

    Assuming your site is directforpets.com, I see that some of the pages behave in an unexpected way if boost query parameters are present. For example, https://directforpets.com/?jb-generate-critical-css=1695320981829 should show the homepage. However, it doesn’t recognize that it is for the homepage. Aside from that, some of the pages(e.g., shop pages) load very slowly which can result in timeouts. Please try to address these issues and Boost should work.

    There may be interfearence from your theme or any of the other plugins. The best way to determine if something is interfering is to test for a theme or plugin conflict. You can do that by following these steps:

    1. Temporarily deactivate all plugins except Jetpack Boost, and clear your browser’s cache.
    2. Then, try generating critical CSS again. If it is successful, then you know another plugin is conflicting here.
    3. You can reactivate plugins one by one, checking generating critical CSS after each one to discover which plugin is causing the problem.
    4. You can leave that plugin deactivated and/or contact whoever makes that plugin for help resolving the issue it’s causing.

    If deactivating plugins doesn’t help, it may be your theme.

    1. Temporarily activate a default WordPress theme like Twenty Twenty-One.
    2. Then, try generating critical CSS again. If it is successful, then you know it’s a problem with the theme. You can contact whoever makes the theme for help resolving the issue it’s causing.

    You can see these theme troubleshooting steps in detail in our Troubleshooting manually guide.

Viewing 1 replies (of 1 total)
  • The topic ‘Failed to Generate Critical CSS’ is closed to new replies.