Unhandled Error!

Trying to get property of non-object

Document Category
Document type CMS page
Line 1
Exception class Cms_ExecutionException

Code Highlight

<? if(($category->name == 'Celebrity')): ?>
<script language="javascript">
<!-- code for my StatScript here -->
window.location='http://www.ziiba.com.au/category/shop-by-category/';
</script>
<? endif; ?><? if(($category->name == 'Designer')): ?>
<script language="javascript">
<!-- code for my StatScript here -->
window.location='http://www.ziiba.com.au/category/shop-by-category/';
</script>
    <? endif; ?>
 
<div class="side_by_side_products">
# Document Type
1 Category CMS page