Marketpress Invalid argument /template-functions.php on line 1736

I am running a buddypress setup with the grid market theme, and I get this error whereever the shopping cart is included

Warning: Invalid argument supplied for foreach() in /...../wp-content/plugins/marketpress/marketpress-includes/template-functions.php on line 1736

for any shops that don't have any products listed. Is it fine for shops that do have products.