Unhandled Error!

Trying to get property of non-object

Document Standard Product Page
Document type CMS page PRE action code
Line 112
Exception class Cms_ExecutionException

Code Highlight

		exit;
	}
 
}
 
$this->data['gr_page_type'] = 'product';
$this->data['gr_total_value'] = $this->data['product']->price;
$this->data['gr_product_id'] = "'".$this->data['product']->sku."'";
 
// IF PRODUCT IS GROUPED, 301 REDIRECT TO PARENT
if (!empty($this->data['product']->grouped) && $this->data['product']->grouped) {
	Header( "HTTP/1.1 301 Moved Permanently" );
	Header( "Location: /finishes/".substr($this->data['product']->sku, 0, strlen($this->data['product']->sku)-1)."Q/" );
# Document Type
1 Standard Product Page CMS page PRE action code