• Resolved Valerie

    (@eve777)


    Hi,

    I just installed and activated Jetpack Boost, and enabled the Optimize CSS Loading feature, but I get the following error:

    Failed to generate Critical CSS.

    Unexpected content loaded at mysiteurl.com
    Please verify the URL is a part of your site and try again

    Unexpected content loaded at mysiteurl.com/blogpage
    Please verify the URL is a part of your site and try again

    Unexpected content loaded at mysiteurl.com/all the sub domains

    I am using Cloudflare cdn and my site is still under construction so right now, it only shows a SeedProd coming soon page.

    How can I fix this error so I can make my site faster? Any help would be most appreciated.

    • This topic was modified 3 years, 4 months ago by Valerie.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Animesh Gaurav (a11n)

    (@bizanimesh)

    Hi there

    Could you please post your site URL here so that we can have a look? You have Jetpack Boost 1.1.1 version. Correct?

    Also, please send us the screenshot from the Jetpack Boost dashboard where you are seeing those errors.

    To upload and share a screenshot, you can use this platform: https://snipboard.io

    Details on how to make screenshot can be found here: https://wordpress.com/support/make-a-screenshot

    I’m looking forward to hearing from you. ??

    Thread Starter Valerie

    (@eve777)

    Hi Animesh,

    Thanks for replying. Site url is https://www.soyumrecipes.com
    It’s still under construction so you’ll only see a coming soon page.

    And yes, I have Jetpack Boost verson 1.1.1.

    Here’s are 3 screenshots of the errors I’m seeing. The error list was really long so I had to break it up into 3 screenshots. Please help resolve this issue.

    https://snipboard.io/KctNpW.jpg
    https://snipboard.io/W41P7o.jpg
    https://snipboard.io/Kj4vMl.jpg

    Plugin Support Animesh Gaurav (a11n)

    (@bizanimesh)

    Hi there,

    It’s still under construction so you’ll only see a coming soon page.

    This could be the possible reason Jetpack Boost is showing those errors.

    We need a publicly accessible WordPress site: no password protection or Coming Soon / Maintenance Mode plugin in use otherwise the Jetpack Boost will not work properly.

    Did you try to disable coming soon mode, make your site publicly accessible and then uninstall and reinstall the Jetpack Boost?

    Does it show the same errors if the site is publicly accessible?

    Thread Starter Valerie

    (@eve777)

    Hi Animesh,

    I really didn’t want to make my site public but I did for a short while to see if Boost would work.

    I got the following error:
    Failed to generate Critical CSS
    An unexpected error has occurred:

    Your site’s REST API does not seem to be accessible. Jetpack Boost requires access to your REST API in order to receive site performance scores. Please make sure that your site’s REST API is active and accessible, and try again.

    So, I figured that was because I disabled my Rest API for non authenticated users as a security precaution, using this plugin: https://www.ads-software.com/plugins/disable-wp-rest-api/.

    So I deactivated that plugin temporarily and got the same REST error above. Is there any way Jetpack Boost can work without enabling access to REST API?

    Thanks,
    Valerie

    Hello @eve777

    Regarding your question:

    > Is there any way Jetpack Boost can work without enabling access to REST API?

    It is not possible, because Jetpack Boost relies on Rest API to work correctly.

    As you said you have Cloudflare installed in front of your site, it could be contributing to this issue.

    Could you please try pausing Cloudflare as described here?

    https://support.cloudflare.com/hc/en-us/articles/203118044#h_8654c523-e31e-4f40-a3c7-0674336a2753

    After you’ve paused it, deactivate your SeedPro plugin and retry running your Jetpack Boost.

    Please, contact us back if the issues persist.

    Let me know if you have any questions.

    My best regards,

    Michelle C.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Failed to generate Critical CSS – Unexpected content loaded at site url’ is closed to new replies.