Yoast "Cannot Redeclare"

Discussion in 'WordPress' started by seagate, Mar 18, 2011.

  1. #1
    Hi all

    I downloaded Yoast's SEO tool the other day and i've noticed now that whenever i go to the dashboard of wordpress i get the following error:
    Fatal error: Cannot redeclare _fetch_remote_file() (previously declared in /home/*****/public_html/wp-content/plugins/energizer/lib/rss_fetch.inc:267) in /home/*****/public_html/wp-includes/rss.php on line 574
    Code (markup):
    I have gone into /wp-includes/rss.php and gone to 574 and all that is there is } , In that section there is:
    567	$response = new stdClass;
    	$response->status = $resp['response']['code'];
    	$response->response_code = $resp['response']['code'];
    	$response->headers = $return_headers;
    	$response->results = $resp['body'];
    
    	return $response;
    574 }
    Code (markup):
    And im not quite exactly how to fix this error. any assistance?
     
    seagate, Mar 18, 2011 IP
  2. srisen2

    srisen2 Peon

    Messages:
    359
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    disable your plugins by renaming the plugin directory temporarily and you should once again have access to the dashboard
     
    srisen2, Mar 18, 2011 IP
  3. seagate

    seagate Banned

    Messages:
    162
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hiya

    I did that ,, changed the name, refreshed and i could see all , changed it back to plugins and were back to square 1
     
    seagate, Mar 18, 2011 IP
  4. freshgreenlove

    freshgreenlove Well-Known Member

    Messages:
    404
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    135
    #4
    for resolve :
    1. don't rename that plugin
    2. disable all plugin
    3. first enable is plugin from YOAST

    if 3 tips can not resolve.. you must upgrade your wordpress
     
    freshgreenlove, Mar 22, 2011 IP
  5. seagate

    seagate Banned

    Messages:
    162
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Okay its working now. I activated them 1 by 1 and for some reason the Googlr analycysts addon by YOAST does not like the Wordpress SEO plugin by YOAST :p
     
    seagate, Mar 22, 2011 IP