I have a problem. I am download project from hosting. now when I run the project this error shows. pic attached. I think this is cache problem, I clear cache, view, but still same issue.
CodePudding user response:
let's say you have installed composer,
now run this command and see:
composer dump-autoload
CodePudding user response:
Just delete the vendor directory and composer.cache file from project root and hit the following commands.
composer install
php artisan optimize:clear
php artisan serve
Through these, you can also check if there is any composer-related issue.