WordPress.org

Ready to get started?Download WordPress

Forums

Twitter Feed: Embedded Timeline WordPress Plugin
[Plugin: Twitter Feed for WordPress] Errors in Debug Mode (6 posts)

  1. plugins_lexblog
    Member
    Posted 1 year ago #

    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/

  2. plugins_lexblog
    Member
    Posted 1 year ago #

    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.

  3. QuietNoise
    Member
    Posted 1 year ago #

    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.

  4. plugins_lexblog
    Member
    Posted 1 year ago #

    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.

  5. dwsimms
    Member
    Posted 1 year ago #

    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?

  6. Alex Moss
    Member
    Plugin Author

    Posted 1 year ago #

    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...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.