AMP Plugin Errors in Google due to repeated ‘hidden’ tags

This topic has 6 replies, 2 voices, and was last updated 2 years, 6 months ago ago by Olga Barlow

  • Avatar: DebbieC
    DebbieC
    Participant
    May 5, 2022 at 08:43

    I installed the AMP plugin yesterday but had to deactivate it when I saw my site on mobile. It is a shame that you cannot use the ‘settings’ while the plugin is deactivated because the site looks a mess for any site visitors who may view it while I am setting it up to how I want it. It would be much better if you could set up the plugin, then activate it when the site is ready. Is there no way to do this?

    Although the plugin is deactivated and I have cleared cache’s, today I have error messages from Google Webmasters AMP ISSUES – An HTML tag contains the same attribute repeated multiple times. The tag in question appears to be ‘hidden’, which now appears in my code 41 times on each page. How can I fix this?
    Thanks, Debbie

    5 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 5, 2022 at 18:23

    Hello,

    1) Unfortunately, you can get access to plugin settings only if this is activated. You can enable Maintenance mode till you finish.

    2) Could you, please, provide us with a screenshot of the error for better understanding? What tag has the hidden attribute that is not suitable for you? Provide us with the screenshot, please.

    Regards

    Avatar: DebbieC
    DebbieC
    Participant
    May 6, 2022 at 08:12

    There is no screenshot I can provide really as I am not sure what exactly the problem is to screenshot.

    This is the warning I got from Google Search Console
    AMP issues detected on https://www.swankypins.co.uk/

    The following warnings were found on your site:
    An HTML tag contains the same attribute repeated multiple times.

    As Google does not give any clues about the Tag causing the problems, it is very difficult to see what the problem causing the validation error is.

    Now I have ‘fixed’ it by removing the plugin and asking Google to rescan the affected pages, on checking this morning there are no more errors. I do want to use the plugin though as my site is slow on mobile but I will probably get this same problem again if I activate it. Have you not heard of this problem before?

    Please let me know where is the maintenance mode in the plugin so I can set it up in my own time. Thanks, Debbie

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 6, 2022 at 10:02

    Hello,

    Nope, we did not get reports about tags. So, you can try to enable the plugin, add our email 8themes@gmail.com to the list of developers in your Google search console to allow us to check the errors you get there and we’ll try to fix them.

    You can use https://wordpress.org/plugins/wp-maintenance-mode/ to enable maintenance mode.

    Regards

    Avatar: DebbieC
    DebbieC
    Participant
    May 6, 2022 at 10:49

    Ok I will add your email to search console but I didn’t realise that maintenance mode will put the whole site offline. I cannot do that, it may take me at least a few hours to get it right. i will have to leave this project until i have more time to set up a staging site to work on.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 6, 2022 at 11:18

    Hello,

    Ok. Take your time.

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.