Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown column '_token' in 'field list' , Mass assignment issue #76

Closed
HijenHEK opened this issue Sep 11, 2022 · 1 comment
Closed

Unknown column '_token' in 'field list' , Mass assignment issue #76

HijenHEK opened this issue Sep 11, 2022 · 1 comment

Comments

@HijenHEK
Copy link

When submitting any form I receive the following error message or smth similar

SQLSTATE[42S22]: Column not found: 1054 Unknown column '_token' in 'field list'

apparently, mass assignment if on, even tho the $fillables are set .

is thre a reason for this behaviour ?

Laravel 9.11
PHP 8.0.2

@HijenHEK
Copy link
Author

models where unguarded globally , my mistake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant