« MODx Parse Error »

MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
 
PHP error debug
  Error: Invalid argument supplied for foreach() 
  Error type/ Nr.: Warning - 2 
  File: /usr/local/www/bluelagoon/bluelagoon/htdocs/version_2/current/assets/snippets/BoatListing/classes/Brokerage.php 
  Line: 372 
  Line 372 source: foreach($boat['images'] as $image) {  
 
Parser timing
  MySQL: 0.0006 s(1 Requests)
  PHP: 0.0072 s 
  Total: 0.0077 s