Unhandled Error!

Trying to get property of non-object

Document sidebar:category_list
Document type CMS partial
Line 54
Exception class Cms_ExecutionException

Code Highlight

				endif;
			endforeach;
			echo '</ul>';
			return;
		}
		//
		$current_category_id = $category->id;
		$root_parent = find_root($category);
		$parents = $category->get_parents();
		echo '<h3>Browse '.$root_parent->name.'</h3>';
		$categories = $root_parent->list_children();
		show_children($categories, $current_category_id, $parents);
	?>
# Document Type
2 sidebar:category_list CMS partial
1 Category CMS page