Title: Twitter Issue
Last modified: May 1, 2017

---

# Twitter Issue

 *  [w7th](https://wordpress.org/support/users/w7th/)
 * (@w7th)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/twitter-issue-2/)
 * Hey,
 * I’ve enabled the Twitter login, but I keep getting the following error when testing:
   
   Fatal error: Cannot declare class OAuthException, because the name is already
   in use in …/wp-content/plugins/accesspress-social-login-lite/twitter/OAuth.php
   on line 8
 * I tried recreating the Twitter app, but that didn’t help.

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

 *  [shanehaden](https://wordpress.org/support/users/shanehaden/)
 * (@shanehaden)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/twitter-issue-2/#post-9116009)
 * Hi there,
 * Thank you for writing in.
    It seems `class OAuthException extends Exception` 
   is called by the other plugins file. So please try to deactivate all other plugins
   then see the progress. If you need any other help later then please feel free
   to ask us.
 * Thank you!!
 *  Thread Starter [w7th](https://wordpress.org/support/users/w7th/)
 * (@w7th)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/twitter-issue-2/#post-9118852)
 * Yeah, it appears you’re correct. Since it’s being called by another plugin, I
   just added an “if” to the plugin’s code in /twitter/OAuth.php.
 * `if (!class_exists(‘OAuthException’)) { …
    -  This reply was modified 8 years, 11 months ago by [w7th](https://wordpress.org/support/users/w7th/).
    -  This reply was modified 8 years, 11 months ago by [w7th](https://wordpress.org/support/users/w7th/).
    -  This reply was modified 8 years, 11 months ago by [w7th](https://wordpress.org/support/users/w7th/).

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

The topic ‘Twitter Issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/accesspress-social-login-lite_692f2e.
   svg)
 * [AccessPress Social Login Lite - Social Login WordPress Plugin](https://wordpress.org/plugins/accesspress-social-login-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accesspress-social-login-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accesspress-social-login-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/accesspress-social-login-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accesspress-social-login-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accesspress-social-login-lite/reviews/)

## Tags

 * [OAuthException](https://wordpress.org/support/topic-tag/oauthexception/)
 * [twitter](https://wordpress.org/support/topic-tag/twitter/)

 * 2 replies
 * 2 participants
 * Last reply from: [w7th](https://wordpress.org/support/users/w7th/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/twitter-issue-2/#post-9118852)
 * Status: not resolved