Unhandled Error!

Trying to get property of non-object

Document product
Document type CMS page
Line 2
Exception class Cms_ExecutionException

Code Highlight

<div id="product_div_id">
<? if( $product->x_bookpay == 200): ?>
 
	<?php $this->render_partial('shop:product3', array(
		'product' => $product
	)); ?>
 
 
<? elseif( $product->x_bookpay == 202): ?>
 
		<?php $this->render_partial('shop:product5', array(
			'product' => $product
		)); ?>
# Document Type
1 product CMS page