1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need Help getting error code when trying to access admin panel in wordpress

Discussion in 'Blogging' started by filedude, Sep 8, 2010.

  1. filedude

    filedude Registered Member

    Joined:
    Nov 12, 2009
    Messages:
    84
    Likes Received:
    32
    Getting this error

    Fatal error: Cannot redeclare wp_load_image() (previously declared in /home/shawnsan/public_html/wp-includes/media.php:241) in /home/shawnsan/public_html/wp-admin/includes/image.php on line 168
     
  2. TurkeySub

    TurkeySub Jr. VIP Jr. VIP Premium Member

    Joined:
    Jul 20, 2010
    Messages:
    174
    Likes Received:
    22
    Did you just install a new plugin?
     
  3. filedude

    filedude Registered Member

    Joined:
    Nov 12, 2009
    Messages:
    84
    Likes Received:
    32
    nope accidental deleted my wp-admin folder I uploaded a new one but getting this error
     
  4. TurkeySub

    TurkeySub Jr. VIP Jr. VIP Premium Member

    Joined:
    Jul 20, 2010
    Messages:
    174
    Likes Received:
    22
    Time to restore from backups - I would also suggest posting on the Wordpress org forums.
     
  5. quadratic

    quadratic Registered Member

    Joined:
    Oct 26, 2009
    Messages:
    69
    Likes Received:
    46
    On the Wordpress support forums there is a response to a similar issue stating..

    "
    In 3.0, we moved wp_load_image() from wp-admin/includes/image.php to wp-includes/media.php. Thus, it looks like you're running 3.0's wp-includes/media.php, but 2.9's wp-admin/includes/image.php.
    I would re-upload wp-admin and wp-includes entirely."


    Your issue could be that the version of the wp-admin files you re uploaded was different from the version you had on the site.