Title: rss.php problems
Last modified: August 18, 2016

---

# rss.php problems

 *  [nickel](https://wordpress.org/support/users/nickel/)
 * (@nickel)
 * [19 years ago](https://wordpress.org/support/topic/rssphp-problems/)
 * Hi all,
 * I just migrated my site a new host and all is well except for a problem with 
   a feed that I pull in and display. See here:
 * [http://www.fivecentnickel.com/](http://www.fivecentnickel.com/)
 * In the footer I have a block of RSS feeds, and the top left one is erroring out
   with this:
 * ———-
    Warning: Attempt to assign property of non-object in /web/sites/pbmedia/
   fivecentnickel.com/wp-includes/rss.php on line 428
 * Warning: Invalid argument supplied for foreach() in /web/sites/pbmedia/fivecentnickel.
   com/wp-content/themes/lightCMSfcn/footer.php on line 17
    ———-
 * I’ve quadruple checked the code, and it’s fine. Swap another feed into that spot,
   and it’s fine. Move that feed into another cell and it’s busted.
 * I have a friend that is running this same feed in his footer and it’s working
   fine (we’re both running WP2.2).
 * Can anyone provide any troubleshooting suggestions?
 * Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [tomhenderson](https://wordpress.org/support/users/tomhenderson/)
 * (@tomhenderson)
 * [19 years ago](https://wordpress.org/support/topic/rssphp-problems/#post-574684)
 * Couldn’t see the problem on your site – did you find a fix? I’m having the same
   problem at [http://www.blogtender.com/](http://www.blogtender.com/)
 *  [tomhenderson](https://wordpress.org/support/users/tomhenderson/)
 * (@tomhenderson)
 * [19 years ago](https://wordpress.org/support/topic/rssphp-problems/#post-574686)
 * I added a / to the end of the url for the feed which seems to have fixed it. 
   Strange that it used to work though.
 *  [meettheceo1013](https://wordpress.org/support/users/meettheceo1013/)
 * (@meettheceo1013)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/rssphp-problems/#post-574775)
 * Hi Tom
 * This just popped up on my blog:
    Warning: Attempt to assign property of non-object
   in /home/meetthe/public_html/wordpress/wp-includes/rss.php on line 428
 * Unknown Feed
    An error has occured; the feed is probably down. Try again later.
 * My blog is at [http://www.meettheceo.com/wordpress/](http://www.meettheceo.com/wordpress/).
   
   How do I fix this? And what is it?
 * Many thanks.
    Jennifer
 *  [mzeecedric](https://wordpress.org/support/users/mzeecedric/)
 * (@mzeecedric)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/rssphp-problems/#post-574799)
 * I have this problem on 2.3. The / at the end does only fix temporary. Got the
   error back after some time. Removed the / at the end and the feed is back. Any
   help someone?
 *  Thread Starter [nickel](https://wordpress.org/support/users/nickel/)
 * (@nickel)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/rssphp-problems/#post-574800)
 * My webhost actually debugged rss.php and got it working again. I can’t recall
   the exact changes that they made, but I can try to dig them up.
 *  Thread Starter [nickel](https://wordpress.org/support/users/nickel/)
 * (@nickel)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/rssphp-problems/#post-574801)
 * Here you go…
 * On line 427, change this:
 * `if ( isset($rss) and $rss ) {`
 * to this:
 * `if ( isset($rss) && (is_object($rss) ||(is_string($rss) && $rss=unserialize(
   $rss))) ) {`
 *  [stuarts](https://wordpress.org/support/users/stuarts/)
 * (@stuarts)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/rssphp-problems/#post-574881)
 * Nickel – Thanks for that mate.
 * Saved me a whole bunch of hassle!
 * Quick question, which I wonder if you or anyone else can answer.
 * I upgraded to PHP 5 and then had this problem. I imagine because it is object
   oriented? And the fix you mention works fine to correct it.
 * However, I notice that within the wp-includes folder are also the following files
   that seem to relate to feeds in one way or another.
 * atomlib.php
    feed-atom-comments.php feed-atom.php feed-rdf.php feed-rss.php feed-
   rss2-comments.php feed-rss2.php feed.php rss-functions.php
 * Do these also need to be altered in some way to ensure that this problem doesn’t
   crop up in any way?
 * Or else to work ok with PHP 5?

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘rss.php problems’ is closed to new replies.

## Tags

 * [RSS](https://wordpress.org/support/topic-tag/rss/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 5 participants
 * Last reply from: [stuarts](https://wordpress.org/support/users/stuarts/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/rssphp-problems/#post-574881)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
