• 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)
  • 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

    (@w7th)

    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 7 years, 6 months ago by w7th.
    • This reply was modified 7 years, 6 months ago by w7th.
    • This reply was modified 7 years, 6 months ago by w7th.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Twitter Issue’ is closed to new replies.