• 1404/03/23

خطا هنگام ذخیره در دیتابیس :

در قسمت 235 وقتی میخام دردیتابیس ذخیره کنم این خطا رو دارم 
Add [_token] to fillable property to allow mass assignment on [App\Models\Admin\Content\PostCategory].

  • 1404/04/15
  • ساعت 20:19

سلام وقت بخیر

 

در مدل 
protected guarded = ['id']
 بزنید

 


logo-enamadlogo-samandehi