WordPress.org

Ready to get started?Download WordPress

Forums

How to change theme when your blog is broken (6 posts)

  1. janisssss
    Member
    Posted 1 year ago #

    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?

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Which version of WordPress are you using?

  3. janisssss
    Member
    Posted 1 year ago #

    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. :-(

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    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

  5. janisssss
    Member
    Posted 1 year ago #

    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.

  6. Tim
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic