Unhandled Error!

Trying to get property of non-object

Document product
Document type CMS page
Line 1
Exception class Cms_ExecutionException

Code Highlight

<meta name="description" content="<?php echo $product->meta_description ? $product->meta_description : strip_tags(htmlspecialchars($product->description)); ?>">
<meta name="keywords" content="<?php echo $this->page->keywords; ?>">
<title><?php echo $this->page->title; ?></title>
<link rel="canonical" href="https://<?php echo $_SERVER['HTTP_HOST']; ?><?php echo parse_url( $_SERVER['REQUEST_URI'], PHP_URL_PATH ); ?>" />
 
</head>
 
<body class="page-<?php echo $this->page->id; ?> layout-product">
 
<? $this->render_partial('global_header') ?>
 
<div class="page-wrapper">
 
# Document Type
1 product CMS page