Live Blogging
Twitter won't OAuth (5 posts)

  1. bookworm316
    Posted 5 years ago #

    I found when I try to link my twitter account I get this message.

    Fatal error: Cannot redeclare class TwitterOAuth in /home/content/57/4343657/html/bwone/wp-content/plugins/simple-twitter-connect/twitterOAuth.php on line 25

    It seems to have issued with Simple Twitter Connect which is another plugin that I use to auto publish content to twitter. This is what is on line 25 and below. Let me know what I need to do.


    Info starting at line 25 and going down.

    class OAuthToken {
    // access tokens and request tokens
    public $key;
    public $secret;

  2. chrisnorthwood
    Plugin Author

    Posted 5 years ago #

    The other plugin needs to have guards so it doesn't try to redeclare the class if it already exists (my plugin already does this, which is all it can do)

  3. bookworm316
    Posted 5 years ago #

    Ok So i'm guessing here there is no way to use that functionality unless i disable the other plugin

  4. chrisnorthwood
    Plugin Author

    Posted 5 years ago #

    Unfortunately not. Try asking the other plugin author to make a change for his next version though - it's pretty trivial

  5. That wouldn't be enough. STC won't work with your version of the TwitterOAuth Library.

    I renamed my version of the library to avoid the conflict.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Live Blogging
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic