Notice!

ErrorException [ Notice ]: Trying to get property of non-object

APPPATH/classes/controller/products.php @ line 85:

84:	$data['products_count']   = Model_Product::find()->where(
85:	array('product_category_id'=> $product_category->id ))->count();
86:	

Notice!

ErrorException [ Notice ]: Trying to get property of non-object

APPPATH/classes/controller/products.php @ line 97:

96:	
97:	if ($product_category->parent_id!=0){
98:	$products = Model_Product::find('all', array(

Notice!

ErrorException [ Notice ]: Trying to get property of non-object

APPPATH/classes/controller/products.php @ line 111:

110:	$products = array();
111:	$subcategories = Model_Product_Category::find_all_by_parent_id($product_category->id);
112:	}

Notice!

ErrorException [ Notice ]: Trying to get property of non-object

APPPATH/classes/controller/products.php @ line 120:

119:	
120:	$this->template->title = $product_category->name;
121:	$this->template->metatitle = $product_category->meta_title;

Notice!

ErrorException [ Notice ]: Trying to get property of non-object

APPPATH/classes/controller/products.php @ line 121:

120:	$this->template->title = $product_category->name;
121:	$this->template->metatitle = $product_category->meta_title;
122:	$this->template->metakey = $product_category->meta_keywords;

Notice!

ErrorException [ Notice ]: Trying to get property of non-object

APPPATH/classes/controller/products.php @ line 122:

121:	$this->template->metatitle = $product_category->meta_title;
122:	$this->template->metakey = $product_category->meta_keywords;
123:	$this->template->metadesc = $product_category->meta_description;

Notice!

ErrorException [ Notice ]: Trying to get property of non-object

APPPATH/classes/controller/products.php @ line 123:

122:	$this->template->metakey = $product_category->meta_keywords;
123:	$this->template->metadesc = $product_category->meta_description;
124:	

Products