Hello, I installed facebook extension and now I get an error on the main page
Notice: Undefined variable: product_info in /home/xxxx/public_html/catalog/model/extension/module/facebook_business.php on line 544Notice: Undefined variable: product_info in
home/xxxx/public_html/catalog/model/extension/module/facebook_business.php on line 547Notice: Undefined variable: product_info in
line 544:
if ((float)$product_info['special']) {
line 547"
$value += $this->currency->format($this->tax->calculate($product_info['price'], $product_info['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], '', false);
}
$value += $this->currency->format($this->tax->calculate($product_info['price'], $product_info['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], '', false);
Can anyone help me?
Which one?
Seems to be a lazy coded extension.anetabialon wrote: ↑Wed Apr 28, 2021 9:14 pm.. and now I get an error on the main page
Notice: Undefined variable: product_info in /home/xxxx/public_html/catalog/model/extension/module/facebook_business.php on line 544Notice: Undefined variable: product_info in
home/xxxx/public_html/catalog/model/extension/module/facebook_business.php on line 547Notice: Undefined variable: product_info in
line 544:
if ((float)$product_info['special']) {
line 547"
$value += $this->currency->format($this->tax->calculate($product_info['price'], $product_info['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], '', false);
}
$value += $this->currency->format($this->tax->calculate($product_info['price'], $product_info['tax_class_id'], $this->config->get('config_tax')), $this->session->data['currency'], '', false);
$product_info could be also $result, but you have to check this controller by yourself if I am right (because I do not know the rest of the code).
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Try to update to a new version or contact support
https://www.opencart.com/index.php?rout ... n_id=32336
https://www.opencart.com/index.php?rout ... n_id=32336
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Who is online
Users browsing this forum: No registered users and 70 guests