Title: Internal Server Error when validating AMP
Last modified: July 29, 2019

---

# Internal Server Error when validating AMP

 *  [brandon1548](https://wordpress.org/support/users/brandon1548/)
 * (@brandon1548)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/internal-server-error-when-validating-amp/)
 * I am trying to use transitional mode and I keep getting the error:
 * ‘Transitional mode activated! However, there was an error when checking the AMP
   validity for your site. Internal Server Error.’
 * I threw my site into troubleshooting mode, disabled all plugins (including theme),
   cleared cache(s), spoke with my hosting company who verified they aren’t the 
   reason for the issue but I cannot figure out what is causing the problem. Same
   thing occurs with Standard mode. Any help would be appreciated.

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

 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/internal-server-error-when-validating-amp/#post-11779737)
 * Please look at the PHP error logs to determine what the error is.
 *  [krapalm](https://wordpress.org/support/users/krapalm/)
 * (@krapalm)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/internal-server-error-when-validating-amp/#post-11795156)
 * [[
    -  This reply was modified 6 years, 10 months ago by [krapalm](https://wordpress.org/support/users/krapalm/).
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/internal-server-error-when-validating-amp/#post-11795896)
 * That’s actually not the error log. Here’s how to configure WordPress to write
   errors to a specific log location: [https://wordpress.org/support/article/debugging-in-wordpress/#wp_debug_log](https://wordpress.org/support/article/debugging-in-wordpress/#wp_debug_log)
 *  [krapalm](https://wordpress.org/support/users/krapalm/)
 * (@krapalm)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/internal-server-error-when-validating-amp/#post-11797128)
 * [[
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/internal-server-error-when-validating-amp/#post-11797164)
 * This is still not the PHP error log.
 *  [krapalm](https://wordpress.org/support/users/krapalm/)
 * (@krapalm)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/internal-server-error-when-validating-amp/#post-11797307)
 * [[
 * [[
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/internal-server-error-when-validating-amp/#post-11798480)
 * Thank you. This issue has come up before.
 * What is the URL to your site so we can see the stylesheets being used?
 * The error is apparently due to your theme having a very large stylesheet and 
   you don’t have enough memory allowed.
 * Someone else fixed the problem by increasing the `MEMORY_LIMIT`: [https://wordpress.org/support/topic/amp-long-way-home/#post-10938544](https://wordpress.org/support/topic/amp-long-way-home/#post-10938544)
 * See also [https://github.com/ampproject/amp-wp/issues/1914](https://github.com/ampproject/amp-wp/issues/1914)
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/internal-server-error-when-validating-amp/#post-11798490)
 * You do have a 134MB memory limit which should be more than enough, but again,
   if your theme has very large stylesheets then this error could still happen. 
   Please share your stylesheets.
 *  [krapalm](https://wordpress.org/support/users/krapalm/)
 * (@krapalm)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/internal-server-error-when-validating-amp/#post-11799378)
 * memory limit 256
 * [[

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

The topic ‘Internal Server Error when validating AMP’ 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/)

 * 9 replies
 * 3 participants
 * Last reply from: [krapalm](https://wordpress.org/support/users/krapalm/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/internal-server-error-when-validating-amp/#post-11799378)
 * Status: not resolved