gitpab icon indicating copy to clipboard operation
gitpab copied to clipboard

"php artisan db:seed" and "php artisan db:seed" fails

Open KeldNielsen86 opened this issue 3 years ago • 5 comments

Hi

I got the following error when installing your project and running one of the following commands
"php artisan db:seed" and "php artisan db:seed"

In RepositoryAbstractEloquent.php line 70:

  Declaration of App\Model\Repository\RepositoryAbstractEloquent::count(): int should be compatible with Prettus\Repository\Eloquent\BaseRepository::count(array $where = Array, $columns = '*')

KeldNielsen86 avatar Sep 19 '22 14:09 KeldNielsen86

Hi. Maybe this linked with your php version. I will update update this project several weeks later.

mnvx avatar Sep 20 '22 06:09 mnvx

I am using php 7.4 - I had a problem running composer install on the project, something like "the package.json file is not complete, please run composer update" and I did, perhaps I got a package which is too new for this project? else I followed the guide.

KeldNielsen86 avatar Sep 20 '22 07:09 KeldNielsen86

which php version is recommended?

KeldNielsen86 avatar Sep 20 '22 07:09 KeldNielsen86

and are there any other way (workaround) I can do in order to get this project to work on my server (linux).? perhaps create the user by myself and fill the database with the seeders manually

KeldNielsen86 avatar Sep 20 '22 07:09 KeldNielsen86

PHP 7.4 must be ok

mnvx avatar Sep 20 '22 09:09 mnvx

any news in this issue?. Ii would really like to use this time tool

KeldNielsen86 avatar Oct 23 '22 21:10 KeldNielsen86

Fixed

mnvx avatar Nov 15 '22 19:11 mnvx