Fatal error: Class ‘WP_Theme’ not found in …. template-loader.php …

19.junij.2012 | Igor

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.

Objavljeno v torek, junij 19th, 2012 ob 08:00

Trenutno ni komentarjev

Dodaj komentar




  • Kategorije

  • Zadnji komentarji

  • Arhiv

  • Naroči se na e-obveščanje

    Bodi obveščen o mojem novem zapisu takoj, ko je ta objavljen. Potreben je le vpis veljavnega e-naslova.