WordPress.org

Ready to get started?Download WordPress

Forums

Simple Twitter Connect
Error when trying to authenticate with Twitter (7 posts)

  1. AntaresMHD
    Member
    Posted 3 years ago #

    I've been having a weird problem with the application when trying to use it in my site. I have a Multisite installation, and every subsite has a different Twitter account for auto-publishing (which is the addon I'm trying to use). Thing is, it worksion only one of them, on the first one I installed (which was a test subsite). On the other subsites, I keep getting this error:

    Fatal error: Cannot redeclare class OAuthSignatureMethod_HMAC_SHA1 in (...)/wp-content/plugins/simple-twitter-connect/OAuth.php on line 82

    Is it because I can't use the same app on the same site? Do I have to create several apps for every subsite? Does the callback URL setting make any difference?

    Edit: I deleted it all, and created another app with the same twitter account, with a different callback URL (referencing the other subsite where I want to use the plugin). Same error happened. I'm going to try using a separate twitter account with another app and see what happens.

  2. AntaresMHD
    Member
    Posted 3 years ago #

    I tried to use a separate Twitter account with its individual app for tweeting for another subsite, and it doesn't work. It seems as if I can't use the plugin in a Multisite, because it works only for one of the subsites created. At least in the case for Publish.

    Unless it's a plugin conflict, but I don't think that's the issue since I don't have anything else enabled that could interfere with it.

  3. AntaresMHD
    Member
    Posted 3 years ago #

    So... Nothing?
    I noticed two new updates which I've applied, but this problem still persists. When I try to authenticate, it still shows this message:

    Fatal error: Cannot redeclare class OAuthSignatureMethod_HMAC_SHA1 in /home/content/i/m/a/imacion/html/comunicas/wp-content/plugins/simple-twitter-connect/OAuth.php on line 82

    Everything is on its place, so I know it's not a problem of following instructions.

  4. Paula
    Member
    Posted 3 years ago #

    I have exactly the same problem.

    Is there a sollution for this yet?

  5. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 3 years ago #

    The problem is that you have some other plugin which uses the same OAuth library, and that other plugin is conflicting. Remove the other plugin.

  6. Paula
    Member
    Posted 3 years ago #

    Thank you Otto, you were right. My bad, I could've thought of that myself. In my case it was the YOURLS plugin that was the bad guy, don't really need it so removed it, as suggested and now everything's working again.

    Just to let you know: I love SFC and STC. Keep up the good work!

  7. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 3 years ago #

    I had the same problem with YOURLS which is why I made a modified version of it:
    http://ottopress.com/2011/modified-yourls-plugin/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic