When I open cart admin panel, I get an error:
Fatal error: Call to a member function calculate() on a non-object in /home/u371067346/public_html/catalog/controller/module/featured.php on line 38
Code in featured.php
where error existed:
if (($this->config->get('config_customer_price') && $this->customer->isLogged()) || !$this->config->get('config_customer_price')) {
$price = $this->currency->format($this->tax->calculate($product_info['price'], $product_info['tax_class_id'], $this->config->get('config_tax')));
} else {
$price = false;
}
On my local copy open cart working fine.
$this->tax
being created