Title: AMP Validation error with Generatepress theme
Last modified: November 18, 2021

---

# AMP Validation error with Generatepress theme

 *  Resolved [Anuj](https://wordpress.org/support/users/anujmakhloga/)
 * (@anujmakhloga)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/amp-validation-error-with-generatepress-theme/)
 * Hi,
 * I am getting amp validation error with the theme, along with several other plugins.
   I reached to plugin support and they asked me to changed amp supported plugin
   and same goes for the theme.
 * Isn’t it compatible with amp? I guess it is fully compatible but still getting
   errors, though. Could be my fault, don’t know.
 * Have a look –
 * [Screenshotupperpart1](https://ibb.co/FhJ9FtB)
    [Screenshotremainigpart](https://ibb.co/GRgknQP)
   [wp-include](https://ibb.co/7JhRkLR)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Famp-validation-error-with-generatepress-theme%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [David](https://wordpress.org/support/users/diggeddy/)
 * (@diggeddy)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/amp-validation-error-with-generatepress-theme/#post-15082050)
 * Hi there,
 * do you have the GP Amp plugin installed?
 * [https://docs.generatepress.com/article/amp-compatibility/](https://docs.generatepress.com/article/amp-compatibility/)
 * As that will disable the themes JS files
 *  Thread Starter [Anuj](https://wordpress.org/support/users/anujmakhloga/)
 * (@anujmakhloga)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/amp-validation-error-with-generatepress-theme/#post-15082067)
 * Yes, I have installed the mentioned plugin since when I activated this official
   AMP plugin.
 *  Theme Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/amp-validation-error-with-generatepress-theme/#post-15086963)
 * Hi there,
 * Can you download the plugin that David mentioned again and install it over your
   current version? We updated it when GP 3.1.0 came out to fix this issue.
 * Let us know 🙂
 *  Thread Starter [Anuj](https://wordpress.org/support/users/anujmakhloga/)
 * (@anujmakhloga)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/amp-validation-error-with-generatepress-theme/#post-15087250)
 * Thank you.
 * The issue is solved now with generatepress. But, there are some “wp-includes”
   invalid scripts. I don’t know where to go for those scripts.
 * [img1](https://ibb.co/FWbTmhS)
 * [img2](https://ibb.co/6YSRn5b)
 * Also, do I have to always uninstall and reinstall this plugin after every update?
 *  Theme Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/amp-validation-error-with-generatepress-theme/#post-15088922)
 * As a guess, I’d say you have javascript inside your widgets (`<aside>` elements).
 * No, you don’t have to do it after every update, but we will update it every once
   in a while, so until we add it to the plugin repo you will have to manually update
   it if we make changes. If you run into theme-related AMP issues, feel free to
   let us know and we can update the plugin (or let you know that it’s already been
   updated).
 * Thanks!
 *  Thread Starter [Anuj](https://wordpress.org/support/users/anujmakhloga/)
 * (@anujmakhloga)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/amp-validation-error-with-generatepress-theme/#post-15089103)
 * Thanks.
 * There’s an ad (html from adsense, no plugin) placed via widgets. And it’s only
   for the non-amp version, why am I getting this error for amp and how to resolve
   it?
 *  [David](https://wordpress.org/support/users/diggeddy/)
 * (@diggeddy)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/amp-validation-error-with-generatepress-theme/#post-15089673)
 * I would suggest asking the AMP Plugin support – if the Sidebar contains no AMP
   advert script then it should not be getting flagged.
 *  Thread Starter [Anuj](https://wordpress.org/support/users/anujmakhloga/)
 * (@anujmakhloga)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/amp-validation-error-with-generatepress-theme/#post-15092294)
 * Thank you…created a topic for the same.
 *  [David](https://wordpress.org/support/users/diggeddy/)
 * (@diggeddy)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/amp-validation-error-with-generatepress-theme/#post-15092434)
 * You’re welcome

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘AMP Validation error with Generatepress theme’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/generatepress/3.6.1/screenshot.
   png)
 * GeneratePress
 * [Support Threads](https://wordpress.org/support/theme/generatepress/)
 * [Active Topics](https://wordpress.org/support/theme/generatepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/generatepress/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/generatepress/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [David](https://wordpress.org/support/users/diggeddy/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/amp-validation-error-with-generatepress-theme/#post-15092434)
 * Status: resolved