Fixing the RSS Widget Problem in WordPress
Thursday, May 14th, 2009 12:50 pm by
Cody
Print this page
Thursday, May 14th, 2009 12:50 pm by
Cody
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!
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….
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….
…
BUY FASHION. TOP BRANDS: GUCCI, DOLCE&GABBANA, BURBERRY, DIESEL, ICEBERG, ROBERTO CAVALLI, EMPORIO ARMANI, VERSACE…