[Resolved] AMP issue with Generate Theme

Home Forums Support AMP issue with Generate Theme

Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #1416950
    Pankaj

    I’ve installed Generate Theme on my website: curiousviral.com and I are facing AMP issue on all the new posts which I do create. The error message is mentioned below.

    Error “There is content which fails AMP validation. Nevertheless, the invalid markup has been automatically removed. Review issues

    Invalid elements: script (17”

    Please help to solve.

    #1416954
    Pankaj

    Even the new post are not showing on the website after publishing.

    #1417316
    David
    Staff
    Customer Support

    Hi there,

    can you first check for plugin conflicts by temporarily disabling all other plugins.
    If that is still an issue can you temporarily switch to twentySixteen theme to check for a theme conflict.

    #1417377
    Pankaj

    I have checked but the issue i still the same.

    #1417379
    Pankaj

    Even I’m not able to see the Ads on Post articles. since morning.

    #1417388
    Pankaj

    I’m getting the error when I activate it but when I disable the AMP I don’t see any error.

    #1417393
    David
    Staff
    Customer Support

    So does the error occur when you’re using another theme ?

    #1417848
    Pankaj

    No error with AMP when I use another theme but when do I activate it with generate press theme I don’t see ads on post articles and AMP failed to validation error. It’s working fine when i disable the AMP plugin.

    #1418112
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Are you using the official AMP plugin? If so, can you try installing this plugin as well?: https://github.com/tomusborne/amp-for-generatepress/raw/master/amp-for-generatepress.zip

    #1426135
    Pankaj

    Hello,

    We’re facing lots of issue in the theme. Recently i have published a post 2 days ago and i’m not able to see in the recent post on the homepage. The post displayed after 1 hour i don’t know why. Could you please tell us why?

    There’re lots of lacking of features like post view count etc.

    The post was published: https://curiousviral.com/create-lvm-and-mount/

    When i use AMP the images doesn’t show on the website.

    #1426724
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    If you’re not seeing things update as they should, it’s likely due to plugin or server caching. Since it appeared after an hour, it means your website was cached and not displaying things in real-time.

    Things like post view counts are plugin territory – there should be quite a few plugins that focus 100% on that.

    I see you’re using javascript to lazy-load your images. That may be why they aren’t working on AMP, as AMP doesn’t support javascript.

    #1428177
    Pankaj

    Hey!
    I’m not able to see content inside any articles since morning. Even not able to update anything in the post section. Could you help?

    #1428238
    Pankaj

    wp-auth-check.min.js?ver=5.5.1:2 Uncaught TypeError: Cannot read property ‘hasClass’ of undefined
    at HTMLDocument.<anonymous> (wp-auth-check.min.js?ver=5.5.1:2)
    at HTMLDocument.dispatch (jquery.js?ver=1.12.4-wp:3)
    at HTMLDocument.r.handle (jquery.js?ver=1.12.4-wp:3)
    at Object.trigger (jquery.js?ver=1.12.4-wp:3)
    at HTMLDocument.<anonymous> (jquery.js?ver=1.12.4-wp:3)
    at Function.each (jquery.js?ver=1.12.4-wp:2)
    at n.fn.init.each (jquery.js?ver=1.12.4-wp:2)
    at n.fn.init.trigger (jquery.js?ver=1.12.4-wp:3)
    at Object.<anonymous> (heartbeat.min.js?ver=5.5.1:2)
    at i (jquery.js?ver=1.12.4-wp:2)
    (anonymous) @ wp-auth-check.min.js?ver=5.5.1:2
    dispatch @ jquery.js?ver=1.12.4-wp:3
    r.handle @ jquery.js?ver=1.12.4-wp:3
    trigger @ jquery.js?ver=1.12.4-wp:3
    (anonymous) @ jquery.js?ver=1.12.4-wp:3
    each @ jquery.js?ver=1.12.4-wp:2
    each @ jquery.js?ver=1.12.4-wp:2
    trigger @ jquery.js?ver=1.12.4-wp:3
    (anonymous) @ heartbeat.min.js?ver=5.5.1:2
    i @ jquery.js?ver=1.12.4-wp:2
    fireWith @ jquery.js?ver=1.12.4-wp:2
    x @ jquery.js?ver=1.12.4-wp:4
    c @ jquery.js?ver=1.12.4-wp:4
    XMLHttpRequest.send (async)
    send @ jquery.js?ver=1.12.4-wp:4
    ajax @ jquery.js?ver=1.12.4-wp:4
    l @ heartbeat.min.js?ver=5.5.1:2
    (anonymous) @ heartbeat.min.js?ver=5.5.1:2
    setTimeout (async)
    d @ heartbeat.min.js?ver=5.5.1:2
    I @ heartbeat.min.js?ver=5.5.1:2
    (anonymous) @ post.min.js?ver=5.5.1:2
    i @ jquery.js?ver=1.12.4-wp:2
    fireWith @ jquery.js?ver=1.12.4-wp:2
    ready @ jquery.js?ver=1.12.4-wp:2
    J @ jquery.js?ver=1.12.4-wp:2
    wp-auth-check.min.js?ver=5.5.1:2 Uncaught TypeError: Cannot read property ‘hasClass’ of undefined
    at HTMLDocument.<anonymous> (wp-auth-check.min.js?ver=5.5.1:2)
    at HTMLDocument.dispatch (jquery.js?ver=1.12.4-wp:3)
    at HTMLDocument.r.handle (jquery.js?ver=1.12.4-wp:3)
    at Object.trigger (jquery.js?ver=1.12.4-wp:3)
    at HTMLDocument.<anonymous> (jquery.js?ver=1.12.4-wp:3)
    at Function.each (jquery.js?ver=1.12.4-wp:2)
    at n.fn.init.each (jquery.js?ver=1.12.4-wp:2)
    at n.fn.init.trigger (jquery.js?ver=1.12.4-wp:3)
    at Object.<anonymous> (heartbeat.min.js?ver=5.5.1:2)
    at i (jquery.js?ver=1.12.4-wp:2)
    (anonymous) @ wp-auth-check.min.js?ver=5.5.1:2
    dispatch @ jquery.js?ver=1.12.4-wp:3
    r.handle @ jquery.js?ver=1.12.4-wp:3
    trigger @ jquery.js?ver=1.12.4-wp:3
    (anonymous) @ jquery.js?ver=1.12.4-wp:3
    each @ jquery.js?ver=1.12.4-wp:2
    each @ jquery.js?ver=1.12.4-wp:2
    trigger @ jquery.js?ver=1.12.4-wp:3
    (anonymous) @ heartbeat.min.js?ver=5.5.1:2
    i @ jquery.js?ver=1.12.4-wp:2
    fireWith @ jquery.js?ver=1.12.4-wp:2
    x @ jquery.js?ver=1.12.4-wp:4
    c @ jquery.js?ver=1.12.4-wp:4
    XMLHttpRequest.send (async)
    send @ jquery.js?ver=1.12.4-wp:4
    ajax @ jquery.js?ver=1.12.4-wp:4
    l @ heartbeat.min.js?ver=5.5.1:2
    (anonymous) @ heartbeat.min.js?ver=5.5.1:2
    setTimeout (async)
    d @ heartbeat.min.js?ver=5.5.1:2
    (anonymous) @ heartbeat.min.js?ver=5.5.1:2
    i @ jquery.js?ver=1.12.4-wp:2
    fireWith @ jquery.js?ver=1.12.4-wp:2
    x @ jquery.js?ver=1.12.4-wp:4
    c @ jquery.js?ver=1.12.4-wp:4
    XMLHttpRequest.send (async)
    send @ jquery.js?ver=1.12.4-wp:4
    ajax @ jquery.js?ver=1.12.4-wp:4
    l @ heartbeat.min.js?ver=5.5.1:2
    (anonymous) @ heartbeat.min.js?ver=5.5.1:2
    setTimeout (async)
    d @ heartbeat.min.js?ver=5.5.1:2
    I @ heartbeat.min.js?ver=5.5.1:2
    (anonymous) @ post.min.js?ver=5.5.1:2
    i @ jquery.js?ver=1.12.4-wp:2
    fireWith @ jquery.js?ver=1.12.4-wp:2
    ready @ jquery.js?ver=1.12.4-wp:2
    J @ jquery.js?ver=1.12.4-wp:2
    wp-auth-check.min.js?ver=5.5.1:2 Uncaught TypeError: Cannot read property ‘hasClass’ of undefined
    at HTMLDocument.<anonymous> (wp-auth-check.min.js?ver=5.5.1:2)
    at HTMLDocument.dispatch (jquery.js?ver=1.12.4-wp:3)
    at HTMLDocument.r.handle (jquery.js?ver=1.12.4-wp:3)
    at Object.trigger (jquery.js?ver=1.12.4-wp:3)
    at HTMLDocument.<anonymous> (jquery.js?ver=1.12.4-wp:3)
    at Function.each (jquery.js?ver=1.12.4-wp:2)
    at n.fn.init.each (jquery.js?ver=1.12.4-wp:2)
    at n.fn.init.trigger (jquery.js?ver=1.12.4-wp:3)
    at Object.<anonymous> (heartbeat.min.js?ver=5.5.1:2)
    at i (jquery.js?ver=1.12.4-wp:2)

    #1428399
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    That’s a javascript error. Could be a plugin or custom function you’re using, maybe? Very difficult for us to tell, unfortunately, as I don’t believe it’s code from the theme.

    #1428666
    Pankaj

    The issue was with classic editor. i wasn’t able to see the content or editing anything. Lots of plugins are not compatible with the theme like auto optimize, classic editor etc.

Viewing 15 posts - 1 through 15 (of 20 total)
  • You must be logged in to reply to this topic.