Warning: Invalid argument supplied for foreach() WHMCS integration

Trying to submit a support ticket within wordpress with WHMCS plugin. Get the following error: Warning: Invalid argument supplied for foreach() in /home/webscont/public_html/2014/wp-content/plugins/whmcs-wordpress-integration/whmcs-integration.php on line 582