I have upgraded Laravel from 5.6 to 6.0. Previously, default helper functions were running fine on the controllers, but now it says \"undefined.\" In my con
In my case, I didn't use any of the string helpers in my app code, so I just had to remove the compiled class file:
php artisan clear-compiled