WordPress.org

Support

Support » Themes and Templates » How to change theme when your blog is broken

How to change theme when your blog is broken

  • I just tried updating a theme and broke my blog. I am getting this fatal error on the front end: Call to undefined function wp_get_theme() in /home/sparkle/public_html/wp-content/themes/hybrid/library/functions/utility.php on line 119

    and on the backend, this fatal error: Call to undefined function wp_get_theme() in /home/sparkle/public_html/wp-content/themes/hybrid/library/admin/theme-settings.php on line 35

    I tried putting the old version of the theme back but it didn’t work and am now getting this fatal error: Call to undefined function hybrid_get_prefix() in /home/sparkle/public_html/wp-content/themes/hybrid-news/functions.php on line 46

    I actually know NO PHP – is there something simple I can do to change the theme inside the coding somehow (I can access files through ftp and get into my host account) just to get the blog up and running until I can find someone to fix it?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Andrew Nevins

    @anevins

    Forum moderator

    Which version of WordPress are you using?

    I believe it is 3.3.2 – I was going to have someone update it since every time I touch something other than the simplest plugins, I seem to break something, but never got around to it. 🙁

    And see, I tried touching something and broke it. I should have hired someone instead of trying to save a few bucks. 🙁

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    What is your theme name?

    You may find these forum threads comforting
    http://wordpress.org/search/fatal+error%3A+Call+to+undefined+function?forums=1

    Hybrid. Actually Hybrid News, but it uses Hybrid as a base. I just want to get the blog live now using any theme – twentyten, Hybrid or whatever – until I can get someone in who can get it working right.

    Peeped at those threads – at least I know my content is there, unlike some people! I am sure, actually, it is probably an easy fix for someone who knows a bit of PHP and the backend of WordPress. Sadly, that is not me – CSS I can do. Oldschool html I was fine with. PHP, I never could wrap my head around. I really suck at PHP.

    Tim

    @timothyabgreen

    I am pretty sure that you need to update to WordPress latest version and then the Hybrid theme will work again. This problem occurs when the theme files are updated before the core WordPress files.

    Try logging in to your hosting account by ftp and renaming your current theme directory to a different name so that it forces your site to use the default theme. Then login to admin and update WordPress as usual, then rename your theme folder to the correct name.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to change theme when your blog is broken’ is closed to new replies.
Skip to toolbar