Notice: Trying to get property 'id' of non-object in /usr/share/ssb/domains/ssb.i010.com/public_html/mvc/app/controllers/158/category.class.php on line 91

Fatal error: Uncaught TypeError: Argument 1 passed to Tools::getImage() must be of the type integer, null given, called in /usr/share/ssb/domains/ssb.i010.com/public_html/mvc/app/controllers/158/category.class.php on line 91 and defined in /usr/share/ssb/domains/ssb.i010.com/public_html/mvc/app/core/Tools.class.php:35 Stack trace: #0 /usr/share/ssb/domains/ssb.i010.com/public_html/mvc/app/controllers/158/category.class.php(91): Tools->getImage(NULL, 'level', 'thumb') #1 /usr/share/ssb/domains/ssb.i010.com/public_html/mvc/app/controllers/158/category.class.php(52): Category->getCategory(8) #2 /usr/share/ssb/domains/ssb.i010.com/public_html/mvc/app/core/App.class.php(108): Category->items(8) #3 /usr/share/ssb/domains/ssb.i010.com/public_html/mvc/public/main.inc.php(15): App->__construct() #4 /home/anka/domains/anka.com.hk/public_html/index.php(13): include('/usr/share/ssb/...') #5 {main} thrown in /usr/share/ssb/domains/ssb.i010.com/public_html/mvc/app/core/Tools.class.php on line 35