You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Declaration of Litepie\Repository\Eloquent\BaseRepository::count() should be compatible with Prettus\Repository\Eloquent\BaseRepository::count(array $where = Array, $columns = Array)
#351
Open
ZeroSum000 opened this issue
May 2, 2021
· 1 comment
After sudo php artisan lavalite:install and php artisan key:generate
I am receiving the error:
Declaration of Litepie\Repository\Eloquent\BaseRepository::count() should be compatible with Prettus\Repository\Eloquent\BaseRepository::count(array $where = Array, $columns = '*')
I have tried the previous recommendation of " i solved it by changing the below mentioned code within the Prettus/Eloquent/BaseRepository.php file making the BaseRepository::count method compatible with the one of Prettus, by changing its signature like this: Line 348 - public function count(array $where = [], $columns = ['id']) .
But the error is now displaying "Declaration of Litepie\Repository\Eloquent\BaseRepository::count() should be compatible with Prettus\Repository\Eloquent\BaseRepository::count(array $where = Array, $columns = Array)" and I am at a loss of what to do now.
This is a fresh base core installation with no modifications at all.
The text was updated successfully, but these errors were encountered:
After sudo php artisan lavalite:install and php artisan key:generate
I am receiving the error:
Declaration of Litepie\Repository\Eloquent\BaseRepository::count() should be compatible with Prettus\Repository\Eloquent\BaseRepository::count(array $where = Array, $columns = '*')
I have tried the previous recommendation of " i solved it by changing the below mentioned code within the Prettus/Eloquent/BaseRepository.php file making the BaseRepository::count method compatible with the one of Prettus, by changing its signature like this: Line 348 - public function count(array $where = [], $columns = ['id']) .
But the error is now displaying "Declaration of Litepie\Repository\Eloquent\BaseRepository::count() should be compatible with Prettus\Repository\Eloquent\BaseRepository::count(array $where = Array, $columns = Array)" and I am at a loss of what to do now.
This is a fresh base core installation with no modifications at all.
The text was updated successfully, but these errors were encountered: