Title: AMP SOMETIMES ERROR
Last modified: October 4, 2022

---

# AMP SOMETIMES ERROR

 *  Resolved [okidoki21](https://wordpress.org/support/users/okidoki21/)
 * (@okidoki21)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/amp-sometimes-error/)
 * Hi, i have amp plugin on my site. But sometimes when i published article it show
   me warning AMP not valid on google search console (Custom Javascript not allowed).
   
   I’m not tech savy but can you help or guide me to fix it? Below are example of
   the page with the error.
 * [https://www.greenscene.co.id/2022/10/04/avengers-secret-wars-gandeng-penulis-doctor-strange-2/](https://www.greenscene.co.id/2022/10/04/avengers-secret-wars-gandeng-penulis-doctor-strange-2/)

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

 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/amp-sometimes-error/#post-16068351)
 * Hello [@okidoki21](https://wordpress.org/support/users/okidoki21/)
 * Thank you for contacting us, As we checked your site on the [AMP validator](https://validator.amp.dev/#url=https%3A%2F%2Fwww.greenscene.co.id%2F2022%2F10%2F04%2Favengers-secret-wars-gandeng-penulis-doctor-strange-2%2F%3Famp)
   and [AMP test](https://search.google.com/test/amp/result?id=uZO5eAVqxnpg5KG6RLQ9Kw)
   we found that you have a validation issue.
 * The validation issues might be originated from the way your site is adding newrelic
   browser agents.
 * Usually, it should be disabled using [newrelic_disable_autorum()](https://docs.newrelic.com/docs/apm/agents/php-agent/php-agent-api/newrelic_disable_autorum/)
   and provision for same has been made in [AMP plugin](https://github.com/ampproject/amp-wp/blob/develop/includes/class-amp-theme-support.php#L1714).
 * I will recommend contacting your hosting provider or whoever is responsible for
   setting up newrelic as they can help you fix it.
 * I hope this helps!
 *  [okyhandiman](https://wordpress.org/support/users/okyhandiman/)
 * (@okyhandiman)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/amp-sometimes-error/#post-16069221)
 * [@milindmore22](https://wordpress.org/support/users/milindmore22/) hi it’s me
   with another account.
    I was trying to turn on new relic from my server panel.
   Then i was asking to my server support but they can help me because it’s need
   to be done from website end. Can you help me to guide how to fix it?
 *  [okyhandiman](https://wordpress.org/support/users/okyhandiman/)
 * (@okyhandiman)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/amp-sometimes-error/#post-16069232)
 * and i was turn off new relic service from server panel, but the problem still
   exist.
 *  [okyhandiman](https://wordpress.org/support/users/okyhandiman/)
 * (@okyhandiman)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/amp-sometimes-error/#post-16069467)
 * hi the problem are fixed. thank you!
 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/amp-sometimes-error/#post-16071043)
 * Hello [@okyhandiman](https://wordpress.org/support/users/okyhandiman/) / [@okidoki21](https://wordpress.org/support/users/okidoki21/)
 * Yes, I can confirm that AMP issues have been resolved by testing them on [AMP Test](https://search.google.com/test/amp/result?id=15sIeeSXszZSYPGfSWNyKg).
 * Sorry for the delayed response due to different time zones Glad you are able 
   to fix the issue.
 * I’ll mark this topic as resolved Open a [new support topic](https://wordpress.org/support/plugin/amp/#new-topic-0)
   if you face further issues, also feel free to [leave a plugin review](https://wordpress.org/support/plugin/amp/reviews/#new-post),
   we would love to hear your feedback.

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

The topic ‘AMP SOMETIMES 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/)

## Tags

 * [amp error](https://wordpress.org/support/topic-tag/amp-error/)

 * 5 replies
 * 3 participants
 * Last reply from: [Milind More](https://wordpress.org/support/users/milindmore22/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/amp-sometimes-error/#post-16071043)
 * Status: resolved