A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: frontend/viewallproducts.php

Line Number: 131