Welcome to WebmasterWorld Guest from 54.162.136.26

Forum Moderators: phranque

Message Too Old, No Replies

Wordpress Magpie Fatal Error

cannot redeclare

     
2:56 pm on Jan 25, 2008 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 28, 2005
posts: 56
votes: 0


Okay, I know this happens all the time for Wordpress users, but I cannot find an up-to-date workaround. Anybody know how to deal with this fatal error?

Fatal error: Cannot redeclare fetch_rss() (previously declared in /var/www/vhosts/mydomain.com/httpdocs/wp-includes/rss.php:1209) in /var/www/vhosts/mydomain.com/httpdocs/wp-admin/magpierss/rss_fetch.inc on line 221

This is basically shutting down a crucial plugin.

Thanks,
ssling

12:16 am on Jan 26, 2008 (gmt 0)

Administrator

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
posts:12547
votes: 2


Hmmm. Poor design. I would check to see if the function exists first (if they are truly the same exact function). If not, go ahead and define it, or include it ... whichever.
if (!function_exists [php.net]('fetch_rss')) { 
function fetch_rss()
{
// function definition here
}
}
7:19 am on Jan 28, 2008 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 28, 2005
posts: 56
votes: 0


hi coopster,

thanks for your suggestion. got me thinking... i ended up just killing the request, however, and the plugin works fine now.

yes poor design i agree.

/ssling

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members