Unhandled Error!

Trying to get property of non-object

Document Product
Document type CMS page
Line 3
Exception class Cms_ExecutionException

Code Highlight

<?php 
	$this->render_partial('zkron_breadcrumb', array(
	'page_name' => $product->name,
	'page_link' => $product->page_url('/product')
)); 
 
/* for related articles */
$sql = "
    SELECT `blog_posts`.`id`
    FROM `blog_posts`
    LEFT JOIN `lwcommodel_tags` ON `lwcommodel_tags`.`master_id` = `blog_posts`.`id`
    WHERE `lwcommodel_tags`.`master_class` = 'Blog_Post' AND `lwcommodel_tags`.`name` = :product_sku
    GROUP BY `blog_posts`.`id`
# Document Type
1 Product CMS page