Title: AMP validation Error
Last modified: May 23, 2018

---

# AMP validation Error

 *  Resolved [infomyproactiveaccountscom](https://wordpress.org/support/users/infomyproactiveaccountscom/)
 * (@infomyproactiveaccountscom)
 * [8 years ago](https://wordpress.org/support/topic/amp-validation-error-5/)
 * I have received the following error message. Any clue on how to resolve it?
 * Ching
    —————- Warning: There is content which fails AMP validation; it will be
   stripped when served as AMP. Debug
 * Invalid attributes: type
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Famp-validation-error-5%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [8 years ago](https://wordpress.org/support/topic/amp-validation-error-5/#post-10321205)
 * The reason for the complaint is the file input type in the form. This is newly
   supported in AMP and it should be supported in 0.7.2 of the plugin. You can follow
   this for updates: [https://github.com/Automattic/amp-wp/pull/1172](https://github.com/Automattic/amp-wp/pull/1172)
 * Update to 0.7.1 and you should see this warning go away.
 *  [ThecounT](https://wordpress.org/support/users/thecount/)
 * (@thecount)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/amp-validation-error-5/#post-10329960)
 * Hey Weston, getting this error with last two updates. original instal worked.
 * “Warning: preg_replace_callback(): Requires argument 2, ”, to be a valid callback
   in”
 * That is just a snip of error message displaying at top on /amp pages. Had to 
   deactivate.
 * Thanks
    -  This reply was modified 7 years, 12 months ago by [ThecounT](https://wordpress.org/support/users/thecount/).
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/amp-validation-error-5/#post-10330240)
 * [@thecount](https://wordpress.org/support/users/thecount/) Please open a new 
   support topic. Please share the full error message, specifically the file that
   the error is happening in.

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

The topic ‘AMP validation Error’ 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
 * 3 participants
 * Last reply from: [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * Last activity: [7 years, 12 months ago](https://wordpress.org/support/topic/amp-validation-error-5/#post-10330240)
 * Status: resolved