phplaravellaravel-5laravel-exceptions

UnexpectedValueException laravel :protocol error


I am doing a project in Laravel 5.6 homestead. I got this error after i ran php artisan cache:config, the command ran successfully but after I ran this command and refreshed the url in my browser, I get the following error Now no routes are opening even the main url ecommerce.test showing this error. Im a Laravel beginer.

Any idea how to solve this???

There is no existing directory at "C:\Laravel_Homestead_Projects\ecommerce\storage\logs" and its not buildable: Protocol error


Solution

  • 1) go to storage\framework\cache and delete anything there is there.

    2)

    homestead ssh
    

    3) in your project folder: composer dumpautoload