Hi,
Apparently we have updated the product details php file, and most likely this error has fixed. Because in the version i currently have, I looked at the 544 line, and didn't see anything that might create this error message.
But, basically this PHP scheme below should be used to avoid this PHP error (the variable is checked if it is array or not before being used in the foreach loop):
if (is_array($variable)) {
foreach ($variable as $item) {
//do something
}
}
If you are little familiar with PHP, you can easily apply this scheme to the line that creates
Warning: Invalid argument supplied for foreach() problem.
Alternatively;
You can open this PHP file:
/templates/yoo_master/html/com_virtuemart/productdetails/default.php
and include this
To the top, right after
Which will hide the error message.
Regards,
Support