Title: Fatal error &#8211; get_header()
Last modified: January 12, 2018

---

# Fatal error – get_header()

 *  Resolved [lieslehlers](https://wordpress.org/support/users/lieslehlers/)
 * (@lieslehlers)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-get_header-2/)
 * Hi,
    For the first time looked at the content of the error_log and realised that
   this error is coming up on a number of pages:
 * PHP Fatal error: Call to undefined function get_header() in…
 * I am not a PHP developer, and prefer to stay away from functions…so I know I 
   didn’t change anything wittingly…
 * The content of the page is:
    <?php get_header(); ?> <?php hu_get_content( ‘tmpl/
   404-tmpl’); ?> <?php get_sidebar(); ?> <?php get_footer(); ?>
 * Have a child theme set-up, not sure if that would impact the error message.
 * Thank you!
    Liesl

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

 *  [Rocco Aliberti](https://wordpress.org/support/users/d4z_c0nf/)
 * (@d4z_c0nf)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-get_header-2/#post-9859622)
 * Hi there,
    that’s pretty weird as the get_header function is a [WordPress function](https://codex.wordpress.org/Function_Reference/get_header)
   and must be available in any template file. Is what you copied, the content of
   the file 404.php?
 *  Thread Starter [lieslehlers](https://wordpress.org/support/users/lieslehlers/)
 * (@lieslehlers)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-get_header-2/#post-9860087)
 * Hi
    Yes it’s a copy of the content of the page. I’ve also upgraded WordPress 
   to the latest version today to see if it will self correct. Will look at the 
   log to see if the error reoccurs. Thank you!!

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

The topic ‘Fatal error – get_header()’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [lieslehlers](https://wordpress.org/support/users/lieslehlers/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-get_header-2/#post-9860087)
 * Status: resolved