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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter AntaresMHD

    (@antaresmhd)

    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.

    Thread Starter AntaresMHD

    (@antaresmhd)

    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.

    Paula

    (@paulalatifa)

    I have exactly the same problem.

    Is there a sollution for this yet?

    Plugin Author Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    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.

    Paula

    (@paulalatifa)

    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!

    Plugin Author Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Simple Twitter Connect] Error when trying to authenticate with Twitter’ is closed to new replies.