#421

It means of to the data you wanted to store is an array but you specified a string in your migration. Die dump each of the data and see which one is actually an array

For example

check if dd($this->attachment) is actually an array