Title: Error Log Question
Last modified: August 20, 2016

---

# Error Log Question

 *  [Jay](https://wordpress.org/support/users/fectio1/)
 * (@fectio1)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/error-log-question/)
 * I created a home.php file for a custom home page within my theme. Website works
   fine, but I checked my error log file and I am getting this message.
 * PHP Fatal error: Call to undefined function get_header() in /home/test/public_html/
   wp-content/themes/empty-Theme/index.php
 * I’m lost at this point?
 * Thanks for any help or suggestions

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

 *  Thread Starter [Jay](https://wordpress.org/support/users/fectio1/)
 * (@fectio1)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/error-log-question/#post-2344772)
 * So far I have found this [recent post](http://west-penwith.org.uk/blog/archives/1418)
   and [this post](http://www.ardamis.com/2011/06/02/fix-for-php-fatal-error-get_header-in-wordpress/)
   which offers a solution, but does not off an why?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/error-log-question/#post-2344773)
 * Try renaming home.php to front-page.php and using a static front page.
 *  Thread Starter [Jay](https://wordpress.org/support/users/fectio1/)
 * (@fectio1)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/error-log-question/#post-2344776)
 * Thanks for the suggestion, but that did not work.
 *  Thread Starter [Jay](https://wordpress.org/support/users/fectio1/)
 * (@fectio1)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/error-log-question/#post-2344777)
 * Well, I still do not know what is causing the error, but thanks to [Ardamis.com](http://www.ardamis.com/)
   I was able to stop the error messages with a fix. You can see it [here](http://www.ardamis.com/2011/06/02/fix-for-php-fatal-error-get_header-in-wordpress/)
 *  Thread Starter [Jay](https://wordpress.org/support/users/fectio1/)
 * (@fectio1)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/error-log-question/#post-2344823)
 * No developers interested? It appears to be affecting only certain themes.

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

The topic ‘Error Log Question’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [Jay](https://wordpress.org/support/users/fectio1/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/error-log-question/#post-2344823)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
