I'm using the Basic theme, and I get the following error when I refresh my site.
Notice: Undefined variable: unpublished in include() (line 18 of /Users/me/Projects/mysite/httdocs/sites/all/themes/mytheme/templates/node.tpl.php).
The line that is caused the notice is the following one.
<?php if ($unpublished): ?>
<p class="unpublished"><?php print t('Unpublished'); ?></p>
<?php endif; ?>
</header>
<?php endif; ?>
I don't understand this error. How can I fix it?