• Resolved HeleneL

    (@helenel)


    Hello,

    I wanted to move to Amp paired, but when I tried, i face two problems:
    1/ I get the message “validation failed to due to the absence of the expected JSON-containing AMP_VALIDATION comment after the body” – The classical amp version works very well, thus I am not sure what to do (I saw the thread on github with “need to install the iconv extension to PHP”, but I am not sure this is the same problem)

    2/Even with the validation failure, I could still see amp page displayed, however, I have 2 featured images… I use the twentyfourteen child theme, where I have completely changed the way to handle featured image to have hero images. Is that the origin of the problem? What is the way forward? Should I just add a display: none as css for the amp image, but where can I do that?

    Thank you so much in advance for your help

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

Viewing 1 replies (of 1 total)
  • Plugin Author Weston Ruter

    (@westonruter)

    In regards to 1, is there any PHP error being added to the error log? Otherwise, I see a comment at the bottom of the URL you shared for “Cache Enabler by KeyCDN”. Can you try disabling the Cache Enabler plugin to see if that fixes the issue? There may be a plugin conflict.

    For 2, we’ll have to see the page in paired mode to advise. Alternatively, you can switch to paired mode, copy the HTML output, put it in a Gist to share, and then switch back to classic mode.

Viewing 1 replies (of 1 total)
  • The topic ‘when moving to paired: problem validation + featured image displayed twice’ is closed to new replies.