Title: Problem with AMP plugin php fatal errors
Last modified: September 20, 2018

---

# Problem with AMP plugin php fatal errors

 *  [shanthipriya](https://wordpress.org/support/users/shanthipriya/)
 * (@shanthipriya)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/problem-with-amp-plugin-php-fatal-errors/)
 * Hi, Currently we are having issues with the AMP plugin as we are using AMP version
   0.7.1 in our wordpress version 4.9.6 and we are getting php fatal errors which
   is causing 500 errors and website is down. We are getting following php errors
   in log file
 * PHP Fatal error: Cannot redeclare class AMP_Rule_Spec in \wp-content\plugins\
   amp\includes\sanitizers\class-amp-rule-spec.php on line 13
 * PHP Fatal error: Call to undefined function is_single() in \wp-content\themes\
   arre\amp\single.php on line 2
 * Can you please help in understanding this errors in AMP plugin and why this are
   getting triggered in some particular time?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/problem-with-amp-plugin-php-fatal-errors/#post-10708123)
 * It sounds like you may have two copies of the AMP plugin active.

Viewing 1 replies (of 1 total)

The topic ‘Problem with AMP plugin php fatal errors’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/problem-with-amp-plugin-php-fatal-errors/#post-10708123)
 * Status: not resolved