“Call to undefined function str_slug()” in Laravel 6.0


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()



If you have gone through the upgrade guide then you must know that
String and Array
Helpers are removed from Core Framework
So if if You need to still use the helper install the package
composer require laravel/helpers
and all the helpers are moved to this package

Post a Comment

0 Comments