Model.php第225行中的Laravel 5.4MassAssignmentException:_token

I was making a system wherein only administrator can adding users. I have a problem, becouse after filling the form I receives error who looks like : MassAssignmentException in Model.php line 225: _token

My Form:

               {!! Form::open(['url'=>'adminpanel/adduser/store','class'=>'form-horizontal']) !!}
                <div class="form-group">
                    <div class="col-md-4 control-label">
                        {!! Form::label('nameandsurname','imie i nazwisko:') !!}
                    </div>
                    <div class="col-md-6">
                        {!! Form::text('nameandsurname', null, ['class' => 'form-control']) !!}
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-md-4 control-label">
                        {!! Form::label('PESEL','PESEL:') !!}
                    </div>
                    <div class="col-md-6">
                        {!! Form::text('PESEL',null,['class'=>'form-control']) !!}
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-md-4 control-label">
                        {!! Form::label('adress','adres:') !!}
                    </div>
                    <div class="col-md-6">
                        {!! Form::text('adress',null,['class'=>'form-control']) !!}
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-4 control-label">
                        {!! Form::label('position','stanowisko:') !!}
                    </div>
                    <div class="col-md-6">
                        {!! Form::text('position',null,['class'=>'form-control']) !!}
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-4 control-label">
                        {!! Form::label('email','email:') !!}
                    </div>
                    <div class="col-md-6">
                        {!! Form::text('email',null,['class'=>'form-control']) !!}
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-4 control-label">
                        {!! Form::label('leavesdays','liczbadniwolnych:') !!}
                    </div>
                    <div class="col-md-6">
                        {!! Form::text('leavesdays',null,['class'=>'form-control']) !!}
                    </div>
                </div>


                {!! Form::hidden('password', null) !!}
                {!! Form::hidden('remember_token',null) !!}

This is User Model :

            use Notifiable;

/**
 * The attributes that are mass assignable.
 *
 * @var array
 */


protected $fillable = [
    'nameandsurname', 'email','PESEL','adress','position','leavesdays',

];
protected $table = 'users';
/**
 * The attributes that should be hidden for arrays.
 *
 * @var array
 */
protected $hidden = [
    'password', 'remember_token',
];

Request in controller :

           public function store(AddUserRequest $request)
           {
          //        User::create($request->except('_token'));
    $newUser = User::create($request->all());
    $newUser->save();

    return redirect('/adminpanel/admindashboard');
}

Migration:

      public function up()
{
    Schema::create('users', function (Blueprint $table) {
        $table->increments('id');
        $table->string('nameandsurname',40);
        $table->string('PESEL',9);
        $table->string('adress',30);
        $table->enum('position',array('employer','worker','accountant'));
        $table->string('email',100)->unique();
        $table->string('password');
        $table->integer('leavesdays');
        $table->rememberToken();
        $table->timestamps();
    });
}

I was looking for this problem on the internet, but any suggestion helped me.

In order to use Laravel's mass assignment feature you have to provide an array on the create() method like

User::create(['nameandsurname'=>'some_value', 'email'=>'sampleEmail@mil.com']...etc);

Have in mind that if you provide fields that are not defined in the $fillable you will also get an exception. Take a look on doc https://laravel.com/docs/5.4/eloquent#mass-assignment for more information

$fillable tells Elequent the expected parameters for the model constructor.So, best practice is to create your User as

$request_data = $request->only(['nameandsurname', 'email','PESEL','adress','position','leavesdays']);

$user = User::create($request_data);

Maybe instead of User::create($request->all()); you can do something like this :

User::create($request->only((new User())->getFillable()));

With getFillable you will get all your fields that are in the protected $fillable variable and the $request->only($fields) will only provide those fields