Unhandled Error!

Trying to get property of non-object

Document Category
Document type CMS page
Line 1
Exception class Cms_ExecutionException

Code Highlight

<div class="span-12 last full bord cat-head" id="<?= $category->url_name ?>">
  <? if (!$category): ?>
    <h1>We are sorry, the specified category was not found.</h1>
</div>
  <? else: ?>
    <h1><?= $category->name ?></h1>
    <?= $category->description ?>
 
      <? $this->render_partial('shop:category') ?>
 
<? endif ?>
<? $this->render_partial('cat_list') ?>
# Document Type
1 Category CMS page