WordPress.org

Support

Support » Plugins and Hacks » Simple Twitter Connect » [Plugin: Simple Twitter Connect] Comment with twitter: PHP Fatal Error. Conflict or bug?

[Plugin: Simple Twitter Connect] Comment with twitter: PHP Fatal Error. Conflict or bug?

  • This is what happens when somebody tries to authenticate with Twitter.
    PHP Fatal error: Cannot redeclare class twitteroauth in /public_html/wp-content/plugins/simple-twitter-connect/twitterOAuth.php on line 22

    I’m using a WP network, but I don’t think that it should be a problem.
    Other plugins that post to Twitter also use OAuth, but I don’t think they would name the class exactly the same?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m actually having the same problem with WP Multisite, I posted about it a few days ago. Maybe it’s related to it.

    For what its worth, I’m not using the Simple Twitter Connect plugin, but I am running a WP3.0.1 multisite network, and I’m receiving the same error on a plugin that I wrote. I’m confused as to why this is happening now, it was working fine before… but I’d recommend looking into the WP Multisite matter a little further… I’m seeing the same error message on a different plugin. Good luck.

    Thanks for sharing 🙂
    Let us know if you find a fix.
    I’m thinking that everybody had to switch to oauth and everybody is including the class in their plugin and that generates the conflict.

    The plugin should use:
    if( !class_exists(‘TwitterOAuth’) )

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Simple Twitter Connect] Comment with twitter: PHP Fatal Error. Conflict or bug?’ is closed to new replies.
Skip to toolbar