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

Array to string conversion #6

Open
doitrem opened this issue Oct 9, 2018 · 5 comments
Open

Array to string conversion #6

doitrem opened this issue Oct 9, 2018 · 5 comments
Labels
question Further information is requested

Comments

@doitrem
Copy link

doitrem commented Oct 9, 2018

When trying to save "array to string conversion... "

@Dontorpedo
Copy link

same here

@m2de
Copy link
Contributor

m2de commented Nov 12, 2018

Hi @doitrem @Dontorpedo , please could you provide details of your code to assist with establishing the issue?

@m2de m2de added the question Further information is requested label Nov 12, 2018
@terasupernova
Copy link

Hi, @doitrem @Dontorpedo. I think you need to add
protected $casts = [
'permissions' => 'array',
];
in User model class.

@markwalet
Copy link
Contributor

This really should be present in the readme.

@ephraimlambarte
Copy link

using @terasupernova's solution does not work for me

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

No branches or pull requests

6 participants