• PHP
  • Ruby on Rails
  • MySQL
  • Linux
    • SELINUX
    • Fedora
    • debian
  • Apache
  • nginx
  • AJAX
Albertech.net

WordPress Fix: Fatal error Cannot redeclare wp_load_image

December 21, 2010 9:27 pm / Albertech.net

Here’s a quick fix for WordPress 2.X to WordPress 3.X migration: 

Fatal error: Cannot redeclare wp_load_image() (… previously declared in /wp-includes/media.php) in /wp-admin/includes/image.php …)

What causes this? The primary cause is a plugin inside /wp-content/plugins folder that is incompatible with WordPress 3.0. Most likely the plugin developer defined a wordpress function inside their plugin folder, causing a function name redeclaration.

Fix? If you have the customize plugin inside /wp-content/plugins/, remove it.  This was the plugin causing the fatal error for me.  Login to the wp-admin control panel and re-install the plugin.

If this does not work, rename your plugins folder to plugins-backup. This should allow your WordPress to work again temporarily. Copy over the plugins folder from the fresh WordPress install /wp-content/plugins/ to your server. Move back in the plugins one-by-one from the plugins-backup folder to your new plugins folder. If you find the plugin the causes the fatal error, move it out. See if a new version of the plugin is available for download from your wp-admin panel.

Share this:

  • Facebook
  • Google
  • Twitter
  • Print
  • Email
Posted in: PHP, wordpress

2 Thoughts on “WordPress Fix: Fatal error Cannot redeclare wp_load_image”

  1. Pingback: Jill

  2. Pingback: Jill

Post Navigation

← Previous Post
Next Post →

Categories

  • AJAX
  • Android
  • Apache
  • Canon Cameras
  • Cloud
  • CMS
  • Computer Mods
  • Conferences
  • Deals
  • debian
  • Fedora
  • Flash
  • Frameworks
  • git
  • Hardware
  • HTML
  • IDE
  • iPhone
  • iPhone App Review
  • jQuery
  • Linux
  • Mac OS X
  • MySQL
  • nginx
  • PHP
  • portfolio
  • Puppet
  • Ruby on Rails
  • Script Reviews
  • SELINUX
  • Software
  • Software Review
  • SQL Server
  • statistics
  • Tech
  • Tomcat
  • Uncategorized
  • VMWARE
  • VPS
  • Windows
  • wordpress
  • Zend Framework

Blogroll

  • DragonAl Flickr
  • Dropbox – Free 2GB Account
  • James' Blog
  • Javascript Compressor
  • PHP Builder Community
  • PHP-Princess.net
  • Rubular – Regular Expression Validator
  • The Scale-Out Blog
  • Tiny MCE

Tags

activation AJAX android antec Apache AWS awstats canon coda codeigniter debian enclosure external free G1 install vmware tools Internet Explorer iphone 5 jquery Linux mx-1 MySQL office 2007 OSX photoshop PHP plugin plugins portfolio redesigned website review rewrite script security SELinux ssh tinymce tutorial upgrade VMWARE vmware server wordpress wordpress mu XSS zend framework
© Copyright 2013 Albertech.net
Infinity Theme by DesignCoral / WordPress
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.