zubroide / gitpab

Calculate time spent on Gitlab tasks for every contributor
112 stars 32 forks source link

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

Closed KeldNielsen86 closed 1 year ago

KeldNielsen86 commented 2 years ago

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 = '*')
mnvx commented 2 years ago

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

KeldNielsen86 commented 2 years ago

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 commented 2 years ago

which php version is recommended?

KeldNielsen86 commented 2 years ago

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

mnvx commented 2 years ago

PHP 7.4 must be ok

KeldNielsen86 commented 2 years ago

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

mnvx commented 1 year ago

Fixed