• Resolved rasukarupiano

    (@rasukarupiano)


    予期しないエラーが発生し、Critical CSS 生成ができません。サイトの速度も遅いし、直したいです。

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Donncha O Caoimh (a11n)

    (@donncha)

    Hi,

    A plugin might be interfering with the generation of critical CSS on your site. If you go to the Boost Settings page, you might be able to see errors showing up in the browser when you try to generate the critical CSS again.

    1. On the Boost settings page, right click anywhere blank and click on “Inspect”, or press F12.
    2. In the window that opens, click on the “Console” tab.
    3. Navigate to Jetpack → Boost and regenerate Critical CSS again to see if any errors appear while the Critical CSS is being generated.

    If any errors show up there, please copy and paste them into a reply here or make a screenshot and share it.

    If a plugin is interfering, you could try to figure out why one. Disable them one by one and test the critical css generation again until it works. I would be very interested to hear if that worked, and which plugin was responsible.

    Thread Starter rasukarupiano

    (@rasukarupiano)

    (@donncha)返信ありがとうございます。やってみました。どういうことでしょうか?以下、コピー&ペーストです。

    Uncaught TypeError: Cannot read properties of null (reading ‘addEventListener’)
    at dismissNotice (admin.php?page=jetpack-boost:427:17)

    Generating Critical CSS will often leave errors in your console. Most of them are nothing to worry about – just the sounds of your browser complaining about our strict security settings. Check out the following page for more information:

    Blocked script execution in ” because the document’s frame is sandboxed and the ‘allow-scripts’ permission is not set.Understand this error

    jetpack-boost.js?minify=false&ver=2cb14679e652b9409e07:14

       POST https://rasukarupiano.com/wp-json/jetpack-boost-ds/critical-css-state/action/set-provider-
    Plugin Author Donncha O Caoimh (a11n)

    (@donncha)

    That looks normal. Can you disable the “EWWW Image Optimizer” plugin? I think that might be conflicting with how Boost generates Critical CSS.

    Plugin Support Tamirat B. (a11n)

    (@tamirat22)

    Hello @rasukarupiano,

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.