Unhandled Error!

Trying to get property of non-object

Document Product details page.
Document type CMS page
Line 89
Exception class Cms_ExecutionException

Code Highlight

		<? endif ?>
		<?= close_form() ?>
	</div>
</div>
<!-- Lifestyle Image -->
<?
$images = $product->images;
if ($images->count > 1) {
	foreach ($images as $image) {
		if(strpos($image->name, "lifestyle")) {
?>
<div class="row wide lifestyle-img">
	<div class="twelve columns nomar nopad">
# Document Type
1 Product details page. CMS page