Fixing the RSS Widget Problem in WordPress
Post Info Thursday, May 14th, 2009 12:50 pm by Cody Print Print this page

Recently, certain feeds no longer worked for me on WordPress. I suspected my host had done something because these errors only occurred for WordPress installations hosted by them (the feeds worked on WordPress.com hosted blogs).

Errors for this problem can result in the text:
Warning: Attempt to assign property of non-object in /home/XXXX/public_html/XXXX/wp-includes/rss.php on line 449
Or
Error: could not find an RSS or ATOM feed at that URL.

My host was unable to fix this problem, so I decided to search around the WordPress support forums and found the solution here.

The steps are roughly the same, since the current installation of WordPress 2.7 has it on line 449. Just go to rss.php and add the changes:

//if ( isset($rss) and $rss ) {
if ( isset($rss) && (is_object($rss) ||(is_string($rss) &&
$rss=unserialize($rss))) ) {

That was easy!

2 Responses to “ Fixing the RSS Widget Problem in WordPress ”

  1. CARLOS


    CheapTabletsOnline.Com. Canadian Health&Care.Special Internet Prices.Best quality drugs.No prescription online pharmacy. High quality drugs. Buy drugs online

    Buy:Maxaman.Viagra Super Force.Viagra Super Active+.Viagra.VPXL.Viagra Soft Tabs.Viagra Professional.Cialis Soft Tabs.Zithromax.Cialis Super Active+.Soma.Propecia.Cialis.Levitra.Super Active ED Pack.Tramadol.Cialis Professional….

  2. STEPHEN


    CheapTabletsOnline.com. Canadian Health&Care.No prescription online pharmacy.Special Internet Prices.Best quality drugs. High quality drugs. Buy drugs online

    Buy:Zithromax.Propecia.Viagra Super Force.Tramadol.Maxaman.Cialis Professional.Cialis Super Active+.Viagra.Levitra.Cialis.Viagra Super Active+.Super Active ED Pack.Soma.Viagra Professional.VPXL.Cialis Soft Tabs.Viagra Soft Tabs….

Leave a Reply

Get updates as often as we post! Subscribe to our full feed or comments feed.