Uncaught ReflectionException: Class log does not exist Laravel 5.2

前端 未结 25 2137
长情又很酷
长情又很酷 2020-11-27 17:15

I am currently trying to clone an existing project of mine from github. After clone I run composer install during the process I receive the following error:

25条回答
  •  情歌与酒
    2020-11-27 17:28

    In my case, I had used the route() method in a config file. Obviously, this method does not work because these files don't use the Illuminate Helper, they are simple .php with data.

    The configuration files are read before instantiating the Log class, which causes the error that Jakehallas explains very well.

提交回复
热议问题