• Error log:
    Fatal error: Cannot redeclare class OAuthException in /home/fliper/webapps/fliper_mag/wp-content/plugins/wp-connect/OAuth/OAuth.php on line 8

    Just check if the class has already exists via function class_exists to solve this problem.

    Please commit a new version to solve this issue, I’m using this plugin in pay version and it’s worked fine, but I don’t want to do this trick after each update.

    HERE IS THE CODE I USED
    in wp-connect/Oauth/Oauth.php:

    7 if( ! class_exists( 'OauthException' ) ) {
     8     class OAuthException extends Exception {
     9         // pass
    10     }
    11 }

    http://ww.wp.xz.cn/plugins/wp-connect/

The topic ‘Fatal Error on posting’ is closed to new replies.