WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. dvmorris
    Member
    Posted 5 years ago #

    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

  2. James Mehorter
    Member
    Posted 4 years ago #

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

  3. foxinni
    Member
    Posted 4 years ago #

    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

  4. foxinni
    Member
    Posted 4 years ago #

    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

  5. freshifreshy
    Member
    Posted 4 years ago #

    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?

  6. freshifreshy
    Member
    Posted 4 years ago #

    Resolved my issue here.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags