• Resolved mcurrale

    (@mcurrale)


    Hi.

    I can not get this to work when trying to log into Twitter.

    I get the following error.

    Fatal error: Cannot redeclare class OAuthSignatureMethod_HMAC_SHA1 in /home/blinavrk/public_html/wp-content/plugins/social-connect/twitter/twitteroauth/OAuth.php on line 120

    Everything seems to be set up correctly in the Twitter app and on the plugin’s settings page.

    Any help would be appreciated, otherwise I’ll be moving on to another plugin which will hopefully solve the issue.

    Many Thanks.

    http://www.blindsportsradio.com/

    https://wordpress.org/plugins/social-connect/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Rodrigo Primo

    (@rodrigosprimo)

    It is likely that you have another plugin enabled that also uses twitteroauth library. If you try Social Connect with all the other plugins disabled it should work.

    Thread Starter mcurrale

    (@mcurrale)

    Hi.

    That’s all very well, but I need my other plugins in order for my website to function correctly.

    Your plugin seems to be conflicting with the Xhanch – My Twitter plugin.

    I have ensured that I have separate applications set up in Twitter for both your plugin and the Xhanch – My Twitter plugin, but I still get the same error.

    Any other suggestions?

    Plugin Author Rodrigo Primo

    (@rodrigosprimo)

    You are right, there is a conflict between Social Connect and Xhanch. Both are including the same library, TwitterOAuth.

    Could you please test the commit below and check if it fixes the problem in your case? I added a check to make sure TwitterOAuth is not available already before including it. I’m not sure if this is the best approach. It my create problems if an version of TwitterOAuth that is not compatible with Social Connect is distributed by another plugin. I don’t know if there is a better solution to this problem.

    https://github.com/rodrigoprimo/social-connect/commit/fbbc810d3444de899091b177929ae38325e92d2d

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Twitter Log In Not Working’ is closed to new replies.