Unhandled Error!

Trying to get property of non-object

Document Category
Document type CMS page POST action code
Line 4
Exception class Cms_ExecutionException

Code Highlight

<?
 
 
$this->data["body_class"] = "category category-".strtolower(str_replace(" ", "-", $category->name));
 
global $bcs;
$this->data["breadcrumb"] = array($bcs['Home'], $bcs['Products'], $category->name);
?>
# Document Type
1 Category CMS page POST action code