Invalid argument supplied for foreach()
on Line 865
I'm Getting this error permanently:
foreach ($prod as $key => $value) {
$product[$key] = $prod[$key];
}
if ($prod["visibility"] == 'true') {
if($this->storage->section["template"]=='')
$this->storage->content = template('product', $product);
else
$this->storage->content = template('product', $product);
// $this->storage->content = template('custom/'.$this->storage->section["template"], $product);
}
return;
}