Подскажите пожалуйста как исправить?
После установки и переходе на категории выдает
Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /home/hostname/сайт.ру/storage/modification/catalog/controller/product/category.php on line 180
сам код
data['categories'][] = array(
'name' => $result['name'] . ($this->config->get('config_product_count') ? ' (' . $this->model_catalog_product->getTotalProducts($filter_data) . ')' : ''),
'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . '_' . $result['category_id'] . $url),
'thumb' => $image
);
'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . '_' . $result['category_id'] . $url)
);
}
а при переходе на созданную страницу
Fatal error: Can't use method return value in write context in /home/hostname/сайт.ру/storage/modification/catalog/controller/information/information.php on line 454
сам код
if (!empty($this->config->get('information_exclusion')) && in_array($information_id, $this->config->get('information_exclusion'))) {
$data['information_exclusion'] = true;
} else {
$data['information_exclusion'] = false;
}
В админке все работает