Laravel 5.7 PHP Fatal error: Uncaught ReflectionException

  • | 98 points

    I am getting a weird Laravel 5.7 problem. When I do composer install, everything works. As I clear cache I get this:

    PHP Fatal error: Uncaught ReflectionException: Class config does not exist in /Users/hasnainashfaq/code/newastute/vendor/laravel/framework/src/Illuminate/Container/Container.php:779

    I have checked Google a lot. All solutions do lead me to success. I have no clue what to do.

  • administrators
    | 131258 points

    @hasnain : Did you migrate from a Mac?

Log in to reply

Looks like your connection to Laragon was lost, please wait while we try to reconnect.