bezhanSalleh / filament-language-switch

A versatile and user-friendly plugin designed for Filament Panels.
MIT License
226 stars 44 forks source link

Call to undefined function str() #20

Closed monzercodeland closed 1 year ago

monzercodeland commented 1 year ago

Call to undefined function str() in view language-switch.blade.php and maybe other files

skeemer commented 1 year ago

The str() helper was added in Laravel 9. So it should either be changed out for Str::of() or minimum version 9. Reference: https://laravel.com/docs/9.x/releases#new-helpers-str