• Resolved burrit0s

    (@burrit0s)


    First of all, I am a newbie when it comes to wordpress and creating sites. I was trying to do a child theme and accidentally entered a line of code pointing at the wrong theme. The code was

    <div class="entry-meta">
    <?php twentyten_posted_on(); ?>
    </div><!-- .entry-meta -->

    My theme is not twenty ten. After I pressed update I got a message that read: Fatal error: Call to undefined function twentyten_posted_on() in /home/burrito/public_html/wp-content/themes/lightshow-child-2/functions.php on line 2

    Now I can’t even log into the dashboard… It just gives me this message. How do I go in and delete this line of code I created!?!?

    Please help!

Viewing 1 replies (of 1 total)
  • Thread Starter burrit0s

    (@burrit0s)

    Nevermind, I figured it out on my own. If you are getting a fatal error because of a bad line of code you entered, here is how I fixed it.

    1. Go to your web host’s website and log into the cPanel. In my case, it is Host Gator.

    2. In the cPanel, follow the path that the fatal error gave you. In my case, it was /home/burrito/public_html/wp-content…. etc.

    3. Once I found the folder that was holding the bad line of code I entered pointing at the wrong theme, I deleted it.

    Problem solved

Viewing 1 replies (of 1 total)
  • The topic ‘Can't log into wp-admin, get fatal error’ is closed to new replies.