• I can’t find an answer to this anywhere. I tried changing this tiny thing in my Classic’s theme index.php file: “<?php
    get_header();
    ?>”
    I obviously don’t know what I’m doing, but I knew that I needed to change it back when my edit didn’t work. This gave me this errorwhen trying to visit my site (although I can access my admin panel):

    “Fatal error: Call to undefined function: get_header() in /home/content/T/r/a/Tracierose/html/index.php on line 2” . Thinking that maybe I missed something, I uploaded the back up that I have of this file with the same results.

    Not sure what else to do. Maybe I changed the wrong index.php file and need to change it back?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter dooderose

    (@dooderose)

    Okay, I really think I lost the whole thing and I’m starting to panic! Is there any possible solution for this?

    LOOK at your error?

    you edited the wrong file.

    /home/content/T/r/a/Tracierose/html/index.php <– thats NOT a theme file.

    Go download wordpress from the download page .. See the BIG orange-red link at the top of this page???

    unpack the zip

    upload a new UNEDITED index.php — taking note that it is going to be the one thats inside the folder that contains readme.html and that it needs to be uploaded to the directory that contains your wp-config.php

    Thread Starter dooderose

    (@dooderose)

    Okay, I was able to replace most of the files by upgrading everything besides my content. It seemed to work! If anyone has a similar problem, maybe this is your solution.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘edited classic’s index.php now “undefined function: get_header()…”’ is closed to new replies.