title: Laravel $errors in blade mistery
body: <p>Can someone explain me why sometimes I have to use <code>$errors-&gt;all()</code> and sometimes not?
  Struggling to find a unique solution for array of error and object $errors.</p>
  
  <pre><code>// View 1
  @if (count($errors) &gt; 0)
      @foreach($errors as $error)
          {{ $error }}&lt;br&gt;
      @endforeach
  @endif
  
  // View 2 that sometimes it crashes with:
  // "Call to a member function all() on array"
  @if (count($errors) &gt; 0)
      @foreach($errors-&gt;all() as $error)
          {{ $error }}&lt;br&gt;
      @endforeach
  @endif
  </code></pre>