• Here is the error I find in Safari Debug :

    [Error] AMP-IMG# Layout not supported for: container
    reportError (v0.js, line 80)
    firstAttachedCallback_ (v0.js, line 94)
    attachedCallback (v0.js, line 93)
    Ba (v0.js, line 13)
    e (v0.js, line 11)
    (fonction anonyme) (v0.js, line 23)
    Pd (v0.js, line 104)
    installImg (v0.js, line 291)
    (fonction anonyme) (v0.js, line 291)
    installStyles (v0.js, line 52)
    (fonction anonyme) (v0.js, line 291)
    global code (v0.js, line 292)

    this is new as everything was great a few days ago.

    https://www.ads-software.com/plugins/amp/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter CAMEO172

    (@cameo172)

    it seems the trouble is for some smileys.. don’t understand why.

    For all smileys or just some of them?

    Thread Starter CAMEO172

    (@cameo172)

    Just some of them. At lease ?? and ??

    I just disable the smiley for amp as a solution !

    0.3 should fix the validation error but the smileys end up really big. I’ve added an issue here: https://github.com/Automattic/amp-wp/issues/204

    Thread Starter CAMEO172

    (@cameo172)

    Thanks for your great understanding.
    I will follow this carefully but still remove smiley image for amp for the moment.

    Hello,

    I have similar error with the last versión of the plugin (AMP 0.3):

    AMP-IMG# Layout not supported for: container
    bc @ error.js:62
    b.firstAttachedCallback_ @ custom-element.js:635
    b.attachedCallback @ custom-element.js:598
    jc @ custom-element.js:1097Z
    d.installImg @ amp-img.js:92
    (anonymous function) @ amp.js:52
    yb.installStyles @ styles.js:70
    (anonymous function) @ amp.js:45
    (anonymous function) @ amp.js:90
    amp.js:86
    Powered by AMP HTML – Version 1456288829340

    The implied layout ‘CONTAINER’ is not supported by tag ‘amp-img’.
    tx.error @ validator.js:320
    validator.js:320

    The attribute ‘type’ in tag ‘script type=application/ld+json’ is set to the invalid value ‘text/javascript’.

    The error appear in every image of the post. I use Jetpack photon

    The errors have changed after update AMP plugin to 0.3.1:

    AMP validation had errors:

    tx.error @ validator.js:320
    (anonymous function) @ validator.js:361
    f.ca @ validator.js:295
    Mw @ validator.js:299
    Hw @ validator.js:299
    Aw.vb @ validator.js:299
    xw @ validator.js:292
    validator.js:320

    The attribute ‘type’ in tag ‘script type=application/ld+json’ is set to the invalid value ‘text/javascript’.

    The attribute ‘href’ in tag ‘link rel=stylesheet for fonts’ is set to the invalid value ‘//fonts.googleapis.com/css?family=Merriweather:400,400italic,700,700italic|Open+Sans:400,700,400italic,700italic’. (see https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#custom-fonts)

    The attribute ‘src’ in tag ‘amphtml engine v0.js script’ is set to the invalid value ‘//cdn.ampproject.org/v0.js’. (see https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#scrpt)

    The attribute ‘type’ in tag ‘script type=application/ld+json’ is set to the invalid value ‘text/javascript’.

    Ivan: those errors are likely from another plugin modifying the AMP output.

    I also got the same CONTAINER error with missing images

    i have similar this error with the last versión of the plugin only AMP plugin its enable

    AMP validation had errors:
    tx.error @ validator.js:320(anonymous function)
    @ validator.js:361f.ca
    @ validator.js:295Mw
    @ validator.js:299Hw
    @ validator.js:299Aw.vb
    @ validator.js:299xw
    @ validator.js:292
    validator.js:320

    https://www.venezuelasinfonica.com/vinicio-adames/amp:9:2 The attribute ‘type’ in tag ‘script type=application/ld+json’ is set to the invalid value ‘text/javascript’.tx.error @ validator.js:320(anonymous function) @ validator.js:361f.ca @ validator.js:295Mw @ validator.js:299Hw @ validator.js:299Aw.vb @ validator.js:299xw @ validator.js:292

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘New error on Console : layout CONTAINER not supported’ is closed to new replies.