Validation error in Laravel - $errors array does not get populated after the validation failure
<p>I've ran into a strange issue regarding validations in Laravel 5.2. I reviewed following questions on StackOverflow, but none of them seems to apply to my case: </p>

<p><a href="https://stackoverflow.com/questions/14087608/laravel-validation-not-showing-errors">Laravel validation not showing errors</a></p>

<p><a href="https://stackoverflow.com/questions/27970495/laravel-validation-not-returning-error">Laravel Validation not returning error</a></p>

<p>The thing is, that I am trying to validate a <code>title</code> field, before persisting the <code>Card</code> object into the database. When I submit the form with an empty <code>title</code> field, as expected, It doesn't pass the validations. However, the <code>$errors</code> array doesn't get populated upon failure of the mentioned validations. Can anybody explain where am I going wrong with this code?</p>

<pre class="lang-php prettyprint-override"><code>/////////////////////// CONTROLLER /////////////////////
public function create(Request $request)
{
    $this-&gt;validate($request, [
        'title' =&gt; 'required|min:10'
    ]);

    Card::create($request-&gt;all());
    return back();
}
</code></pre>

<pre class="lang-php prettyprint-override"><code>///////////////////////// VIEW /////////////////////////
// Show errors, if any. (never gets triggered)
@if(count($errors))
    &lt;ul&gt;
        @foreach($errors-&gt;all() as $error)
            &lt;li&gt;{{ $error }}&lt;/li&gt;
        @endforeach
    &lt;/ul&gt;
@endif
</code></pre>

<pre class="lang-html prettyprint-override"><code>&lt;form method="POST" action="/cards"&gt;
    {{ csrf_field() }}

    &lt;div class="form-group"&gt;
        // The textarea does not get populated with the 'old' value as well
        &lt;textarea class="form-control" name="title"&gt;{{ old('title') }}&lt;/textarea&gt;
    &lt;/div&gt;

    &lt;div class="form-group"&gt;
        &lt;button class="btn btn-primary" type="submit"&gt;Add Card&lt;/button&gt;
    &lt;/div&gt;
&lt;/form&gt;
</code></pre>