php_upload | File Upload library
kandi X-RAY | php_upload Summary
kandi X-RAY | php_upload Summary
php_upload
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of php_upload
php_upload Key Features
php_upload Examples and Code Snippets
Community Discussions
Trending Discussions on php_upload
QUESTION
I have an Array to string conversion error, when trying to realize multiple upload files function in Laravel 5.8.38 Cant find any decision about it
In blade form I have simple thing:
...ANSWER
Answered 2020-Oct-22 at 19:40The problem was in first line
$estate = Estate::create($request->all());
So, from blade I receive a name="estate_image[]
data which is an array, and Laravel tried to adds an array in database cell. In database cell cold be added just string value and through that, I had that error.
Solve it, by deleting this column from database and deleting this from $fillable
variable in main model.
Quite stupid and easy thing from me, but hope, this answer helps someone. :-)
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install php_upload
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page