Unhandled Error!

Trying to get property of non-object

Document Product
Document type CMS template
Line 25
Exception class Cms_ExecutionException

Code Highlight

				<? $this->render_partial('nav:secondary') ?>
			</nav>
		</div>
 
		<div id="featured" class="full">
			<?
			foreach ($product->category_list as $category) {
				if ($category->name == 'Ready2Go Milk Drink') {
					$feature_class = "ready2go";
				}
			}
			if (!isset($feature_class)) {
				$feature_class = $product->x_product_age;
# Document Type
1 Product CMS template