• Resolved Nancy

    (@nancy10199)


    Just today a new error is appearing in search console on every website we using AMP:

    The required text (CDATA) within the tag “head > style[amp-boilerplate] old variant” is missing or wrong.

    What to do?

    Cheers

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hi @nancy10199

    It’s happening because CloudFlare’s “rocket-critical-css” is making that change.

    Do you have the Cloudflare turned on?

    You need to add a rule in CF to say that “turn off the rocket loader only on /amp”

    That should fix this issue. Hope that helps.

    Thread Starter Nancy

    (@nancy10199)

    Hi Ahmed,

    i figured it out now – we ur not using CloudFlare.

    It was a problem with the WP Rocket 2.11.5 Plug-in and the minification of CSS and JS.

    After I switched the minification in the Plug-in off the problem was gone.

    Thanks for the great support!

    Cheers

    Nancy

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hi @nancy10199

    Thank you!

    yes, there recent update did that. As a user of WP Rocket, can you please contact them to request the AMPforWP compatibility?

    We have contacted them too.

    Thanks,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘News search console error since today’ is closed to new replies.