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

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners