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:
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.