Unhandled Error!

Undefined index: site_url

Document Category
Document type CMS page
Line 7
Exception class Cms_ExecutionException

Code Highlight

<div class="side_by_side_products">
<? if (!$category): ?>
	<h1>List of Product Categories</h1>
	<div>
	<?  
	if (!isset($category_url_name))
	$category_url_name = $_SESSION['site_url'];
	$setcat = false;
	$categories = isset($parent_category) ? $parent_category->list_children() : Shop_Category::create()->list_root_children();
	if ($categories->count) : ?>
		<ul>
		<? foreach ($categories as $category):  ?>
			<? if ($category->url_name == $_SESSION['site']) { ?>
# Document Type
1 Category CMS page