ArgumentCountError Too few arguments to function Illuminate\Support\Str::replaceFirst()
i have composer 1.10.20
there is a new error that I don't understand, related to how I recall the livewire view in the laravel view.
i get this error:
ArgumentCountError
Too few arguments to function Illuminate\Support\Str::replaceFirst(), 2 passed in /Users/gianmarx/hoqu-laravel/vendor/livewire/livewire/src/helpers.php on line 12 and exactly 3 expected (View: /Users/gianmarx/hoqu-laravel/resources/views/dashboard.blade.php)
same issue happen to me when i just install livewire and run
php artisan make:livewire component
than throw error
Too few arguments to function Illuminate\Support\Str::finish(), 1 passed in C:\playground\movie-app\vendor\livewire\livewire\src\helpers.php on line 12 and exactly 2 expected
Too few arguments to function Illuminate\Support\Str::studly(), 0 passed in /Users/samirmaharjan/Desktop/Codeilo/vendor/livewire/livewire/src/helpers.php on line 13 and exactly 1 expected.
when i try to upload a file ti this file input it is showing me error
I tried all the above solutions but not working