Title: Amp scan failed
Last modified: March 8, 2024

---

# Amp scan failed

 *  Resolved [Naveen Kumar](https://wordpress.org/support/users/naveenparmuwal/)
 * (@naveenparmuwal)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/amp-scan-failed-3/)
 * Site scan always goes failed. screenshot- [Upload and share screenshots and images – print screen online | Snipboard.io](https://snipboard.io/MQY8iW.jpg)
 * Support ID – ampwp-dea40703-9a7a-5476-87ec-8f1f1bf3acf6
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Famp-scan-failed-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/amp-scan-failed-3/#post-17484776)
 * Hello [@naveenparmuwal](https://wordpress.org/support/users/naveenparmuwal/)
 * Thank you for contacting us, it may be an issue or conflict with Litespeed plugin
   which is adding comments in JSON response.
 * Can you please add the following code snippet to your active theme’s functions.
   php file or in the custom plugin and check if that works for you?
 * `add_filter( 'litespeed_comment', '__return_false' );`
 * I hope this is helpful!
 *  Thread Starter [Naveen Kumar](https://wordpress.org/support/users/naveenparmuwal/)
 * (@naveenparmuwal)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/amp-scan-failed-3/#post-17484795)
 * Sorry, I’m not coding expert.
 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/amp-scan-failed-3/#post-17489886)
 * Hello [@naveenparmuwal](https://wordpress.org/support/users/naveenparmuwal/)
 * Adding code snippets to your theme’s functions.php file
    Theme Functions (functions.
   php) is the main file to add your custom code (in PHP language) to customize 
   and/or change the behavior of the theme or any plugin.
 * Disclaimer : Please follow the instructions to adding code snippet mentioned 
   below at your own risk.
 * To add your code to functions.php go to:
 * Please goto -> WP Admin->Appearance->Theme Editor
 * Select the Theme Functions (functions.php) file from the sidebar on the right.
 * Add the code snippet mentioned below at the bottom of the page (before the PHP
   closing tag ?> if this is present)
 * `add_filter( 'litespeed_comment', '__return_false' );`
 * Click Save Changes
 * ![](https://i0.wp.com/www.wpbookingsystem.com/wp-content/uploads/2022/03/functions-
   php-file.jpg?ssl=1)
 * We hope this helps in you understand how to add code snippet in your functions.
   php.
 *  Thread Starter [Naveen Kumar](https://wordpress.org/support/users/naveenparmuwal/)
 * (@naveenparmuwal)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/amp-scan-failed-3/#post-17490011)
 * Thanks!! its work
 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/amp-scan-failed-3/#post-17500763)
 * [@naveenparmuwal](https://wordpress.org/support/users/naveenparmuwal/) Glad our
   suggestion is helpful, I’ll mark this 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 scan failed’ 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/)

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