title: Invalid argument supplied for foreach() in Wordpress. No clue
body: <p>i'm stuck with a "Warning: Invalid argument supplied for foreach() in header.php on line 215" in a site i'm building and don't have the slightest clue. It must have something to do with the fact that i suck at coding. </p>
  
  <p>It reads as follows. Line 215 is the 2nd one.</p>
  
  <pre><code>&lt;div class="section-background-pagination caroufredsel-pagination"&gt;
                      &lt;?php foreach ( $hero_slides as $i =&gt; $slide_id ) : ?&gt;
                          &lt;a href="#"&gt;&lt;/a&gt;
                      &lt;?php endforeach; ?&gt;
  </code></pre>
  
  <p>Thanks to all the wise guys around here </p>