Support » Installing WordPress » Upgrade to 3.4 from 3.1.1 Fatal error

  • Resolved mbecker1234

    (@mbecker1234)



    My website is hosted on godaddy and the version of WP I have is 3.1.1. I first tried to do the automatic upgrade, but kept getting a message saying that I had a permission issue. So I decided to download 3.4 and upgrade manually using the steps found here: Updating_WordPress. I went through step 1 and 1.5. I then went to my upgrade.php and it said I needed to upgrade my database. I then got the error: “Fatal error: Class ‘WP_Theme’ not found in <mywebsite>\httpdocs\wp-includes\theme.php on line 106”. Is there something I did wrong, or a way to fix this?

    Here’s line 106 from theme.php:
    return new WP_Theme( $stylesheet, $theme_root );

    Apparently the class WP_Theme isn’t defined in theme.php, so where is it defined?

    Thanks,
    Matt

Viewing 5 replies - 16 through 20 (of 20 total)
  • navywebmaster

    (@navywebmaster)

    Many thanks esmi for your advice on this matter. Replacing the wp-settings.php in root resolved this issue for me.

    amigliora

    (@amigliora)

    Hi, I was thru the same problem Fatal_Error after the upgrade from 3.1 to 3.4.1
    I follow instructions here, and after change the wp-settings.php I’ve got control again from wp.
    Issues:
    1 – I can’t find everything I did last night 🙁
    2 – When I am clicking in themes on the left bar tool, I am having another error, “Fatal error: Class ‘WP_Theme’ not found in /home/amxsoxx/public_html/wp-includes/theme.php on line 69”

    Did I lost all my work?
    My system is now unstable?
    How can I check that everything is ok?

    Thanks for your help

    Hi,

    I tried to upgrade my colorway theme from 1.7.8 to 2.2 and got a fatal error in line 11.

    This is the message i am getting anytime i try to get into my admin-wp page.

    Fatal error: Call to undefined function wp_get_theme() in /srv/disk3/843631/www/serenitylodgesdominica.com/wp-content/themes/colorway/functions/theme-options.php on line 11

    Is there anything i can do.

    Please help.

    Thanks,

    Carina

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Upgrade to 3.4 from 3.1.1 Fatal error’ is closed to new replies.