Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Martin Tod

    (@mpntod)

    That’s interesting!

    Which other Twitter plug-ins are you using? Or do you have a template that uses Twitter?

    I’ve uploaded a development version to here which should address the problem.

    Thread Starter williamr4j

    (@williamr4j)

    I think the template may have some social connection plugins built in but it doesn’t have a widget that rotates like this. I uploaded the plugin you gave to me and it dropped my site entirely, giving me this: Fatal error: include() [function.include]: Cannot redeclare class wp_twitteroauth in /home/content/61/10600661/html/wp-content/themes/spotfinder/includes/widgets/tweets/functions.php on line 3

    Plugin Author Martin Tod

    (@mpntod)

    What’s on that line?

    Unfortunately, it’s a paid-for template, so I can’t see what the code says.

    You probably need to do something like the fix I’ve put into Rotating Tweets – adding something like this to the relevant area of the code:

    if(!class_exists('wp_TwitterOauth')):
       ...
    endif;

    Martin

    Thread Starter williamr4j

    (@williamr4j)

    include(‘TwitterAPIExchange.php’);

    Plugin Author Martin Tod

    (@mpntod)

    Aha. I’ve uploaded a new version. Does that work for you?

    Martin

    Thread Starter williamr4j

    (@williamr4j)

    Worked perfect!

    Thank you Martin.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal Error’ is closed to new replies.