Title: Fatal Error while Upgrading to WordPress 3.4
Last modified: August 20, 2016

---

# Fatal Error while Upgrading to WordPress 3.4

 *  Resolved [vdrive](https://wordpress.org/support/users/vdrive/)
 * (@vdrive)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-while-upgrading-to-wordpress-34/)
 * Hello, I tried upgrading to WordPress 3.4 a while ago, but I got an error which
   I can’t remember. However, when I tried to visit my site (visitor’s mode), I 
   got the error below:
 * `Fatal error: Call to undefined function get_front_page_template() in /home/oluwatob/
   public_html/wp-includes/template-loader.php on line 26`
 * On the other hand, while trying to visit my Dashboard, it takes me to a pae asking
   me to Update WordPress Database. After clicking Update button, I get this error:
 * `Fatal error: Class 'WP_Theme' not found in /home/oluwatob/public_html/wp-includes/
   theme.php on line 106`
 * I have tried all I can but to no avail. Please, how can I solve this error.
 * Thanks in anticipation of your QUICK RESPONSE.

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [13 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-while-upgrading-to-wordpress-34/#post-2813786)
 * What did you try? 🙂 I know you said ‘All I can’ but what is that? Can you list
   what you tried? That way we don’t make you repeat what you’ve done.
 *  Thread Starter [vdrive](https://wordpress.org/support/users/vdrive/)
 * (@vdrive)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-while-upgrading-to-wordpress-34/#post-2813798)
 * I tried renaming the theme folder. Later on, I tried renaming the plugins folder
   and even the active theme itself; yet it didn’t work. That’s all I’ve tried for
   now :).
 * Thanks as you help me look into this.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [13 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-while-upgrading-to-wordpress-34/#post-2813800)
 * Okay first up try manually upgrading WP. Go to [http://wordpress.org/download/](http://wordpress.org/download/)
   and get the latest version (3.4), download it to your computer, unzip, and FTP
   the files up.
 *  Thread Starter [vdrive](https://wordpress.org/support/users/vdrive/)
 * (@vdrive)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-while-upgrading-to-wordpress-34/#post-2813812)
 * But, won’t I loose all my posts and other files? Just being curious and careful.
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [13 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-while-upgrading-to-wordpress-34/#post-2813827)
 * > But, won’t I loose all my posts and other files? Just being curious and careful.
 * Careful is good. 😉 But don’t worry, your fine.
 * Your posts are in the database (safe) and your files are not in the WordPress
   ZIP file. Don’t delete files, just upload from that zip on top of what’s there.
 * Since you are being careful, make a complete backup of your files and database.
 * [http://codex.wordpress.org/WordPress_Backups](http://codex.wordpress.org/WordPress_Backups)
   
   [http://codex.wordpress.org/Backing_Up_Your_Database](http://codex.wordpress.org/Backing_Up_Your_Database)
   [http://codex.wordpress.org/Restoring_Your_Database_From_Backup](http://codex.wordpress.org/Restoring_Your_Database_From_Backup)
 * Backups are your friend. Put those somewhere safe and you should them good to
   go in case something bad happens.
 *  Thread Starter [vdrive](https://wordpress.org/support/users/vdrive/)
 * (@vdrive)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-while-upgrading-to-wordpress-34/#post-2813831)
 * Thanks so much, I’ve started uploading the WordPress 3.4 via FTP and overwriting
   existing files. Thanks. I’ll update about the progress.
 *  Thread Starter [vdrive](https://wordpress.org/support/users/vdrive/)
 * (@vdrive)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-while-upgrading-to-wordpress-34/#post-2813840)
 * Waoh…after upload, I followed the Update procedure and got a successful notice.
   Yipeee!!! My Site is now back online though, I had to perform some quick set 
   up like activating a theme, placing the widgets appropriately and others. Thanks
   so much for your help. You Rock!!!
 * You can check the site here: [http://www.oluwatobisoyombo.com](http://www.oluwatobisoyombo.com)
 * Thanks once again
 *  [bglhonl1](https://wordpress.org/support/users/bglhonl1/)
 * (@bglhonl1)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-while-upgrading-to-wordpress-34/#post-2813977)
 * So, I tried the manual upload and my site STILL shows the error message:
 * Fatal error: Class ‘WP_Theme’ not found in
 * I’m pretty frustrated at this point. I have Theme TwentyTen and TwentyEleven 
   and I also use the DB Cache Plugin so I don’t know if that means anything. But
   yeh, I have no clue how to get my site working again.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-while-upgrading-to-wordpress-34/#post-2813978)
 * 1. Don’t post in someone else’s resolved topic.
 * 2. Did you read [http://wordpress.org/support/topic/troubleshooting-wordpress-34-master-list](http://wordpress.org/support/topic/troubleshooting-wordpress-34-master-list)–
   specifically:
 * > Problem: You get the following error — Fatal error: Class ‘WP_Theme’ not found
   > in
   >  Solution: Reinstall WP. The class-wp-theme.php file is included by default.
   > This could only really happen if they get an updated wp-includes/theme.php 
   > file but not an updated wp-settings.php file. (Do the manual upgrade if you
   > can’t get into wp-admin)
 * Follow the instructions for a [manual upgrade](http://codex.wordpress.org/Upgrading_WordPress#Manual_Update).
 *  [bglhonl1](https://wordpress.org/support/users/bglhonl1/)
 * (@bglhonl1)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-while-upgrading-to-wordpress-34/#post-2813981)
 * You know what… at this point I’m posting this as a project on Freelancer.com.
   I don’t have time for this.
 * And yes, I did read the master list thread and didn’t find anything helpful.
 * I love WordPress and all, but they have a long way to go when it comes to quick
   and efficient troubleshooting.
 *  [islandman974](https://wordpress.org/support/users/islandman974/)
 * (@islandman974)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-while-upgrading-to-wordpress-34/#post-2814004)
 * Sorry
    but not resolved at all… I tried all what you said above..but nothing 
   of nothing…
 * Please, we need more help
    Regards…
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-while-upgrading-to-wordpress-34/#post-2814006)
 * [@islandman974](https://wordpress.org/support/users/islandman974/): Please post
   your own topic.
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [13 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-while-upgrading-to-wordpress-34/#post-2814008)
 * > Sorry
   >  but not resolved at all.
 * Yes it is _because the original poster said it is_. This was his issue and not
   yours.
 * Please open your own thread.
 * [http://wordpress.org/support/forum/how-to-and-troubleshooting#postform](http://wordpress.org/support/forum/how-to-and-troubleshooting#postform)

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Fatal Error while Upgrading to WordPress 3.4’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 13 replies
 * 6 participants
 * Last reply from: [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-while-upgrading-to-wordpress-34/#post-2814008)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
