Comments on: “PHP Fatal error: Call to undefined function get_header()” error in WordPresshttp://west-penwith.org.uk/blog/archives/1418
A soggy blog by Rick ParsonsTue, 03 Mar 2015 13:29:14 +0000hourly1http://wordpress.org/?v=4.1.1By: Mikehttp://west-penwith.org.uk/blog/archives/1418/comment-page-1#comment-235539
Wed, 03 Oct 2012 00:30:36 +0000http://west-penwith.org.uk/blog/?p=1418#comment-235539I’m having the same issue as well. I have spent hours on this and am baffled. I have been able to prove to myself that it is a problem with the theme. This problem ONLY happens with the index.php file. I can remove the index.php file completely and the site still works because it never falls back to the index.php file based on the wordpress template hierarchy. Still, I would love to know what in the world is causing this.
It definitely has to do with the wordpress classes not being loaded / available / whatever when it attempts to parse the index.php file.

The annoying thing is that the error log gets written to every time the home page of the site is loaded.