0

I have model User I write fillable fields:

protected $fillable = ['name', 'photo','color', 'email','admin','jobtitle','phone','mobile','restaurant','address','address2','city','state','zip','country','url','twitter','facebook','capacity','email_for_invoices','vat', 'test', 'type','tos','vatrate','lat','lng','booking','validity', 'photobg','viaurl', 'subdomain','sample_menu','sample_menu_url'];

but when I make return $user

As a response I got:

enter image description here

So all fields are not fillable (etc. 'test')? Why? Is Laravel model limited to 30 fillable fields ? or something else makes me problem?

Aleks Per
  • 1,549
  • 7
  • 33
  • 68

0 Answers0