• So in checking my logs, I see that I’m getting the ‘PHP Fatal error: Call to undefined function get_header…” error. I’m also noticing that the error pops up on my 2010 CHILD theme (which is active) and then the error starts happening on the 2010 PARENT theme.

    Is this because WP is flipping over to the parent theme since the child theme is erroring?

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • No – that doesn’t happen. If there’s an error on the child theme, the site fails or shows the error. It does not auto-switch to the parent theme. Re-upload a fresh, unpacked, copy of the Twenty Ten folder to wp-content/themes using FTP or whatever file management application your host provides.
    http://wordpress.org/themes/twentyten

    Thread Starter rboulet

    (@rboulet)

    Will do – thanks!

    Thread Starter rboulet

    (@rboulet)

    Drat. took your advice, esmi, on that day & just saw the same error last night. I assume there’s something going on my child theme.

    If any of you can think of any other direction to investigate, I’m all ears.

    Can we see the site using the default Twenty Fourteen theme with all plugins deactivated?

    Thread Starter rboulet

    (@rboulet)

    I’d have to do that on our separate test site – let me see if I’m getting the same error there.

    Thread Starter rboulet

    (@rboulet)

    Well in doing research I’m 99% sure that this is caused by the ‘someone navigating to your url.com/wp-content/themes/twentyten-child/index.php’ cause that’s the only way I can replicate the error. Now to decide if I want to bother filtering that traffic or not (since it’s literally once or twice every couple of days.)

    Thanks all!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘fatal error on child AND parent theme’ is closed to new replies.