Title: [Plugin: Twitter Feed for WordPress] Errors in Debug Mode
Last modified: August 20, 2016

---

# [Plugin: Twitter Feed for WordPress] Errors in Debug Mode

 *  [plugins_lexblog](https://wordpress.org/support/users/plugins_lexblog/)
 * (@plugins_lexblog)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-twitter-feed-for-wordpress-errors-in-debug-mode/)
 * Hi,
 * I get the following errors when running the shortcode [twitter-feed username=”
   SmithLawGroup”] in the sidebar:
 *     ```
       Notice: Undefined variable: entry in /var/www/html/wp-content/plugins/wp-twitter-feed/wp-twitter-feed.php on line 156 
   
       Notice: Undefined variable: pubtext in /var/www/html/wp-content/plugins/wp-twitter-feed/wp-twitter-feed.php on line 156 
   
       Notice: Undefined variable: wholetweet in /var/www/html/wp-content/plugins/wp-twitter-feed/wp-twitter-feed.php on line 241 
   
       Notice: Undefined variable: pubtext in /var/www/html/wp-content/plugins/wp-twitter-feed/wp-twitter-feed.php on line 156 
   
       Notice: Undefined variable: pubtext in /var/www/html/wp-content/plugins/wp-twitter-feed/wp-twitter-feed.php on line 156 
   
       Notice: Undefined variable: pubtext in /var/www/html/wp-content/plugins/wp-twitter-feed/wp-twitter-feed.php on line 156 
   
       Notice: Undefined variable: pubtext in /var/www/html/wp-content/plugins/wp-twitter-feed/wp-twitter-feed.php on line 156 
   
       Notice: Undefined variable: tfscheme in /var/www/html/wp-content/plugins/wp-twitter-feed/wp-twitter-feed.php on line 254 
   
       Notice: Undefined variable: tfcount in /var/www/html/wp-content/plugins/wp-twitter-feed/wp-twitter-feed.php on line 254 
   
       Notice: Undefined variable: tflang in /var/www/html/wp-content/plugins/wp-twitter-feed/wp-twitter-feed.php on line 254 
   
       Notice: Undefined variable: divstart in /var/www/html/wp-content/plugins/wp-twitter-feed/wp-twitter-feed.php on line 270 
   
       Notice: Undefined variable: pleer in /var/www/html/wp-content/plugins/wp-twitter-feed/wp-twitter-feed.php on line 270 
   
       Notice: Undefined variable: divend in /var/www/html/wp-content/plugins/wp-twitter-feed/wp-twitter-feed.php on line 270
       ```
   
 * [http://wordpress.org/extend/plugins/wp-twitter-feed/](http://wordpress.org/extend/plugins/wp-twitter-feed/)

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

 *  Thread Starter [plugins_lexblog](https://wordpress.org/support/users/plugins_lexblog/)
 * (@plugins_lexblog)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-twitter-feed-for-wordpress-errors-in-debug-mode/#post-3042522)
 * The above error messages have morphed a bit, in response to the fact that I have
   changed my shortcode options a bit in implementing this plugin.
 * I am still getting a ton of undefined variable errors, which I have solved thusly:
 * Line 23 of the plugin file:
 *     ```
       function Twitterfeedreader($atts) {
       $avatar ='';
       $wholetweet ='';
       $divstart ='';
       $pleer ='';
       $linktofeed ='';
       $divend ='';
       ```
   
 * Would love to see an update to address this.
 * Thanks for the otherwise great plugin; very nice work.
 *  [QuietNoise](https://wordpress.org/support/users/quietnoise/)
 * (@quietnoise)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-twitter-feed-for-wordpress-errors-in-debug-mode/#post-3042773)
 * Hi pleer,
    Any update on this one? Could you please check for variables before
   using them (isset or so)? You make every developers’ live a nightmare.
 *  Thread Starter [plugins_lexblog](https://wordpress.org/support/users/plugins_lexblog/)
 * (@plugins_lexblog)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-twitter-feed-for-wordpress-errors-in-debug-mode/#post-3042774)
 * Lol, I wouldn’t exactly say my life is a nightmare, at least not because of wordpress
   debug messages. It would be a good practice to fix this though.
 *  [dwsimms](https://wordpress.org/support/users/dwsimms/)
 * (@dwsimms)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-twitter-feed-for-wordpress-errors-in-debug-mode/#post-3042780)
 * I’ve been having this same issue. I tried the solution provided by plugins_lexblog,
   but it didn’t work for me.
 * Any updates on this issue?
 *  Plugin Author [Alex Moss](https://wordpress.org/support/users/alexmoss/)
 * (@alexmoss)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-twitter-feed-for-wordpress-errors-in-debug-mode/#post-3042792)
 * hey guys – i need to work on a large update for this and will be taking all feedback
   from in here. it’ll be with you in the next couple of weeks…

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

The topic ‘[Plugin: Twitter Feed for WordPress] Errors in Debug Mode’ is closed 
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-twitter-feed.svg)
 * [Peadig's Twitter Feed: Embedded Timeline WordPress Plugin](https://wordpress.org/plugins/wp-twitter-feed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-twitter-feed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-twitter-feed/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-twitter-feed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-twitter-feed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-twitter-feed/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [Alex Moss](https://wordpress.org/support/users/alexmoss/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-twitter-feed-for-wordpress-errors-in-debug-mode/#post-3042792)
 * Status: not resolved