Unhandled Error!

Trying to get property of non-object

Document Product
Document type CMS template
Line 48
Exception class Cms_ExecutionException

Code Highlight

		</div>
		<div class="container wide footerarea">
			<?php $this->render_partial('site:footermeta'); ?>
			<?php $this->render_partial('site:mobileprompt'); ?>
		</div>
 
        <?php if ($product->x_personalised_file_product): ?>
            <script type="text/javascript" src="<?= theme_resource_url('js/personalise/dropzone.min.js'); ?>"></script>
            <script type="text/javascript" src="<?= theme_resource_url('js/personalise/productfiles.js'); ?>"></script>
        <?php endif; ?>
	</body>
</html>
 
# Document Type
1 Product CMS template