title: How to fix _token error on 'Illuminate \ Database \ Eloquent \ MassAssignmentException'
body: <p>I have facing this error when try to add new categories to store the data, but it seen show me _token error?</p>
  
  <p>CategoriesController.php</p>
  
  <pre><code>public function store(Request $request)
  {
      Category::create($request-&gt;all());
      return back();
  }
  </code></pre>
  
  <p>index.blade.php</p>
  
  <pre><code>&lt;a class="btn btn-primary pull-right navbar-right" data-toggle="modal" href="#category"&gt;Add Category&lt;/a&gt;
  &lt;div class="modal fade" id="category"&gt;
      &lt;div class="modal-dialog"&gt;
          &lt;div class="modal-content"&gt;
              &lt;div class="modal-header"&gt;
                  &lt;button type="button" class="close" data-dismiss="modal" aria-hidden="true"&gt;&amp;times;&lt;/button&gt;
                  &lt;h4 class="modal-title"&gt;Add New&lt;/h4&gt;
              &lt;/div&gt;
              {!! Form::open(['route' =&gt; 'category.store', 'method' =&gt; 'post']) !!}
              &lt;div class="modal-body"&gt;
                  &lt;div class="form-group"&gt;
                      {{ Form::label('name', 'Title') }}
                      {{ Form::text('name', null, array('class' =&gt; 'form-control')) }}
  
                  &lt;/div&gt;
  
  
              &lt;/div&gt;
              &lt;div class="modal-footer"&gt;
                  &lt;button type="button" class="btn btn-default" data-dismiss="modal"&gt;Close&lt;/button&gt;
                  &lt;button type="submit" class="btn btn-primary"&gt;Save changes&lt;/button&gt;
              &lt;/div&gt;
              {!! Form::close() !!}
          &lt;/div&gt;&lt;!-- /.modal-content --&gt;
      &lt;/div&gt;&lt;!-- /.modal-dialog --&gt;
  &lt;/div&gt;&lt;!-- /.modal --&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/WKO0G.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WKO0G.png" alt="enter image description here"></a></p>