Error message

Warning: Invalid argument supplied for foreach() in saymedia_custom_block_week_news() (line 398 of /var/nfs/oak-ss-nfs002/data/oak-ss-web/www.saymedia.com/sites/all/modules/custom/saymedia_custom/saymedia_custom.module).