title: Laravel 5.4 foreach loop does not repeat more than once
body: <p>I am building a landing page, I have two foreach loops, the first loop repeats only once even though it should be repeated 6 times, if I remove the second loop it works correctly, the second loop should only be repeated once, and probed with <code>find(1 );</code> Without using a second loop, but exactly the same thing happens, any ideas?</p>
  
  <p>My code:</p>
  
  <pre><code>@foreach($gaInfo as $gi)
      {{$gi-&gt;title}}
  &lt;!--Home end--&gt;
  &lt;section id="nosotros"&gt;
      &lt;div class="padding-one"&gt;
          &lt;div class="containr"&gt;
              &lt;div class="row"&gt;
                  &lt;div class="col-sm-12 wow fadeInLeft"&gt;
                      @if($gi-&gt;section == 'abouts' &amp;&amp; $gi-&gt;lang == $lang)
                      &lt;h2&gt;{{ $gi-&gt;title }}&lt;/h2&gt;
                      @endif
                      &lt;hr&gt;
                      &lt;div class="row"&gt;
                          &lt;div class="col-sm-8 wow col-xs-12"&gt;
                              &lt;div class="text-center p-margin"&gt;
                                  @foreach($abouts as $about)
                                      {{$about-&gt;description}}
                                  @endforeach
                              &lt;/div&gt;
                          &lt;/div&gt;
  @endforeach
  </code></pre>
  
  <p>the $gaInfo contain 6 entries and $abouts contain only one entries, sorry for my bad english.</p>
  
  <p>The controller:</p>
  
  <pre><code>$sliders = new slider();
          $abouts = new about();
          $contact = new contact();
          $projects = new project();
          $customers = new customer();
          $services = new service();
          $gacimsInfo = new gacimsInfo();
          $goals = new Goal();
          $views = new View();
          $missions = new Mission();
          $teams = new team();
          $request-&gt;lang = 'es';
  
          $data = [
              'sliders' =&gt; $sliders-&gt;get(),
              'abouts' =&gt; $abouts-&gt;get(),
              'contact' =&gt; $contact-&gt;get(),
              'projects' =&gt; $projects-&gt;get(),
              'customers' =&gt; $customers-&gt;get(),
              'services' =&gt; $services-&gt;get(),
              'gacimsInfo' =&gt; $gacimsInfo-&gt;get(),
              'lang' =&gt; $request-&gt;lang,
              'goals' =&gt; $goals-&gt;get(),
              'views' =&gt; $views-&gt;get(),
              'missions' =&gt; $missions-&gt;get(),
              'teams' =&gt; $teams-&gt;get(),
              ];
  
          return view('home', $data);
  </code></pre>