• Resolved Andrew Leonard

    (@andrewleonard)


    I am getting the following errors from Google Search Console
    I built my web story usingr the Google Plugin Web Stories Version 1.1.0
    Tag ‘amp-story’ is not allowed to have any sibling tags (‘body’ should only have 1 child).
    Custom JavaScript is not allowed.
    HTML Event attributes, aka ‘on*’, are not allowed in AMP. Instead use ‘amp-bind’.

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

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support Luckyna San

    (@luckynasan)

    @andrewleonard Thank you for reaching out with your topic. Do you have WP Fastest Cache plugin activated? Could you try to add a rule to exclude any pages with “/web-stories/” in the URL?

    Thread Starter Andrew Leonard

    (@andrewleonard)

    I do not have WP Fastest Cache plugin

    I do have Fast Velocity Minify Version 2.8.9 By Raul Peixoto

    Plugin Support Luckyna San

    (@luckynasan)

    @andrewleonard Is there a way to exclude the “/web-stories/” URL in the settings?

    Plugin Author Pascal Birchler

    (@swissspidy)

    I see some custom JavaScript being added by a cookie consent plugin and the Tribe events manager plugin. That causes invalidation too.

    Thread Starter Andrew Leonard

    (@andrewleonard)

    @luckynasan I do not know any way of doing this
    @swissspidy Are you sugesting that I stop using these plugins?

    Plugin Author Pascal Birchler

    (@swissspidy)

    I haven’t suggested anything yet ??

    It looks like you are using NextGen Gallery, which might cause the issues with the other plugins.

    Could you tell us what plugin you are using for the cookie banner?

    This way we can do some testing ourselves to see what the next steps are.

    Thread Starter Andrew Leonard

    (@andrewleonard)

    GDPR Cookie Consent Banner Version 2.3.15 by termly

    Plugin Support Luckyna San

    (@luckynasan)

    @andrewleonard Thanks for providing the info. We are tracking incompatibility with NextGen Gallery in this GitHub ticket and are working on improvements to prevent issues with NextGen in the future. We will be sure to provide you with any updates.

    Plugin Author Pascal Birchler

    (@swissspidy)

    Could you try updating to the 1.1.1 version of the plugin? The conflicts with NextGen Gallery should be resolved there now.

    Thread Starter Andrew Leonard

    (@andrewleonard)

    My version is 1.1.1
    I have delete Nextgen (I wanted to anyway)
    I have update the web story
    I have (attempted) to validate all 3 fixes to errors
    I get this report in AMP in Google Search Console

    Details
    Status	Type	Validation	Trend	Pages
    Error	Tag 'amp-story' is not allowed to have any sibling tags ('body' should only have 1 child).	
    Started
    1
    Error	Custom JavaScript is not allowed.	
    Started
    1
    Error	HTML Event attributes, aka 'on*', are not allowed in AMP. Instead use 'amp-bind'.	
    Started
    1
    Error	Disallowed attribute or attribute value present in HTML tag.	
    Passed
    0

    I am not positive Google has fully re-evaluted the web-story, however it does say:
    Tested on: Nov 13, 2020 at 9:47 AM
    Valid Web Story
    Web Story is eligible for AMP search features in Google search results

    Plugin Author Pascal Birchler

    (@swissspidy)

    Perhaps it’s a stale result. Looking at for example https://ebps.org.uk/web-stories/bps/ and https://ebps.org.uk/web-stories/growing-ferns-from-spores/, they both validate in the Web Stories Test Tool, so from what I can tell it looks all good!

    Thread Starter Andrew Leonard

    (@andrewleonard)

    Google Search Console team have just emailed me to say all the issues have been fixed

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Google Search Console errors’ is closed to new replies.