Unhandled Error!

Trying to get property of non-object

Document Category
Document type CMS page
Line 4
Exception class Cms_ExecutionException

Code Highlight

<div class="container">
<div class="row">
<div class="twelve columns">
<h1><?= $category->name ?></h1>
</div>
</div>
<div class="row">
<div class="three columns">
<? $this->render_partial('shop:categories') ?>
</div>
<div class="nine columns">
<? foreach ($category->images as $image): ?>
<img src="<?= $image->getThumbnailPath('auto', 'auto') ?>"/>
# Document Type
1 Category CMS page