• Resolved jmadz1

    (@jmadz1)


    I installed a new theme, but there was a line of code in it that was wrong. I recieved the message

    “Fatal error: Call to undefined function register_sidebar1() in /home/username/public_html/wp-content/themes/coffeebreak-10/functions.php on line 3”

    I tried to delete the theme but everything I click on in my dashboard just goes to the same error message. I can’t even log in, it just displays this error.

    I have a lot of work on the site that I want to save, so I don’t want to delete wordpress and upload again. Is there any way of fixing this without losing all my hard work?

    Thanks.

Viewing 10 replies - 1 through 10 (of 10 total)
  • using ftp rename the theme coffeebreak-10 so that twenty ten theme opens and let you login.

    Thread Starter jmadz1

    (@jmadz1)

    I’m a noob. What is ftp? is that through my cpanel? Walk me through it like I’m a complete idiot please.

    In cpanel click on wp-content folder
    click on themes folder
    in themes folder you will find coffeebreak-10 click on name (not folder) and right you will see rename click on it and rename that folder.

    Thread Starter jmadz1

    (@jmadz1)

    Ok I’ve accessed my ftp, I’m using filezilla. When I open up the wp-content folder and go into themes, there is only one theme there “twentyten”. I can’t find the coffeebreak-10 theme anywhere. Am I looking in the correct place?

    Thread Starter jmadz1

    (@jmadz1)

    Oh wait, found it.

    Thread Starter jmadz1

    (@jmadz1)

    It worked thankyou. I renamed the coffeebreak-10 theme to a false name, and then renamed a working theme to coffeebreak-10.

    Great advice, thanks again.

    Do you mean you renamed twenty ten theme to coffeebreak-10 or did you have the theme in wrong folder and you added it in themes folder.

    Thread Starter jmadz1

    (@jmadz1)

    Basically yes. It wouldn’t allowe me to rename coffeebreak-10 to twentyten, because twentyten was already taken. I had to rename coffeebreak-10 to a random name, then rename the real twentyten to ‘coffeebreak-10’. I suppose I could have renamed the real twentyten to a random name instead, which would allow me to rename the broken coffeebreak-10 theme to the now available ‘twentyten’ name.

    That is not you were suppose to do that as twenty ten theme is the default theme you were suppose to rename coffeebreak-10 to say coffeebreak-10_hold and leave twenty ten theme as is and wordpress would default to twenty ten theme if does not find coffeebreak-10

    Always leave twenty ten theme in theme folder else you will not have way to open wordpress if your theme has problems.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Dashboard fatal error!!! How do I get my blog back?’ is closed to new replies.