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
 
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?
 
nope accidental deleted my wp-admin folder I uploaded a new one but getting this error
 
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.
 
Back
Top