With the upgrade to Laravel 6 the helper functions have been deprecated and replaced with using the Arr and Str facades directly https://laravel.com/docs/master/helpers. You will no longer be able to use the function str_slug and it will need to be replaced with Str::slug. If you haven't done so already you will need to add the Arr and Str classes to your alias file or you won't be able to use these within your blade templates.

To fix this open your app config file config/app.php at the bottom of the file you will see a section for aliases you will need to add both Arr and Str to the list. 'Arr' => Illuminate\Support\Arr::class, 'Str' => Illuminate\Support\Str::class,
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners