WordPress.org

Support

Support » How-To and Troubleshooting » Fatal error: Call to undefined method MagpieRSS::get_item_quantity()

Fatal error: Call to undefined method MagpieRSS::get_item_quantity()

  • I recently upgraded to WordPress 2.81, and I am getting an error on an RSS widget on my dashboard that I’m not able to find any documentation about:

    Fatal error: Call to undefined method MagpieRSS::get_item_quantity() in /****/wp-includes/default-widgets.php on line 788

    It looks like magpie is being included properly, and I re-uploaded all of the magpie-related files again just to be safe. Has anyone ever encountered this issue?

    Thanks for the help,
    Dave

Viewing 5 replies - 1 through 5 (of 5 total)
  • James Mehorter
    Participant

    @jamesmehorter

    I’m also running into this error trying to output a rss feed on my wp homepage. Did you find a solution dvmorris?

    FFS wordpress… they’ve been downgrading their RSS feed functionality time after time.

    I get the get_item_quantity failing on several other peoples wordpress machines but not mine or my fellow developers.

    The get_items fails too.

    I will post a fix today as it’s my job to get this working, seeing that the codex example boms out. *sigh* http://codex.wordpress.org/Function_Reference/fetch_feed

    M

    The error exists because the feed it’s suppose to be feeding from is not valid, missing or other. But it has a epic response to failure.

    Make sure the feed works when using the function.

    Also make sure to have the upgraded fetch_feed function and not the fetch_rss function like the old Pre 2.8 WordPress releases.

    M

    freshifreshy
    Member

    @freshifreshy

    I’m having the same problem with an RSS feed that’s sometimes empty, sometimes not. Is there a way to keep the error from killing the rest of the page? Maybe just not run the code if there’s a problem with the feed?

    freshifreshy
    Member

    @freshifreshy

    Resolved my issue here.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error: Call to undefined method MagpieRSS::get_item_quantity()’ is closed to new replies.