Create new Announce Exception
I am getting an error when trying to add an Announce. The error is "Array to string conversion". This error does not occur when I edit an existing Announce.
I have attached a file with more information. If you need any further information, please let me know.
11 Replies
Resource
moudel
migrations
error
Cast banner to an array.
Can you show me an example? I don't quite understand.
What should I do with my draft (is Boolean)? Should I add it to fillable?
How do I understand $casts? Is it a forced data type conversion?
check the laravel docs please