Title: supposed error with default theme get header function?
Last modified: August 19, 2016

---

# supposed error with default theme get header function?

 *  [adviceb](https://wordpress.org/support/users/adviceb/)
 * (@adviceb)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/supposed-error-with-default-theme-get-header-function/)
 * Hi all, hopefully someone can help me.
 * I decided to use the default theme for a blog I created. The only things I did
   to it were to change the header by uploading another image and change the background
   and text colours in the style.css.
 * I have uploaded it to my site, however I get the following error:
 * Call to undefined function get_header() in /home/vhosts/advice.6te.net/default/
   index.php on line 1
 * I’m not sure what I’ve done wrong. If someone could clearly explain a way to 
   figure out the problem (or better yet what to do to fix it directly) I’d much
   appreciate it.
 * Oh and I ran the html through a validator and it says that the attribute role
   is not an attribute and asks if I meant frameborder or scrolling. Just thought
   this was worth a mention as it’s line after the get header function.
 * Many thanks.

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

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/supposed-error-with-default-theme-get-header-function/#post-1156082)
 * just re upload the theme file(s) you changed
    with the default theme can’t you
   do what you want in the dasboard under the “Appearance” tab? The Kubrick header
   options
 *  Thread Starter [adviceb](https://wordpress.org/support/users/adviceb/)
 * (@adviceb)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/supposed-error-with-default-theme-get-header-function/#post-1156093)
 * The theme seems to work fine under localhost – the problem occurs when I upload
   it to the host site. I’ve already reuploaded it 3 times and still get the same
   problem. I thought about changing it in the appearance settings but I wasn’t 
   sure that would change it when I then uploaded it to my host site.
 * Perhaps I’m uploading it wrong? (total newbie sorry). I assumed that by uploading
   all the files (php, css, db) and images I have to the host site, it would (theoretically)
   be the same as how it appears in localhost?? All the files are in root of the
   host site, they don’t need a special file name etc. to work for this host.
 * Hope that sheds some light. Thanks for replying Samboll.

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

The topic ‘supposed error with default theme get header function?’ is closed to 
new replies.

## Tags

 * [header](https://wordpress.org/support/topic-tag/header/)
 * [host](https://wordpress.org/support/topic-tag/host/)
 * [upload](https://wordpress.org/support/topic-tag/upload/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 2 participants
 * Last reply from: [adviceb](https://wordpress.org/support/users/adviceb/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/supposed-error-with-default-theme-get-header-function/#post-1156093)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
