Cannot redeclare class OAuthException

682 views
Skip to first unread message

TwitterApps

unread,
Aug 8, 2010, 10:10:00 AM8/8/10
to Twitter Development Talk
Im using http://github.com/abraham/twitteroauth and getting an error

"Fatal error: Cannot redeclare class OAuthException in /home/vietnam/
public_html/twitteroauth/OAuth.php on line 8"

Abraham Williams

unread,
Aug 8, 2010, 11:06:35 PM8/8/10
to twitter-deve...@googlegroups.com
It means you are including the OAuthException class twice in your project. Once is probably from a PECL OAuth extension.

Have a look at: http://github.com/abraham/twitteroauth/issues/issue/24

Abraham
-------------
Abraham Williams | Hacker Advocate | http://abrah.am
@abraham | http://projects.abrah.am | http://blog.abrah.am
This email is: [ ] shareable [x] ask first [ ] private.
Reply all
Reply to author
Forward
0 new messages