Tag Archive | "tweetable fix"

Tags: , , , , , , , , , , , ,

Tweetable Fatal error: Cannot redeclare class OAuthException

Posted on 05 September 2011 by Moki

Many users of WordPress using the Tweetable plugin are having an error show up that states “Fatal error: Cannot redeclare class OAuthException”.  This error is easily bypassed.  All you need to do is the following.

Tweetable Fatal error: Cannot redeclare class OAuthException FIX:

Remove the following code snippet from the OAuth.php file in the tweetable plugin folder

<br />// vim: foldmethod=marker
/* Generic exception class
*/
class OAuthException extends Exception {/*{{{*/
// pass
}/*}}}*/

The code can be found within the following full snippet:

<?php<br />// vim: foldmethod=marker
/* Generic exception class
*/
class OAuthException extends Exception {/*{{{*/
// pass
}/*}}}*/
class OAuthConsumer {/*{{{*/
public $key;
public $secret;

Comments (0)