[eluser]Bluemagix[/eluser]
If i remove the line getAllCategory() and
change like this
$data['numCategory']=$this->Category_m->getNumCategory();
then also i found the same error
Fatal error: Call to a member function getNumCategory() on a non-object in C:\wamp\www\system\application\controllers\category.php on line 16
the only difrance is
Message: Undefined property: Category::$Category_m