Title: Fatal error after PHP update
Last modified: August 30, 2016

---

# Fatal error after PHP update

 *  [600lines](https://wordpress.org/support/users/600lines/)
 * (@600lines)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-after-php-update/)
 * I know this question has already been answered, but I cannot seem to find a solution
   to getting Keyring to work. I have turned off all plugins, upgraded PHP, and 
   even talked to my technical support for my hosting.
 * This is the error I get:
 * [Thu Nov 12 21:43:36 2015] [error] [client 50.22.14.98] PHP Fatal error: Cannot
   redeclare class OAuthException in /home/samysphotoschool/public_html/test/wp-
   content/plugins/keyring/includes/oauth-php/OAuth.php on line 8
 * From my understanding, there’s an issue with another class already declaring 
   the OAuthException. My question is if there’s a way to get the plugin to first
   check if the class has been declared, which I was told was a pretty common occurrence
   that plugins first try to check.
 * Any help you could provide would be greatly appreciated. I hope this could help
   more people in the same situation. Thanks!
 * [https://wordpress.org/plugins/keyring/](https://wordpress.org/plugins/keyring/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Beau Lebens](https://wordpress.org/support/users/beaulebens/)
 * (@beaulebens)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-after-php-update/#post-6745712)
 * Please update to the latest version (1.6.2) which now includes a check against
   this, and let me know if that works. Unfortunately it’s possible there are still
   going to be conflicts/problems, because your server is configured in a fundamentally
   incompatible way, but you never know, it might work 🙂

Viewing 1 replies (of 1 total)

The topic ‘Fatal error after PHP update’ is closed to new replies.

 * ![](https://ps.w.org/keyring/assets/icon-256x256.png?rev=1824013)
 * [Keyring](https://wordpress.org/plugins/keyring/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/keyring/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/keyring/)
 * [Active Topics](https://wordpress.org/support/plugin/keyring/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/keyring/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/keyring/reviews/)

## Tags

 * [declaration](https://wordpress.org/support/topic-tag/declaration/)
 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [OAuthException](https://wordpress.org/support/topic-tag/oauthexception/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 1 reply
 * 2 participants
 * Last reply from: [Beau Lebens](https://wordpress.org/support/users/beaulebens/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-after-php-update/#post-6745712)
 * Status: not resolved