- This topic is empty.
Viewing 9 posts - 1 through 9 (of 9 total)
Viewing 9 posts - 1 through 9 (of 9 total)
- The forum ‘Back End’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
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
Thanks for any help or suggestions?
I have found a post here but it does not offer a reason on why it is happening. Any help would be great.
Post the code from the index.php file so we can try to help you.
doesn’t if have posts have to come after get_header?
Yes, that is actually where I originally had it, but I moved it around to see if it would make a difference in the error log and it did not. After reading and reading yesterday, it appears to have something to do with certain themes, but I have not been able to find the problem.
that would be 3.2.1, the latest version.
Use the HTML5 Reset Theme that is based on the Blank Theme by DigWp.