Skip to content
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

Error when running commands due to package using deprecated Laravel helpers #145

Open
ericc06 opened this issue Jan 12, 2021 · 1 comment

Comments

@ericc06
Copy link

ericc06 commented Jan 12, 2021

Bug description
When running this command:
php artisan multiauth:make myguard
getting this error:
Symfony\Component\Debug\Exception\FatalThrowableError : Call to undefined function Bitfumes\Multiauth\Console\Commands\str_plural()

Laravel Version
Laravel 6.20.9 (last LTS)

To Reproduce
Steps to reproduce the behavior:

  1. Install Laravel 6 (LTS):
    composer create-project --prefer-dist laravel/laravel myproject "6.*"
  2. Install multiauth:
    composer require bitfumes/laravel-multiauth
    --> Version 5.5.x-dev is installed.
  3. Launch
    php artisan multiauth:make myguard
  4. See error

Expected behavior
The multiauth package should work with Laravel 6.
I think multiauth package should be installed in "dev-master" version on Laravel 6 or, if not possible and version 5.5.x-dev is required, it should not use Laravel helpers removed from Laravel 6 (str_plural() not present in Laravel 6).

Desktop

  • OS: Windows 10
  • Browser : Chrome
  • Dev env: Laragon

Additional context
The multiauth package official documentation (https://bitfumes.github.io/laravel-multiauth/) is related to the dev-master branch and can't be used with Laravel 6.

@sarthaksavvy
Copy link
Member

hey, which version of multiauth you are using ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants