Title: Undefined function fatal error &#8211; PLEASE HELP!!!
Last modified: August 19, 2016

---

# Undefined function fatal error – PLEASE HELP!!!

 *  Resolved [rebekahrenford](https://wordpress.org/support/users/rebekahrenford/)
 * (@rebekahrenford)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/undefined-function-fatal-error-please-help/)
 * I’ve been having problems with image management in 2.5 and I can’t figure out
   how to fix it. The images are on the page but when I click on them to see them
   larger an error comes up. I was wondering if anyone could take a quick look and
   see if they can tell me how to fix this?
 * The url is:
 * [http://www.midnightlights.com/portfolio/](http://www.midnightlights.com/portfolio/)
 * THANK YOU SO MUCH FOR ANY HELP – looking for a job right now and if my portfolio
   doesn’t work that doesn’t look good.

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [mechx1](https://wordpress.org/support/users/mechx1/)
 * (@mechx1)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/undefined-function-fatal-error-please-help/#post-741353)
 * It looks like you just upgraded to 2.5. I believe the function that is undefined
   is supposed to be in wp-includes/media.php
 * I have checked media.php in my installation and found the function you are missing,
   wp_get_attachment_image() in media.php, so I’m not clear why you don’t have it.
   You can try re-loading media.php on the chance that it may be corrupted, but 
   if it were I think you’d be seeing other issues also.
 *  Thread Starter [rebekahrenford](https://wordpress.org/support/users/rebekahrenford/)
 * (@rebekahrenford)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/undefined-function-fatal-error-please-help/#post-741378)
 * I’m not sure why it would be doing this…
 * I redownloaded 2.5 and deleted and re-added the wp-admin and wp-includes on the
   server and it’s still not working so I’m not sure what to do now…
 *  [mechx1](https://wordpress.org/support/users/mechx1/)
 * (@mechx1)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/undefined-function-fatal-error-please-help/#post-741391)
 * I have been looking in the codex for answers, it is recommended that you re-load
   wp-settings.php. You’ll find it in your root directory for your blog. be sure
   that you save a copy of your original when you do something like this.
 *  [mechx1](https://wordpress.org/support/users/mechx1/)
 * (@mechx1)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/undefined-function-fatal-error-please-help/#post-741392)
 * You’ll want to take it out of maintenance mode if you would like others from 
   this forum to join in.
 *  Thread Starter [rebekahrenford](https://wordpress.org/support/users/rebekahrenford/)
 * (@rebekahrenford)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/undefined-function-fatal-error-please-help/#post-741395)
 * oh jeez!!! Sorry – its out now… silly me.
 *  [mechx1](https://wordpress.org/support/users/mechx1/)
 * (@mechx1)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/undefined-function-fatal-error-please-help/#post-741398)
 * You marked this thread resolved, and your problem seems to be fixed. Would you
   tell us what fixed it?
 *  Thread Starter [rebekahrenford](https://wordpress.org/support/users/rebekahrenford/)
 * (@rebekahrenford)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/undefined-function-fatal-error-please-help/#post-741404)
 * OH YES! Sorry! I’m pretty sure what fixed the problem was reloading the wp-settings.
   php file. Thanks for the help mechx1! I had never replaced the old file when 
   I updated because the update only told me to replace my wp-admin and wp-includes
   folders. The wp-settings.php file was in the root directory and so I didn’t replace
   it with the new file included in the upgrade files for 2.5 – however I have done
   so now and it is resolved!
 * Thanks so much for the help!
 *  [neonlimelight](https://wordpress.org/support/users/neonlimelight/)
 * (@neonlimelight)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/undefined-function-fatal-error-please-help/#post-741414)
 * mechx1, you are awesome!!! I’ve been having a really hard time with the uploader.
   I did everything the mod’s sticky post said to do and still no luck. I even tried
   to disable the flash uploader but it still sucked. Now everything is working 
   great with your tip. I hadn’t replaced the settings php because it was never 
   mentioned in the upgrade outline.
 * Thanks again!!!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Undefined function fatal error – PLEASE HELP!!!’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 3 participants
 * Last reply from: [neonlimelight](https://wordpress.org/support/users/neonlimelight/)
 * Last activity: [18 years, 1 month ago](https://wordpress.org/support/topic/undefined-function-fatal-error-please-help/#post-741414)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
