So, you just downloaded new WordPress and replaced old wp-admin and wp-includes directories with the new ones. If you get this error:
Fatal error: Call to undefined function get_front_page_template() in /home/you/public_html/wp-includes/template-loader.php on line 26
and/or this one:
Fatal error: Class ‘WP_Theme’ not found in /home/you/public_html/wp-includes/theme.php on line 106
Well, then your solution is probably this:
cp /download/path/of/your/new/3.2_wp/wordpress/wp-settings.php /your/blog/dir/root/folder/
So, just replace your old wp-settings.php file with the new one. From 3.4 version. It should work.