Title: undefined function error &#8211; version 2.1
Last modified: August 18, 2016

---

# undefined function error – version 2.1

 *  [proverbs31woman](https://wordpress.org/support/users/proverbs31woman/)
 * (@proverbs31woman)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/undefined-function-error-version-21/)
 * We have version 2.1 of WordPress installed. My daughter made a change to the 
   index.php – just trying to install a watermark (background) image that wouldn’t
   work so she deleted just that line again. But now she’s getting this message:
 * Fatal error: Call to undefined function: get_header() in /home/thomases/public_html/
   equus/index.php on line 1
 * We tried reuploading a fresh copy of index.php for the default theme but it is
   still showing that message. What else can we do to fix this? We tried renaming
   default theme to default2 and then uploaded a fresh untouched copy of default
   and resetting that as the presentation theme but it still shows that message 
   at [http://equus.thomases.org/](http://equus.thomases.org/) so we’re stumped.
   Can anyone advise please? Thanks in advance.

The topic ‘undefined function error – version 2.1’ is closed to new replies.

## Tags

 * [fatal](https://wordpress.org/support/topic-tag/fatal/)
 * [function](https://wordpress.org/support/topic-tag/function/)
 * [get_header](https://wordpress.org/support/topic-tag/get_header/)
 * [index.php](https://wordpress.org/support/topic-tag/index-php/)
 * [undefined](https://wordpress.org/support/topic-tag/undefined/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [proverbs31woman](https://wordpress.org/support/users/proverbs31woman/)
 * Last activity: [19 years, 3 months ago](https://wordpress.org/support/topic/undefined-function-error-version-21/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
