Solving the “Template Is Missing” Error

Apparently this is something new with the latest version of WordPress, but I have found that if you edit the theme’s stylesheet to remove the first line, like so:


/*
Template: blank-stare < remove this line!
Theme Name: Blank Stare
Description: Even more minimalist than Zen! Content only front page.
Author: Joni Mueller for Pixelita Designs LLC
Author URI: http://www.pixelita.com
*/

The error message goes away. Let me know if you encounter a theme where this fix does not work for you. And thanks, everyone, for downloading (or attempting to download!) our themes!

14 Responses to “Solving the “Template Is Missing” Error”

  1. I did get an older theme of yours to load using this (The Barn Ported to WP 2.1)
    but… it shows the current theme to be WordPress Default 1.6 by Michael Heilemann…
    any ideas?
    Thanks!!!

  2. Dan says:

    not working on tech-bytes-reloaded which I wouldn’t mind so much, I would just uninstall it and go find a theme that works, except that now i can’t delete it either. getting a 550 error no such file, though clearly there is one. ughhhh.

  3. Bel says:

    The Miss Liberty theme does the same for me, says that the template is missing, I removed the first line like it says above but I still got the same error message.

  4. Hap says:

    I removed the line from Picnic, yet still get the template missing error.

  5. Ignacio says:

    Solved! Thank you!

  6. Custom PHP says:

    I was getting the “Template Is Missing” message.

    According to the docs, version 2.7 requires only two files to create a theme. 1) style.css 2)index.php.

    I was having problems because I changed the name of index.php to index-saved.php.

    Now all is good and my WordPress education continues.

  7. Meg says:

    Thank you so much. I’ve banging my head against my desk for about half an hour over this.

  8. AP says:

    Thanks dude, that fixed it.

  9. erica stjohn says:

    Worked for me thanks!

  10. I have older theme and I haven’t any problems.

  11. Gemma says:

    Worked like a treat :) Thanks for posting this!!

  12. sudhi says:

    Works perfectly on wp 2.8.4 . thanks

  13. Sheena says:

    Hi,
    I’ve tried to do it your way. The stylesheet is as below. I deleted the fourth ‘template’ whole line, but after that, at the ‘manage themes’ page there doesn’t seem to be any mention of the Gallery theme, not even under the ‘Broken themes’ section.

    Stylesheet as below:

    Theme Name: Gallery, a Thematic child theme
    Theme URI: http://www.chris-wallace.com/2009/06/22/gallery-1-2-released/
    Description: The ultimate gallery-style Thematic child theme for WordPress.
    Template: thematic
    Author: Chris Wallace
    Author URI: http://chris-wallace.com
    Version: 1.2.1

    I really really appreciate any help because I’ve been searching for solutions for close to 2 hours over this & I can’t sleep.

Leave a Reply