I've upgraded my laravel 5.8 project to 6.0. It has upgraded successfully but when I'm trying to run the project or installing another package to my project it is giving me error named as "Call to undefined function str_slug()" in session.php. I don't know why....
Call to undefined function str_slug()
str_slug()
is not available in6.0
. They have changed it toStr::slug
. Looks like some of your Laravel code is still from5.8
– Cerlincomposer update
from your terminal – Soft Technoes