Unhandled Error!

Trying to get property of non-object

Document Product
Document type CMS page
Line 3
Exception class Cms_ExecutionException

Code Highlight

<?
$manufacturers = Shop_Manufacturer::create()->find_all();
$manufacturer_id = $product->manufacturer->id; 
?>
 
<? 
if(!isset($_SERVER['HTTP_REFERER'])): 
    $this->render_partial('layout;sidebar_product_range');
 
  else:
 
  // Find previous url and strip out the product
  $prev_url_cat = $_SERVER['HTTP_REFERER'] ;
# Document Type
1 Product CMS page