Title: fatal error call undefined function get_header
Last modified: August 19, 2016

---

# fatal error call undefined function get_header

 *  Resolved [mike-kelley](https://wordpress.org/support/users/mike-kelley/)
 * (@mike-kelley)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-call-undefined-function-get_header-1/)
 * Note to the administrator: I wish that you didnt close this topic down in a previous
   post just because I added I have the same problem too. Now I have the answer (
   I think) and the person who was looking for help will probably never see this.
   Closing a topic that was unresolved doesn’t allow us (new people especially) 
   to collaborate.
 * In any event to answer this persons post you may have the same misunderstanding
   that I had. In order there are more than one “index.php” in the many files that
   make up a wordpress theme.
 * If you are trying to view the index file in the directory C:\wamp\www\”your folder
   name”\blog\wp-content\themes\”your folder name” it won’t work ( someone else 
   can probably elaborate on why better than me)
 * BUT if go to the index.php file located in
 * C:\wamp\www\”your folder name”\blog
 * you can view ( and change) that file in “live view” Thats because the index.php
   file that resides in this location is your “actual” index.php meaning that it
   is the file that is dependent on other files that ctually make up the file page
   that is seen in a browser.
 * Additional help using DWCS5 in this area can be seen at [http://www.youtube.com/watch?v=AflQ_N3Kl1Q](http://www.youtube.com/watch?v=AflQ_N3Kl1Q)
 * hope this helps!
 * * —————- Previous Post —————- *
 * [closed] fatal error call undefined function get_header (3 posts)
 *  1.
 *  MLobel
    Member Posted 3 months ago #
 *  I downloaded at template (Elite from THAT Agency) and began to customize using
   Dreamweaver CS5. All was going smooth until I opened DW again and can no longer
   view index.php in Live View. I have read many forums and followed troubleshooting
   steps mapped out for others with simular issues and problem is still not resolved.
   Any help would be greatly appreciated…I’m obviously missing something.
    Thanks!
 *  Error Notice: Fatal error: Call to undefined function get_header() in C:\wamp\
   www\sitename\blog\wp-content\themes\sitename\index.php on line 1
 *  Code from lines 1-10 from my index.php file:
 *  <?php get_header() ; ?>
 *  <div class=”container_16 contentWrapper”>
    <div class=”grid_4 sideBox”> <div
   class=”padder”> <!– begin sidebar left –> <?php include (TEMPLATEPATH . ‘/sidebar1.
   php’); ?> <!– end sidebar left –>
 *  2.
 *  mike kelley
    Member Posted 39 minutes ago #
 *  would love help with this too! The problem is I cant view the site in live view
   and im getting the same error. I know the site is working though because I can
   view it through the admin panel. I just cant see it in DWCS5
    3.
 *  esmi
    Theme Diva Posted 32 minutes ago #
 *  Please post a new topic describing your problem and indicating what version 
   of WordPress you are running.

Viewing 1 replies (of 1 total)

 *  [cupaball](https://wordpress.org/support/users/cupaball/)
 * (@cupaball)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-call-undefined-function-get_header-1/#post-1812480)
 * All I have to say is that I having been for this answer for a week! thanks!

Viewing 1 replies (of 1 total)

The topic ‘fatal error call undefined function get_header’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [cupaball](https://wordpress.org/support/users/cupaball/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-call-undefined-function-get_header-1/#post-1812480)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
