Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End What does this mean?

  • This topic is empty.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #34751
    fectio1
    Member

    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?

    #88999
    fectio1
    Member

    I have found a post here but it does not offer a reason on why it is happening. Any help would be great.

    #89000
    chrisburton
    Participant

    Post the code from the index.php file so we can try to help you.

    #89002
    fectio1
    Member

    Here is the code.Thanks for taking the time to look at it.



    id="post-">

    ">


















    Not Found






    #89003
    chrisburton
    Participant

    doesn’t if have posts have to come after get_header?

    #89014
    fectio1
    Member

    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.

    #89364
    fectio1
    Member

    Using 3.2 and it is on a blank template… got it from here

    #89366
    fectio1
    Member

    that would be 3.2.1, the latest version.

    #89374
    chrisburton
    Participant

    Use the HTML5 Reset Theme that is based on the Blank Theme by DigWp.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘Back End’ is closed to new topics and replies.