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

---

# Fatal error: Call to undefined function: get_header()

 *  Resolved [margaretblack](https://wordpress.org/support/users/margaretblack/)
 * (@margaretblack)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-get_header-1/)
 * I know this issue has been addressed many times because I have read the support
   files, but the solutions don’t seem to fit my case.
 * Accessing my web site, [http://www.connect-points.com/blacks2006/](http://www.connect-points.com/blacks2006/),
   I suddenly rec’d “Fatal error: Call to undefined function: get_header()in /public_html/
   blacks2006/index.php on line 1”
 * I am NOT trying to access the file directly, and, most importantly, all was working
   yesterday.
 * I unzipped the theme (greenflower) again replaced my header and index with the
   orginal files. Still the same error message.
 * This web site is supposed to be our “Christmas letter” to friends and family 
   so the timing of the error is really poor! :0
 * I am using WP 2.0.5.
 * Any advice appreciated.
 * Thank you and Happy Holidays and Merry Christmas!
 * ~~margaret

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

 *  [Michael Bishop](https://wordpress.org/support/users/miklb/)
 * (@miklb)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-get_header-1/#post-494364)
 * What if you change to the default theme? DId you install any plugins recently
   as well?
 * I can navigate to your admin page, so WP is working to some degree.
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-get_header-1/#post-494368)
 * It appears you overwrote the original index.php in your blog’s root directory
   with the theme’s index.php. Hence the error.
 * Themes should be uploaded to:
 * /wp-content/themes/theme-name
 *  Thread Starter [margaretblack](https://wordpress.org/support/users/margaretblack/)
 * (@margaretblack)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-get_header-1/#post-494460)
 * THANK YOU, for your replies! I was going to switch to the default and test that
   when i read your entry, Kafkaesqui, and your solution was all I needed.
 * If you are called Kafkaesqui because of a Kafkaeskian view that says any given
   choice in code will govern the later course of a person’s blog, you are aptly
   named!
 * Somehow, in ftp’ing, i must have transposed my indices. Thank you so very much
   for taking the time to view them. I am so very relieved to not have to begin 
   again, file after file, line after line, finding the wrong one.
 * God bless you both! Much appreciated!
 * ~~margaret
 *  [Michael Bishop](https://wordpress.org/support/users/miklb/)
 * (@miklb)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-get_header-1/#post-494481)
 * And my folks, answer – response, is the reason WP was named the best blogging
   platform.
 * [http://technology.guardian.co.uk/weekly/story/0](http://technology.guardian.co.uk/weekly/story/0),,
   1975939,00.html

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

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

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [Michael Bishop](https://wordpress.org/support/users/miklb/)
 * Last activity: [19 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-function-get_header-1/#post-494481)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
