Unhandled Error!

Trying to get property of non-object

Document product
Document type CMS page head
Line 4
Exception class Cms_ExecutionException

Code Highlight

<?php if(!empty($product->title)): ?>  
<title><?php echo $product->title; ?></title>
<?php else: ?>	
<title><?php echo $product->name; ?></title>
<?php endif; ?>
# Document Type
2 product CMS page head
1 product CMS page