Title: Fatal error: Call to undefined function
Last modified: August 18, 2016

---

# Fatal error: Call to undefined function

 *  Resolved [adeens](https://wordpress.org/support/users/adeens/)
 * (@adeens)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-4-2/)
 * I’m creating a WordPress theme and it was going fine until today. I was editing
   the default theme (but keeping the original files).
 * Here’s a link to what I’ve been doing:
    [http://emmasrevolution.com/wordpress/wp-content/themes/default/index.php](http://emmasrevolution.com/wordpress/wp-content/themes/default/index.php)
 * which gets this error:
    “Fatal error: Call to undefined function: get_header()
   in O:\Hosted Web Sites\pat.humphries\emmasrevolution_com\www\wordpress\wp-content\
   themes\default\index.php on line 1”
 * I searched the problem and found this topic (see link below) which didn’t help,
   since I didn’t edit any of my index.php files. I checked all the date modified
   information for my files to make sure.
 * [http://wordpress.org/support/topic/98237?replies=5](http://wordpress.org/support/topic/98237?replies=5)
 * Any suggestions greatly appreciated!
    ~adeens

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-4-2/#post-658723)
 * You can NOT access ever any template file like this:
    [http://emmasrevolution.com/wordpress/wp-content/themes/default/index.php](http://emmasrevolution.com/wordpress/wp-content/themes/default/index.php)
   Don’t even try. That’s why you get the error.
 *  [Jeremy Clark](https://wordpress.org/support/users/jeremyclark13/)
 * (@jeremyclark13)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-4-2/#post-658725)
 * You can’t access themes directly like that you have to make them the active theme
   in your blog first. Then you access you blog not the themes folder.
 *  Thread Starter [adeens](https://wordpress.org/support/users/adeens/)
 * (@adeens)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-4-2/#post-658727)
 * you’re absolutely right… silly me! thanks!

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

The topic ‘Fatal error: Call to undefined function’ is closed to new replies.

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [adeens](https://wordpress.org/support/users/adeens/)
 * Last activity: [18 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-4-2/#post-658727)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
