Everything is working fine, but on frontpage there is issue with news show pro gk5 module. I get this error message
Fatal error: Call to private method VirtueMartModelProduct::fillVoidProduct() from context 'plgVmCustomCatproduct' in /home/users/tvix/colombotrade.cz/web/plugins/vmcustom/catproduct/catproduct.php on line 759
if i switch off plugin or module site is OK,. if i turn off plugin, products in module are displayed.
Do you have any idea where is problem? I post here part of code with lines...
- Code: Select all
// get layout page
if (isset($parametri["layout_field"])) {
$layout = substr($parametri["layout_field"], 0, -4);
}
else {
$layout = "default";
}
if($layout == '') $layout = 'default';
// set everything back to normal - previous line is the error one
$virtuemart_product_id = $productModel->setId ($product->virtuemart_product_id);
$productModel->product = $product;
$group->display .= $this->renderByLayout($layout,array($products,&$idx,&$group,$global_params, $product) );
return true;
}