Title: Plugin Issues
Last modified: August 21, 2016

---

# Plugin Issues

 *  Resolved [Stringman](https://wordpress.org/support/users/banjohead/)
 * (@banjohead)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-issues-7/)
 * Hi, I’m wondering if you would be willing to help me troubleshoot the plugin 
   behavior. I configured my twitter API, the various API settings for the plugin
   and dropped the Twitter widget into a sidebar. No feed displays and the resulting
   html output breaks the widget area. From looking at the source, there appears
   to be a missing closing tag in the output, throwing off the remaining html formatting.
 * Thanks,
 * Dave
 * [http://wordpress.org/extend/plugins/display-tweets-php/](http://wordpress.org/extend/plugins/display-tweets-php/)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Thread Starter [Stringman](https://wordpress.org/support/users/banjohead/)
 * (@banjohead)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-issues-7/#post-3665414)
 * I went ahead and checked to make sure the same issue exists if using the php 
   code implementation:
 * <?php if ( function_exists( “display_tweets” ) ) { display_tweets(); } ?>
 * The same issue occurs. Broken html output and no twitter feed. Thanks in advance,
   Dave
 *  Plugin Author [MatthewRuddy](https://wordpress.org/support/users/matthewruddy/)
 * (@matthewruddy)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-issues-7/#post-3665626)
 * Weird, not having the issue here. The widget only adds “<p>” around each tweets,
   which is closed in the page source. Might have missed something elsewhere. Did
   you find the missing HTML? I’ll do some validation checks myself.
 * Tried with any different themes to make sure it isn’t theme specific?
 *  Thread Starter [Stringman](https://wordpress.org/support/users/banjohead/)
 * (@banjohead)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-issues-7/#post-3665646)
 * I tested it on the 2012 theme and it works fine. The site I’m having problems
   with is using a child theme I created on the popular “Responsive” theme. All 
   of the other widgets I install are working fine. I’m not sure what the problem
   is, but it does appear to be theme related. Any suggestions on how to find the
   problem within my theme that would cause this?
 * I love the time stamp on the tweets, and noticed it has a class on it. That is
   extremely helpful for styling the tweet output. I really like the way you set
   it up. I hope to use your plugin more in the future.
 * Thanks,
 * Dave
 *  Plugin Author [MatthewRuddy](https://wordpress.org/support/users/matthewruddy/)
 * (@matthewruddy)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-issues-7/#post-3665650)
 * Thanks Dave, plugin is really tailored to developers so it’s all nice and simple
   and easy to manipulate if needed.
 * Not sure what could be occurring. Do you get any HTML validation errors when 
   running it through the W3C validator? Could point out some HTML missed tags or
   issues.
 * The theme can append/prepend HTML to the widget title tags, or even add HTML 
   before or after the widget content itself. If a tag hasn’t been closed correctly,
   you’ll get issues like this.
 *  Thread Starter [Stringman](https://wordpress.org/support/users/banjohead/)
 * (@banjohead)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-issues-7/#post-3665651)
 * I turned on debugging in the wp-config file and the output at the plugin location
   was: Fatal error: Cannot redeclare class OAuthException in /wp-content/plugins/
   display-tweets-php/includes/Twitter/twitteroauth/OAuth.php on line 8.
 * I went through and deactivated all of the other social plugins on the site that
   might be using Oauth and eventually found the conflict was with a plugin called
   Yelp It, which is used to display Yelp reviews. After disabling it, your plugin
   was fine. I turned on the other social plugins and everything remained stable.
   I don’t know if there is a way to define the class OAuthException with a different
   name to avoid the collision, but it seems like that would be the solution for
   the future.
 * Thanks for you help,
 * -Dave
 *  Plugin Author [MatthewRuddy](https://wordpress.org/support/users/matthewruddy/)
 * (@matthewruddy)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-issues-7/#post-3665652)
 * Thanks Dave, I’ll definitely add a `class_exists` check in the next update!
 *  Thread Starter [Stringman](https://wordpress.org/support/users/banjohead/)
 * (@banjohead)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-issues-7/#post-3665653)
 * Cool. I’ll look for it. Until then, Yelp can stay turned off. That whole Yelp
   thing is a little bogus anyway…
 *  Plugin Author [MatthewRuddy](https://wordpress.org/support/users/matthewruddy/)
 * (@matthewruddy)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-issues-7/#post-3665654)
 * Haha, that’s a pity. Let me know if you spot any other bugs! Greatly appreciated.
 *  Thread Starter [Stringman](https://wordpress.org/support/users/banjohead/)
 * (@banjohead)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-issues-7/#post-3665655)
 * You bet. Thanks again.
 *  Plugin Author [MatthewRuddy](https://wordpress.org/support/users/matthewruddy/)
 * (@matthewruddy)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-issues-7/#post-3665704)
 * Added a `class_exists` check to v1.0.1, so should all be resolved now 🙂

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Plugin Issues’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/display-tweets-php_33bcef.svg)
 * [Display Tweets](https://wordpress.org/plugins/display-tweets-php/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/display-tweets-php/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/display-tweets-php/)
 * [Active Topics](https://wordpress.org/support/plugin/display-tweets-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/display-tweets-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/display-tweets-php/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [MatthewRuddy](https://wordpress.org/support/users/matthewruddy/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-issues-7/#post-3665704)
 * Status: resolved