array(1) { [0]=> array(4) { ["id_category"]=> string(1) "2" ["name"]=> string(8) "Prodotti" ["link_rewrite"]=> string(8) "prodotti" ["id_shop"]=> string(1) "1" } } $category = new Category((int)Configuration::get('PS_HOME_CATEGORY'), $this->context->language->id);$sub_categories = $category->getSubCategories($this->context->language->id);// else code