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

filedude

Registered Member
Joined
Nov 12, 2009
Messages
84
Reaction score
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
 

TurkeySub

Junior Member
Joined
Jul 20, 2010
Messages
181
Reaction score
22
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
Did you just install a new plugin?
 

filedude

Registered Member
Joined
Nov 12, 2009
Messages
84
Reaction score
32
nope accidental deleted my wp-admin folder I uploaded a new one but getting this error
 

TurkeySub

Junior Member
Joined
Jul 20, 2010
Messages
181
Reaction score
22
nope accidental deleted my wp-admin folder I uploaded a new one but getting this error
Time to restore from backups - I would also suggest posting on the Wordpress org forums.
 

quadratic

Registered Member
Joined
Oct 26, 2009
Messages
69
Reaction score
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.
 
Top