Unhandled Error!

Trying to get property of non-object

Document product_partial
Document type CMS partial
Line 95
Exception class Cms_ExecutionException

Code Highlight

				<a class="addthis_button_twitter"></a>
				<a class="addthis_button_email"></a>
				<a class="addthis_button_compact"></a>
			</div>
			<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4d75098767d2760b"></script>
			<!-- AddThis Button END -->
			<? $rating = $product->rating_all;?>
			<!--NOT FUNCTIONAL YET<a href="#reviews" id="review_link"><?= $rating ? '<span class="small rating-display rating-display-'.str_replace('.', '', $rating).'">&nbsp;</span>' : '&nbsp;N/A' ?> <span class="rating-reviews">Write Review &#187;</span></a>-->
			<div class="clear"></div>		
			<h1><?= h($product->short_description);?></h1>
			<span class="price"><?= format_currency($product->price()) ?></span>
			<? //$this->render_partial('shop:product:options');?>
			<div class="clear"></div>
# Document Type
2 product_partial CMS partial
1 Product CMS page