Unhandled Error!

Trying to get property of non-object

Document Product 2021
Document type CMS page
Line 3
Exception class Cms_ExecutionException

Code Highlight

<section class="content">
 
<? if( $product->x_bookpay == 200): ?>
 
	<section id="product" class="product top block" style="margin:15px;">
		<?php $this->render_partial('shop:product3', array(
			'product' => $product
		)); ?>
	</section>
 
<? elseif( $product->x_bookpay == 201): ?>
 
	<section id="product" class="product top block" style="margin:15px;">
# Document Type
1 Product 2021 CMS page