Title: Error Index
Last modified: January 14, 2021

---

# Error Index

 *  Resolved [afruae](https://wordpress.org/support/users/afruae/)
 * (@afruae)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-index/)
 * Hello,
 * I see 8 Errors Index and pages with “Invalid markup removed: 8”,
    “<script> (
   7)” “sources Magazine”, CSS Usage 10%. I see such notification for all new posts.
   Could you explain to me how to fix it? Google AMP test says all is good. For 
   example, pages with such notification
 *  [https://africabusiness.com/2021/01/14/ending-violence-in-mozambique-will-require-united-effort-african-energy-chamber-stands-ready-to-assist/?amp](https://africabusiness.com/2021/01/14/ending-violence-in-mozambique-will-require-united-effort-african-energy-chamber-stands-ready-to-assist/?amp)
 * [https://africabusiness.com/2020/12/21/ethiopia-unveils-1-january-2021-as-date-for-majority-of-satellite-tv-channels-to-migrate-to-57-degrees-east/?amp](https://africabusiness.com/2020/12/21/ethiopia-unveils-1-january-2021-as-date-for-majority-of-satellite-tv-channels-to-migrate-to-57-degrees-east/?amp)
 * [https://africabusiness.com/2021/01/05/what-the-u-s-political-transition-might-mean-for-africa-generally-and-its-oil-and-gas-sector-in-particular/?amp](https://africabusiness.com/2021/01/05/what-the-u-s-political-transition-might-mean-for-africa-generally-and-its-oil-and-gas-sector-in-particular/?amp)
 * Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-index%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Renee Johnson](https://wordpress.org/support/users/reneesoffice/)
 * (@reneesoffice)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-index/#post-13909973)
 * Hi [@afruae](https://wordpress.org/support/users/afruae/) !
 * It sounds like the [internal validation tool](https://amp-wp.org/documentation/getting-started/developer-tools/)
   is picking up and automatically removing invalid markup on your AMP URLs. That’s
   why it doesn’t show up in the AMP Test tool.
 * Your theme or one of your plugins may not be AMP compatible and could be adding
   invalid markup on AMP URLs. If you could provide a screenshot of what you see
   under _AMP > Validated URLs_, we can see which one is involved under the _Sources_
   column.
 *  Thread Starter [afruae](https://wordpress.org/support/users/afruae/)
 * (@afruae)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-index/#post-13911349)
 * Hi Renee,
 * Thank you very much. Please see attachment [https://ibb.co/Y49sTYh](https://ibb.co/Y49sTYh)
   Thank you!!!!
 *  [Renee Johnson](https://wordpress.org/support/users/reneesoffice/)
 * (@reneesoffice)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-index/#post-13913857)
 * [@afruae](https://wordpress.org/support/users/afruae/) thanks so much for the
   screenshot!
 * It appears your theme Magazine is [adding the invalid markup](https://jmp.sh/0dljuD1)
   to the AMP page. From my testing of the theme, mostly the use JavaScript is responsible
   which is [restricted in AMP](https://amp.dev/documentation/guides-and-tutorials/learn/spec/amphtml/).
 * The AMP plugin catches this and removes the markup from your AMP pages so they
   remain valid AMP. So your AMP pages are serving without issue now. Ideally, the
   theme would not apply the invalid markup on AMP pages. You can reach out to the
   authors to share the errors and ask them if they plan to become AMP compatible
   to avoid this altogether though.

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

The topic ‘Error Index’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Renee Johnson](https://wordpress.org/support/users/reneesoffice/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/error-index/#post-13913857)
 * Status: resolved