Добрый день! Установил по инструкции для отображения на странице http://вашдомен/index.php?route=information/fishlending, но выдает ошибку Fatal error: Call to a member function getCategories() on null in /system/storage/modification/catalog/controller/common/search.php on line 27
в этой строке
$data['categories'] = array();
$categories_1 = $this->model_catalog_category->getCategories(0);
foreach ($categories_1 as $category_1) {
$level_2_data = array();
$categories_2 = $this->model_catalog_category->getCategories($category_1['category_id']);
foreach ($categories_2 as $category_2) {
$level_2_data[] = array(
'category_id' => $category_2['category_id'],
'name' => $category_2['name'],
);
}
$data['categories'][] = array(
'category_id' => $category_1['category_id'],
'name' => $category_1['name'],
'children' => $level_2_data
);
}