1

I installed a fresh install or laravel "^8.75" and backpack "^5.3" and when I run "php artisan backpack:crud User" I get this error:

BadMethodCallException 
Method Illuminate\Support\Stringable::lcfirst does not exist.

Does anyone know what the issue might be ? I cannot find a solution online.

Eligijus
  • 634
  • 1
  • 6
  • 15

1 Answers1

2

I've just submitted the PR to fix this, we are using lcfirst as part of Laravel Str::class and that's not available in L9, so the error raises.

It should be fixed, merged and tagged during today.

You can follow the PR here: https://github.com/Laravel-Backpack/Generators/pull/149

Cheers

Pedro X
  • 849
  • 5
  • 13