WordPress.org

Ready to get started?Download WordPress

Forums

Parsing RSS Feeds (7 posts)

  1. sambloor
    Member
    Posted 5 years ago #

    Hi, I have been parsing RSS feeds from a wordpress blog for the last couple of weeks and everything seemed to be working fine. But today I am receiving errors.

    I am using MagpieRSS. All feeds are valid and not sure why the stopped working.

    Here is an error that I have received.

    Warning: MagpieRSS: Failed to parse RSS file. (Mismatched tag at line 310, column 19) in xxx on line 238 Warning: array_slice() expects parameter 1 to be array, null given in xxx on line 56
    Warning: Invalid argument supplied for foreach() in xxx on line 58

    HELP PLEASE

  2. sambloor
    Member
    Posted 5 years ago #

    Anyone??

  3. asmaloney
    Member
    Posted 5 years ago #

    Looks to me like the 2.8 update breaks RSS feeds. From a quick run-through of the code, they've moved wp-includes/widgets.php to wp-includes/default-widgets.php and added some SimplePie-specific things to the RSS feed handling in wp_widget_rss_output().

    Hopefully someone will fix it soon...

    Edit: Should have mentioned that I did the automatic upgrade.

  4. aka_smith
    Member
    Posted 5 years ago #

    We're having huge problems parsing RSS feeds from wordpress blogs as well!

  5. MartyThornley
    Member
    Posted 5 years ago #

    I am getting this error when using the 'wp_widget_rss_output()' function:

    Warning: gzinflate() [function.gzinflate]: data error in /home/unbride/public_html/wp-includes/http.php on line 1787

    I tried re-uploading the 'http.php' file according to this thread. It seemed to work at first, but the error came back.

    Just tried a quick fix and it seemed to work for now:

    Changed line 1787 from

    $decompressed = gzinflate( $compressed );

    to:

    if (false !== $compressed) $decompressed = gzinflate( $compressed );

  6. choibc
    Member
    Posted 5 years ago #

    I got same error message.

    I changed line 1787

    from

    $decompressed = gzinflate( $compressed );

    to:
    $decompressed = @gzinflate( $compressed );

    No more error message. I am not sure side effect.

  7. randompage
    Member
    Posted 4 years ago #

    i did the same for now, but it only suppress the warning message. it does not cure the problem..

    maybe dev team can cure this.

Topic Closed

This topic has been closed to new replies.

About this Topic