Invalid argument supplied for foreach() in
<p>the error log file that appears with this error:</p>

<p>Error on Oct 17, 2016 1:44AM - Invalid argument supplied for foreach() in /home/xxxxx/public_html/root/controllers/post/admin.php on line 391</p>

<pre><code>private function curlMultiRequest($urls, $options = array()) {
        $ch = array();
        $results = array();
        $mh = curl_multi_init();
        foreach($urls as $key =&gt; $val) {        &lt; -------------391 row
            $ch[$key] = curl_init();
            if ($options) {
                curl_setopt_array($ch[$key], $options);
            }
            curl_setopt($ch[$key], CURLOPT_URL, $val);
            curl_setopt($ch[$key], CURLOPT_HEADER, 0);
            curl_setopt($ch[$key], CURLOPT_RETURNTRANSFER, TRUE);
            curl_multi_add_handle($mh, $ch[$key]);
        }
</code></pre>