Unhandled Error!

Trying to get property of non-object

Document Products
Document type CMS page
Line 4
Exception class Cms_ExecutionException

Code Highlight

<div class="popup"><span id="flash_popup"></span></div>
<div id='fb-root'></div>
<div id="product_page">
  <? if ($product_unavailable || $product->category_list[0]->name == 'Parts' || !$product->name) : ?>
  <!-- <div class="content"><h2>Product Unavailable.</h2></div> -->
  <? $this->render_partial('fl_products'); ?>
  <? // header('Location: http://www.fraglabs.com.au/products'); ?>
  <? elseif(!$product): ?>
    <div class="content"><h2>No Such Product</h2></div>
  <? elseif($product->bundle_items->count): ?>
    <?  $this->render_partial('fl_bundled_product_partial') ?>
    <? //$this->render_partial('fl_bundle_single'); ?>
  <? else: ?>
# Document Type
1 Products CMS page