Error message

Warning: Invalid argument supplied for foreach() in sccapital_api_get_xml_by_id() (line 95 of /var/sites/captical-hk-prod/www/sites/all/modules/custom/sccapital_api/sccapital_api.module).