This topic has 4 replies, 3 voices, and was last updated 9 years by Radu.

  • Author
  • #141836
     kaeliblomst
    Participant

    Hi.
    My website returns AMP errors saying that the Script is disallowed.. I have tried to find out how to remove it but can’t find out how.. – I suppose its in the theme somewhere

    https://www.konkurrencer-nonstop.dk/magasin/amp/

    Screenshot of the issue is attached

     

    #141867
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #142238
     Radu
    Moderator

    Hi,

    Where i can see that error ? cuz in your provided link i cannot see it

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #142248
     kaeliblomst
    Participant

    Its in the code… There is a script loading on webpages returning an error in search console..

    The code is:
    <script src=”https://cdn.ampproject.org/v0.js&#8221; async></script>
    <link rel=”stylesheet” href=”https://fonts.googleapis.com/css?family=Merriweather:400,400italic,700,700italic”&gt;
    <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript>
    <style amp-custom>
    /* Generic WP styling */

    #142320
     Radu
    Moderator

    Hi,

    This tag isn’t related to Kleo theme amp-boilerplate, the Kleo doesn’t contain this in the theme files, maybe a plugin adds this, switch off all plugins and check again. If the error disappears enable plugins one by one back to can see what plugin causes this

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?