Error message

Warning: Invalid argument supplied for foreach() in cys_views_query_alter() (line 58 of /var/www/drupal/sites/all/modules/custom/cys/cys.views.inc).