ErrorException Array to string conversion #1931
Unanswered
MarlonRaphael
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello friends,
First of all, congratulations on the great package, I love using it in my projects!
Guys, I am facing a problem when saving a simple profile image in a media collection by directly uploading File to addMedia.
I'm using Uuid in the media model, so I had to make the necessary changes in the migration and create a custom model as mentioned in the package documentation.
I'm using:
PHP 7.4.4 (cli)
Laravel 7.16.1
MySQL 5.7.29
Homestead
and laravel-medialibrary/v8
In the method call:
Model User:
Model Media:
Config file: media-library.php
File: 2020_06_16_115726_create_media_table.php
Could they help me with the solution, I did some searches by Google with some resolution of this problem, however, without success. I also tried to make a series of modifications that could help me in solving it, even so, without success = /
Thanks in advance! =)
Beta Was this translation helpful? Give feedback.
All reactions