• I’m trying to get the 2010 theme to work but get this error. There is an older thread on this site that discusses this error but the solution does not apply to my situation. I am using the correct index.php file.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter cupboy2013

    (@cupboy2013)

    Don’t see a way to edit my prev. post, but wanted to add this info: Usually this kind of error is caused by a missing require_once but there aren’t any requires in the file which makes me wonder how it can find the function. Works ok that way in the other theme I was using though.

    Thread Starter cupboy2013

    (@cupboy2013)

    I added require_once ‘wp-includes\general-template.php’;

    but then of course I get a new error, so this could go on forever…

    Fatal error: Call to undefined function add_action()

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Call to undefined function get_header()’ is closed to new replies.