Title: ERRORS Trying to Create Custom Template
Last modified: November 1, 2017

---

# ERRORS Trying to Create Custom Template

 *  [pahdcc](https://wordpress.org/support/users/pahdcc/)
 * (@pahdcc)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/errors-trying-to-create-custom-template/)
 * I’m trying to set up a simple custom template. So far I have a simple index.php,
   footer.php and header.php. But for some reason I get this error message when 
   I try to view the simple index.php:
 * Fatal error: Call to undefined function get_header() in /home/pahdcc/pahdcc.com/
   wp-content/themes/PAHDCC/index.php on line 1
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferrors-trying-to-create-custom-template%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 6 months ago](https://wordpress.org/support/topic/errors-trying-to-create-custom-template/#post-9642463)
 * Show your file via pastebin.com or gist.github.com
 *  Thread Starter [pahdcc](https://wordpress.org/support/users/pahdcc/)
 * (@pahdcc)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/errors-trying-to-create-custom-template/#post-9642565)
 * [https://gist.github.com/anonymous/34030db00f1a6b2806b4cd0297d4af2a#file-footer-php](https://gist.github.com/anonymous/34030db00f1a6b2806b4cd0297d4af2a#file-footer-php)
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 6 months ago](https://wordpress.org/support/topic/errors-trying-to-create-custom-template/#post-9642909)
 * Hmmm… At first look, I don’t see anything terribly wrong. Compare your files 
   to those in [https://github.com/Automattic/_s](https://github.com/Automattic/_s)
 *  Thread Starter [pahdcc](https://wordpress.org/support/users/pahdcc/)
 * (@pahdcc)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/errors-trying-to-create-custom-template/#post-9644267)
 * Thanks for your advice Steve. I created a template through Underscore, uploaded
   the index.php, footer.php, header.php, style.css and still get the same error.
 * Fatal error: Call to undefined function get_header() in /home/pahdcc/pahdcc.com/
   wp-content/themes/PAHDCC/index.php on line 15
 * I’m wondering if this is a server-side issue I need to resolve with the hosting
   company, Dreamhost. It’s frustrating because they are a WordPress supported hosting
   company. They have a WP install function built into their platform.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 6 months ago](https://wordpress.org/support/topic/errors-trying-to-create-custom-template/#post-9644506)
 * I’m thinking that maybe you’re missing a WP core file… try a manual update
 * [https://codex.wordpress.org/Updating_WordPress#Manual_Update](https://codex.wordpress.org/Updating_WordPress#Manual_Update)

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

The topic ‘ERRORS Trying to Create Custom Template’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/errors-trying-to-create-custom-template/#post-9644506)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
