• Anonymous User 14018805

    (@anonymized-14018805)


    I’ve got this error recurring in all AMP pages of my website [ redundant link removed ]

    “Negli attributi del tag HTML AMP è specificato un layout non valido.”

    It says that in HTML AMP TAG attributes there is a layout not valid.

    Can you please give a check? This error is invalidating all my amp pages

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor ampforwp

    (@ampforwp)

    Hi @blackster000,

    I’ve checked the AMPP URL, it seems you’re not giving the width & height value for the Header logo. Please give the width & height value for the logo.

    Screenshot: https://take.ms/qyvEL

    Regarding another error, can you please share your AMP panel’s Push notification tab settings. I’ve to check the settings.

    Hope it helps.

    Thread Starter Anonymous User 14018805

    (@anonymized-14018805)

    Hi,
    thank you and sorry for the late response, I miss your email.

    I set the logo size but I’m still getting a lot of errors

    Here is the AMP settings:

    View post on imgur.com

    thank you again

    [ Please do not bump. ]

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    To me, it looks like a conflict with the plugins. Can you deactivate your plugins and only have this one and check and let me know?

    Thread Starter Anonymous User 14018805

    (@anonymized-14018805)

    Ok I will try and let you know

    Thread Starter Anonymous User 14018805

    (@anonymized-14018805)

    Hi Ahmed,

    I disabled all the plugins and also changed the theme, but nothing I always get this error:

    Expected height to be available:  
    Kf @ template-impl.js:271
    (anonymous) @ viewport-impl.js:1031
    f.assert @ log.js:349
    y @ log.js:762
    b.connectedCallback @ size-list.js:49
    Qc.N.define @ document-register-element.patched.js:259
    vh @ custom-element.js:1006
    (anonymous) @ ampdoc-impl.js:483
    Qm @ viewport-impl.js:857
    Mm.cf @ viewport-impl.js:959
    (anonymous) @ viewport-impl.js:969
    Promise.then (async)
    Um @ viewport-impl.js:968
    Mm.Ta @ viewport-impl.js:978
    (anonymous) @ viewport-impl.js:924
    Promise.then (async)
    Sm @ viewport-impl.js:924
    Mm.runForStartup @ viewport-impl.js:924
    Nm @ viewport-impl.js:857
    (anonymous) @ ampdoc-impl.js:466
    pf @ base-element.js:1031
    (anonymous) @ ampdoc-impl.js:441
    Qm @ viewport-impl.js:857
    Mm.cf @ viewport-impl.js:959
    (anonymous) @ viewport-impl.js:969
    Promise.then (async)
    Um @ viewport-impl.js:968
    Mm.Ta @ viewport-impl.js:978
    (anonymous) @ viewport-impl.js:924
    Promise.then (async)
    Sm @ viewport-impl.js:924
    Mm.runForStartup @ viewport-impl.js:924
    Nm @ viewport-impl.js:857
    (anonymous) @ ampdoc-impl.js:441
    (anonymous) @ ampdoc-impl.js:562
    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    the error you posted in the last reply is a Javascript console error which has nothing to do with the AMP Validation error which you mentioned in your first message.

    Kindly validate the URL with Google Structured data tool: https://search.google.com/structured-data/testing-tool/u/0/

    and share the results.

    Thread Starter Anonymous User 14018805

    (@anonymized-14018805)

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    For some strange reason, the width and height of the logos are not getting the values.

    Can you try to remove the logos and add it again, that should fix it,

    In the custom image size, try to add the custom width and height options.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘HTML AMP Layout not valid’ is closed to new replies.