WordPress.org

Ready to get started?Download WordPress

Forums

Really Simple Twitter Feed Widget
[resolved] [really-simple-twitter-feed-widget] Fatal error in widget (9 posts)

  1. macfocus
    Member
    Posted 2 years ago #

    Hi,

    Just installed really-simple-twitter-feed-widget (after installing "really-simple-facebook-twitter-share-buttons"). I added the widget to my "header" widget space, and the tweets showed up nicely.
    I them moved the widget to my sidebar widget, and now I get a Fatal Error.
    Moving the widget back to the header doesn't help. I did not change any setting in between, so am a bit puzzled ; )

    While I am writing this and doublechecking everything I am writing her, I noticed that line 62 in th ementioned file reads:

    ' $max_items_retrieved = $rss->get_item_quantity(); '

    I had set the value for 'Show # of Tweets' to 5. But since I use a test account, I have only 3 tweets in that account. So I set the value to "2", but that didn't help.

    I use the Custom Community 1.8.3 by Themekraft theme.

    Error:

    'Fatal error: really_simple_twitter_messages() [function.really-simple-twitter-messages]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "SimplePie" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /home/deb37982/domains/aardbeiproducties.nl/public_html/fccn/wp-content/plugins/really-simple-twitter-feed-widget/really_simple_twitter_widget.php on line 62'

    http://wordpress.org/extend/plugins/really-simple-twitter-feed-widget/

  2. whiletrue
    Member
    Plugin Author

    Posted 2 years ago #

    Hi macfocus,
    this internal problem, caused by bad interaction between the Feed and Transient API, affects the 1.3.0 version of the widget.

    We released some minutes ago a bugfix update (version 1.3.1) using a more convenient way to retrieve the recent tweets. Please update the plugin and let us know if the problem is solved!

  3. macfocus
    Member
    Posted 2 years ago #

    Hi,

    That's what I call support!
    A fix on sunday (that's what is over here at least : )).

    Works like a charm now.

    Thanks so much.

    I'll consider a donation as soon as I will use your plugin on sites I get paid for, which might happen rather soon.
    (This one is for free, so sorry for this one.)

    I'll rate the plugin 4 to 5 stars, (have to play a bit)
    Versions "3.2.1/1.3.1 are set to "Works"

  4. wancen
    Member
    Posted 2 years ago #

    I still have the this problem with all plugins deactivated and updated to the latest.

    Here is the error message:

    Fatal error: Cannot use object of type WP_Error as array in /home/sitename/public_html/wp-content/plugins/really-simple-twitter-feed-widget/really_simple_twitter_widget.php on line 47

    Any insight would be greatly appreciated!

  5. whiletrue
    Member
    Plugin Author

    Posted 2 years ago #

    Hi wancen,
    the new release 1.3.2 of the plugin addresses the issue you noticed. Please update it and let us know if the "fatal error" shows again (of course, when the Twitter API isn't available, an error will be raised).

  6. bheadrick
    Member
    Posted 1 year ago #

    I'm getting this error in the latest version - 1.3.7.
    I see where the is_wp_error was added under " // Tweets
    if (!$twitter_data) {
    ", but the error showed up on line 56 where you're updating the transient data from twitter if the transient data is empty.

    If you're using transient data, the only time you should really ever see the "Error retrieving tweets" message is if you're unable to get data from twitter immediately after activating the plugin. If you can't access twitter, just don't update the transient data.

  7. shantihp
    Member
    Posted 1 year ago #

    I am getting this error-
    "Fatal error: Cannot use object of type WP_Error as array in /home/www/yuvarevolution.org/wp-content/plugins/really-simple-twitter-feed-widget/really_simple_twitter_widget.php on line 56 "

    any way out??

  8. lpip
    Member
    Posted 1 year ago #

    hello! I am experiencing this error

    "Fatal error: Cannot use object of type WP_Error as array in /home/.../really-simple-twitter-feed-widget/really_simple_twitter_widget.php on line 56"

    http://staceykourosdesign.com/site/

    can you please help me fix this -- i can just edit the code or what ever -- urgently need this working or will need to find another solution, any suggestions for alternative ? ?

    best regards
    X

  9. whiletrue
    Member
    Plugin Author

    Posted 1 year ago #

    Hi all,
    the Fatal Error is fixed in the new plugin 1.3.11 version out today ... these days the Twitter service is unstable, causing some errors when retrieving recent tweets. We're still working on a better way to store correct data and discard errors.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic