homepage Welcome to WebmasterWorld Guest from 54.205.254.108
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

    
Wordpress Magpie Fatal Error
cannot redeclare
ssling




msg:3557842
 2:56 pm on Jan 25, 2008 (gmt 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

 

coopster




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

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
}
}

ssling




msg:3559423
 7:19 am on Jan 28, 2008 (gmt 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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved