Title: Unknown syntax error on Amp Posts
Last modified: August 31, 2016

---

# Unknown syntax error on Amp Posts

 *  [DesignerJ82](https://wordpress.org/support/users/designerj82/)
 * (@designerj82)
 * [10 years ago](https://wordpress.org/support/topic/unknown-syntax-error-on-amp-posts/)
 * Hi
 * Since using this plugin for amp, my Google Search Console has been reported lotsa
   errors pertaining to “Unknown syntax error” on my posts that has amp versions
   of it.
 * What is wrong and how to fix this?
    Thanks for help 🙁
 * [https://wordpress.org/plugins/amp/](https://wordpress.org/plugins/amp/)

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

 *  [neotrope](https://wordpress.org/support/users/neotrope/)
 * (@neotrope)
 * [10 years ago](https://wordpress.org/support/topic/unknown-syntax-error-on-amp-posts/#post-7347099)
 * Best bet is to actually look at your /amp/ endpoint versions in browser (do view“
   page source”) and see if anything wonky in there, like a minification plugin 
   messing up the code, or some rogue element being injected like javascript, etc.
 *  [idealabs77](https://wordpress.org/support/users/idealabs77/)
 * (@idealabs77)
 * [10 years ago](https://wordpress.org/support/topic/unknown-syntax-error-on-amp-posts/#post-7347103)
 * Suddenly few hours back, these errors came up :
 * The tag ‘li’ is disallowed.
    The tag ‘amp-img’ is disallowed. The tag ‘amp-ad’
   is disallowed. The tag ‘a’ is disallowed. The tag ‘strong’ is disallowed.
 * amp-img & amp-ad disallowed…. Some bug ? (Note: AMP VALIDATIONS SHOWS SUCCESSFUL)
 *  [kimstuart](https://wordpress.org/support/users/kimstuart/)
 * (@kimstuart)
 * [10 years ago](https://wordpress.org/support/topic/unknown-syntax-error-on-amp-posts/#post-7347105)
 * Weird, I just got an email from G about some posts that haven’t been touched 
   in more than a month –
    The attribute ‘lgtitle’ may not appear in tag ‘a’.”

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

The topic ‘Unknown syntax error on Amp Posts’ 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
 * 4 participants
 * Last reply from: [kimstuart](https://wordpress.org/support/users/kimstuart/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/unknown-syntax-error-on-amp-posts/#post-7347105)
 * Status: not resolved