Fatal error: Call to a member function getSubCategories() on null in /home/tcart2/public_html/application/modules/Advgroup/Model/DbTable/Categories.php on line 47