VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Croc on December 02, 2020, 10:15:57 AM

Title: Warning: implode() product.php on line 1355
Post by: Croc on December 02, 2020, 10:15:57 AM
[02-Dec-2020 10:04:20 Europe/Athens] PHP Warning:  implode(): Invalid arguments passed in /home/queenhouse/public_html/administrator/components/com_virtuemart/models/product.php on line 1355

Seems  public function loadProductPrices($productId,$virtuemart_shoppergroup_ids,$front)

expects the $virtuemart_shoppergroup_ids to be array, so consider to add on begging this line of code
if(!is_array($virtuemart_shoppergroup_ids)) $virtuemart_shoppergroup_ids=array($virtuemart_shoppergroup_ids);
Title: Re: Warning: implode() product.php on line 1355
Post by: GJC Web Design on December 02, 2020, 12:33:28 PM
version please