-
Notifications
You must be signed in to change notification settings - Fork 541
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
php artisan db:seed #54
Comments
Same problem |
Same problem, any solution? |
After doing a bit of research, I found out the error is related to fzaninotto/faker library, which as you may already know it has been archived some time ago. I tried searching all the join() uses and swapping the parameters but I still get the same error on PHP 7.4. Some people report that doing what I explained above on PHP 7.3 solves the issue. Otherwise you may need to get fake data to seed the Users table from somewhere else and avoid using the Users seed included. Edit: I forgot I was running this project on Docker, so i'll give it a try on PHP 7.3 and let you know if I could solve it. |
Can't seem to get it working, if you don't mind i'd like to be assigned to this issue. I think I might be able to get it to work. |
Well, since the problem lies in the faker library and not with the current codebase, I think this issue can't be fixed with a PR. To properly seed the database I inspected Laravel's logs, until I found the following line:
So I went to SlugService.php line 133 and fixed that specific use of the join() function, after that I was able to run |
You mean this line??? |
just update your package.
|
[ErrorException]
join(): Passing glue string after array is deprecated. Swap the parameters
The text was updated successfully, but these errors were encountered: